/* ==========================================================================
   ZENIT STRUCTURA — DIGITAL ATELIER & PRACTICE CARD (OPENING EDITION)
   Quiet Luxury, Bespoke Atelier & Editorial Floating Grid Design System
   Directly derived from WEBOLDAL 2 (Marcellus, Noto Sans, Mineral Limestone)
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. SELF-HOSTED WEB FONTS (100% Privacy, 0ms External Latency, Offline Ready)
   -------------------------------------------------------------------------- */

/* Logo Brand Typeface: Titillium Web Light 300 & Regular 400 */
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/titillium-web-300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/titillium-web-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Editorial Roman Serif Headings: Marcellus (Regular 400) */
@font-face {
  font-family: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/marcellus.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/marcellus-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Clean Modern Body & Technical Specs: Noto Sans (Variable: 300..700) */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('assets/fonts/noto-sans.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('assets/fonts/noto-sans-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Noto Sans Italic */
@font-face {
  font-family: 'Noto Sans';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('assets/fonts/noto-sans-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Noto Sans';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('assets/fonts/noto-sans-italic-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & SYSTEM VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --bg-primary: #eeece4;
  --bg-surface: #e8e5db;
  --bg-card: #e3e0d6;
  --bg-floating: rgba(238, 236, 228, 0.94);
  
  --dark-emblem: #33302b;
  --dark-emblem-hover: #262420;
  
  --text-main: #22211f;
  --text-muted: #6b6760;
  --text-light: #949088;
  
  --border-hairline: rgba(34, 33, 31, 0.12);
  --border-subtle: rgba(34, 33, 31, 0.07);
  --border-focus: #22211f;
  
  --accent-bronze: #8f8576;
  --accent-olive: #626056;

  /* Typography */
  --font-serif: 'Marcellus', Georgia, serif;
  --font-sans: 'Noto Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Fluid Sizing Scale (Exact Match to WEBOLDAL 2) */
  --fs-hero: clamp(2.75rem, 5.5vw + 1rem, 5.2rem);
  --fs-h2: clamp(2rem, 3.2vw + 0.5rem, 3.25rem);
  --fs-h3: clamp(1.35rem, 1.8vw + 0.2rem, 1.85rem);
  --fs-body: clamp(1.05rem, 0.4vw + 0.95rem, 1.18rem);
  --fs-small: 0.85rem;
  --fs-meta: 0.72rem;

  /* Spacing */
  --site-max-width: 1600px;
  --gutter-desktop: 4rem;
  --gutter-tablet: 2.5rem;
  --gutter-mobile: 1.5rem;

  /* Easing curves */
  --ease-editorial: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-long: 1.2s;
  --duration-medium: 0.6s;
  --duration-fast: 0.3s;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  touch-action: pan-y pinch-zoom;
}

/* Lenis Smooth Scroll Engine */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  touch-action: pan-y pinch-zoom;
}

main {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  position: relative;
}

::selection {
  background-color: #dfd7cb;
  color: var(--text-main);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) ease, opacity var(--duration-fast) ease;
}

ul {
  list-style: none;
}

/* --------------------------------------------------------------------------
   3. FIXED MINIMALIST HEADER & NAVBAR
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 2.035rem 0;
  background-color: var(--bg-primary);
  border-bottom: 1px solid transparent;
  transition: padding var(--duration-medium) ease, 
              border-color var(--duration-medium) ease;
}

.site-header.is-scrolled {
  padding: 1.21rem 0;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-hairline);
}

.nav-container {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 var(--gutter-desktop);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 70px;
}

.brand-block {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex-shrink: 0;
  width: max-content;
  margin-top: -2.035rem;
  transition: margin-top var(--duration-medium) ease;
}

.site-header.is-scrolled .brand-block {
  margin-top: -1.21rem;
}

.brand-logo {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 0;
  min-width: 100%;
  height: 77px;
  background-color: var(--dark-emblem);
  margin-top: 0;
  padding: 0 14px 18px 14px;
  box-sizing: border-box;
  text-decoration: none;
}

.brand-logo-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.site-header.is-scrolled .brand-logo {
  margin-top: 0;
  height: 77px;
}

.brand-sub {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--text-muted);
  white-space: nowrap;
  line-height: 1.4;
  margin-top: 0.72rem;
}

/* Right Cluster: Navigation & Language Switcher */
.header-right-cluster {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2vw, 2.5rem);
  flex-shrink: 0;
  margin-top: 1.26rem;
  transition: margin-top var(--duration-medium) ease;
}

.site-header.is-scrolled .header-right-cluster {
  margin-top: 1.26rem;
}

.desktop-nav {
  margin-top: 0;
}

.site-header.is-scrolled .desktop-nav {
  margin-top: 0;
}

.header-actions-side {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

/* Language Switcher (HU / EN) - Exact match to Casa Carina */
.lang-switch {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--font-sans);
  font-size: clamp(0.72rem, 0.8vw, 0.78rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.8;
  padding-bottom: 2px;
  user-select: none;
}

.lang-btn {
  color: var(--text-light);
  opacity: 0.55;
  text-decoration: none;
  font-weight: 300;
  transition: color var(--duration-fast) ease, opacity var(--duration-fast) ease;
  touch-action: manipulation;
  display: inline-block;
  line-height: inherit;
}

.lang-btn:hover {
  opacity: 1;
  color: var(--text-main);
}

.lang-btn.is-active {
  color: var(--text-main);
  opacity: 1;
  font-weight: 600;
  cursor: default;
}

.lang-sep {
  opacity: 0.35;
  color: var(--text-light);
  font-weight: 300;
  font-size: 0.68rem;
  line-height: inherit;
}

/* Center Editorial Philosophy Tagline (matching Casa Carina navbar) */
.header-center-geo {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 300;
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-top: calc(1.26rem + 4px);
  line-height: 1.8;
  padding-bottom: 2px;
  transition: margin-top var(--duration-medium) ease;
}

.header-center-geo .geo-dot {
  color: var(--accent-bronze);
  opacity: 0.65;
  font-size: 0.85em;
  line-height: inherit;
}

.site-header.is-scrolled .header-center-geo {
  margin-top: calc(1.26rem + 4px);
}

.desktop-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  position: relative;
  padding-bottom: 2px;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--text-main);
  transition: width var(--duration-fast) ease;
}

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

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

.nav-num {
  font-size: 0.6rem;
  color: var(--text-light);
  letter-spacing: 0.08em;
}

.nav-link--inquire {
  color: var(--text-main);
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   3.1 MOBILE TOGGLE & FULL-SCREEN EDITORIAL MENU (FROM WEBOLDAL 2)
   -------------------------------------------------------------------------- */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 0;
  width: 34px;
  height: 28px;
  position: relative;
  z-index: 1002;
  -webkit-tap-highlight-color: transparent;
}

.toggle-bar {
  display: block;
  width: 26px;
  height: 1.5px;
  background-color: var(--text-main);
  position: absolute;
  right: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              top 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.3s ease;
}

.toggle-bar:nth-child(1) { top: 8px; width: 26px; }
.toggle-bar:nth-child(2) { top: 18px; width: 26px; }

.mobile-toggle[aria-expanded="true"] .toggle-bar:nth-child(1) {
  top: 13px;
  width: 26px;
  transform: rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] .toggle-bar:nth-child(2) {
  top: 13px;
  width: 26px;
  transform: rotate(-45deg);
}

/* Mobile Full-Screen Editorial Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-color: var(--bg-primary);
  z-index: 999;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
  overflow-x: hidden !important;
  touch-action: pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: calc(7.5rem + env(safe-area-inset-top, 0px)) var(--gutter-desktop) calc(2.75rem + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  max-width: var(--site-max-width);
  margin: 0 auto;
  width: 100%;
}

.mobile-nav {
  margin-top: 1rem;
  margin-bottom: 3rem;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 2.8vh, 1.85rem);
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-list li {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s var(--ease-editorial), 
              transform 0.45s var(--ease-editorial);
  transition-delay: calc(var(--i, 0) * 0.08s + 0.1s);
}

.mobile-menu.is-open .mobile-nav-list li {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-link {
  display: inline-flex;
  align-items: baseline;
  gap: 1.25rem;
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 4.2vw, 1.35rem);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-main);
  text-decoration: none;
  padding: 0.35rem 0;
  transition: opacity var(--duration-fast) ease;
  width: 100%;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  opacity: 0.65;
  color: var(--text-main);
  transform: none;
}

.m-nav-num {
  font-family: var(--font-sans);
  font-size: 0.80rem;
  font-weight: 400;
  color: var(--text-main);
  opacity: 0.45;
  letter-spacing: 0.14em;
  min-width: auto;
}

.m-nav-label {
  font-family: var(--font-sans);
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
}

/* Mobile Social Links (Above dividing hairline) */
.mobile-social-stack {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: auto;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease-editorial) 0.18s, 
              transform 0.5s var(--ease-editorial) 0.18s;
}

.mobile-menu.is-open .mobile-social-stack {
  opacity: 1;
  transform: translateY(0);
}

.mobile-social-link {
  font-family: var(--font-sans);
  font-size: 0.80rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  transition: color var(--duration-fast) ease, transform var(--duration-fast) ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.mobile-social-link:hover,
.mobile-social-link:active {
  color: var(--text-main);
  transform: translateX(3px);
}

/* Mobile Meta / Colophon */
.mobile-meta {
  padding-top: 2rem;
  border-top: 1px solid var(--border-hairline);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease-editorial) 0.25s, 
              transform 0.5s var(--ease-editorial) 0.25s;
}

.mobile-menu.is-open .mobile-meta {
  opacity: 1;
  transform: translateY(0);
}

.m-meta-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}

@media (min-width: 540px) {
  .m-meta-row {
    grid-template-columns: 1fr 1fr;
  }
}

.m-meta-col {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.m-meta-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-light);
  font-weight: 300;
}

.m-meta-val {
  font-size: 0.88rem;
  color: var(--text-main);
  font-weight: 300;
}

.m-meta-val--link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mobile-menu-copyright {
  margin-top: 0.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-hairline);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-copyright-line {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.mobile-claim-line {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}

/* --------------------------------------------------------------------------
   4. HERO SECTION (EDITORIAL DUAL-COLUMNS FROM WEBOLDAL 2)
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: clamp(8.5rem, 14vw, 13rem);
  padding-bottom: clamp(5.5rem, 7.5vw, 8rem);
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-container {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 var(--gutter-desktop);
  width: 100%;
}

.hero-dual-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  column-gap: clamp(2.5rem, 4vw, 5rem);
  align-items: start;
}

.hero-left-col {
  display: flex;
  flex-direction: column;
  padding-top: clamp(3rem, 5vw, 5.5rem);
}

.hero-right-col {
  display: flex;
  flex-direction: column;
}

.hero-header-block {
  margin-bottom: 0;
}

.editorial-badge {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.badge-index {
  color: var(--accent-bronze);
  white-space: nowrap;
  font-weight: 400;
  display: inline-block;
  margin-right: 0.4rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 74.88px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--text-main);
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}

.title-line {
  display: block;
}

.hero-brand-name {
  white-space: nowrap;
}

.hero-editorial-lead {
  max-width: 680px;
}

.lead-text {
  font-size: clamp(1.08rem, 0.5vw + 0.95rem, 1.25rem);
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1.85rem;
  padding-right: clamp(1.25rem, 2.5vw, 2.5rem);
}



.hero-meta-strip {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  line-height: 1.6;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2.75rem;
}

.hero-meta-locations {
  color: var(--text-muted);
}

/* Call to Action Block */
.hero-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 2.2rem;
  background-color: #e3e0d6;
  border: none;
  border-radius: 0;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: none;
  transition: background-color var(--duration-fast) ease,
              transform var(--duration-fast) ease;
  cursor: pointer;
}

.hero-cta-btn:hover {
  background-color: #edeae2;
  color: var(--text-main);
  transform: translateY(-2px);
  box-shadow: none;
}

.hero-cta-btn .cta-arrow {
  font-size: 1.15rem;
  line-height: 1;
  color: var(--text-main);
  display: inline-block;
  transition: transform var(--duration-fast) ease;
}

.hero-cta-btn:hover .cta-arrow {
  transform: translateX(4px);
}

.hero-cta-sub {
  font-size: var(--fs-meta);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-cta-sub .dot {
  color: var(--accent-bronze);
}

/* --------------------------------------------------------------------------
   5. HERO STANDING VISUAL (RIGHT COLUMN) & SILENT CROSSFADE ROTATOR
   -------------------------------------------------------------------------- */
.hero-standing-feature-wrap {
  margin-top: -1.5rem;
  width: 100%;
}

.editorial-figure {
  position: relative;
  display: block;
}

.hero-standing-figure {
  width: 100%;
}

.hero-standing-figure .image-inner {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: #ebe4d8;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.hero-crossfade-stage {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  cursor: pointer;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.hero-crossfade-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  z-index: 0;
  pointer-events: none !important;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity 1.0s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

.hero-crossfade-img.is-previous {
  opacity: 1;
  z-index: 1;
  pointer-events: none !important;
}

.hero-crossfade-img.is-active {
  opacity: 1;
  z-index: 2;
  pointer-events: none !important;
  transition: opacity 1.0s cubic-bezier(0.4, 0, 0.2, 1);
}

.fig-caption {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding-top: 0.85rem;
  font-size: var(--fs-meta);
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  border-top: none;
  margin-top: 0;
}

.fig-num {
  font-weight: 500;
  color: var(--text-main);
  letter-spacing: 0.2em;
  white-space: nowrap;
}

.fig-text {
  letter-spacing: 0.08em;
  text-transform: none;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   6. THE PRACTICE & FOUNDER'S GENESIS SECTION
   -------------------------------------------------------------------------- */
.section-block {
  padding-top: clamp(6.5rem, 9vw, 10rem);
  padding-bottom: clamp(6.5rem, 9vw, 10rem);
  border-top: 1px solid var(--border-hairline);
  position: relative;
  scroll-margin-top: 5.5rem;
}

.section-studio {
  background-color: var(--bg-primary);
}

/* 12-Column Editorial Grid System (matching WEBOLDAL 2) */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(2rem, 3.5vw, 3.5rem);
  row-gap: 2.5rem;
}

.grid-12 > * {
  min-width: 0;
  max-width: 100%;
}

.col-span-5 {
  grid-column: span 5;
}

.col-span-7 {
  grid-column: span 7;
}

/* Founder's Genesis Block */
.founder-genesis-block {
  position: relative;
  width: 100%;
}

.genesis-inner {
  align-items: start;
}

.genesis-label-col {
  padding-right: clamp(1rem, 2.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
}

.genesis-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--accent-bronze);
  font-weight: 400;
  display: block;
  margin-bottom: 1.5rem;
}

.genesis-title {
  font-family: var(--font-serif);
  font-size: 36px;
  line-height: 1.3;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.genesis-motto {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  font-style: italic;
  display: block;
  font-weight: 300;
}

.genesis-narrative-col {
  display: flex;
  flex-direction: column;
}

.genesis-lead-p {
  font-size: clamp(1.1rem, 0.45vw + 1rem, 1.25rem);
  color: var(--text-main);
  line-height: 1.85;
  margin-bottom: 1.85rem;
  font-weight: 300;
}

.editorial-h2 {
  font-family: var(--font-serif);
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text-main);
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}

.editorial-p {
  font-size: var(--fs-body);
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1.75rem;
  font-weight: 300;
}

/* Founder Signature & LinkedIn Connection Block */
.founder-signature-block {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.signature-titles {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.signature-role {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-light);
  font-weight: 300;
}

.signature-name {
  font-family: var(--font-serif);
  font-size: 18.88px;
  color: var(--text-main);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.founder-linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.75rem;
  background-color: #e3e0d6;
  border: none;
  border-radius: 0;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color var(--duration-fast) ease,
              transform var(--duration-fast) ease;
  white-space: nowrap;
}

.founder-linkedin-link:hover {
  background-color: #edeae2;
  color: var(--text-main);
  transform: translateY(-2px);
  box-shadow: none;
}

.founder-linkedin-link .arrow {
  font-size: 1.15rem;
  line-height: 1;
  color: var(--text-main);
  display: inline-block;
  transition: transform var(--duration-fast) ease;
}

.founder-linkedin-link:hover .arrow {
  transform: translate(3px, -3px);
}

/* --------------------------------------------------------------------------
   7. DIALOGUE / KAPCSOLATFELVÉTEL SECTION (ADOPTED FROM WEBOLDAL 2)
   -------------------------------------------------------------------------- */
.chapter-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 2.5rem;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid var(--border-hairline);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.chapter-index {
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  color: var(--accent-bronze);
  font-weight: 400;
}

.chapter-tag {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  color: var(--text-light);
}

.section-inquiry {
  /* Különálló, keskenyebb szekció padding kifejezetten a kapcsolat szekciónak */
  padding-top: clamp(2.5rem, 4vw, 4rem);
  padding-bottom: clamp(3rem, 4.5vw, 4.5rem);
  position: relative;
  scroll-margin-top: 5.5rem;
}

/* Kifejezetten a kapcsolati szekció szélessége: az eredeti WEBOLDAL 2 szerinti 1440px keskenyebb konténer */
.section-inquiry .content-container {
  max-width: 1440px;
}

.section-inquiry::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--gutter-desktop);
  right: var(--gutter-desktop);
  max-width: calc(1440px - (var(--gutter-desktop) * 2));
  margin: 0 auto;
  height: 0;
  border-top: 1px solid var(--border-hairline);
}

.inquiry-layout {
  align-items: start;
}

.inquiry-info {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
}

.inquiry-info .editorial-h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw + 0.5rem, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text-main);
  margin-bottom: 1.75rem;
  font-weight: 400;
}

.inquiry-info .editorial-p {
  font-size: var(--fs-body);
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.studio-directory {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-hairline);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.dir-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.dir-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--accent-bronze);
  font-weight: 400;
}

.dir-val {
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 400;
  overflow-wrap: break-word;
  word-break: break-word;
}

.dir-val--link:hover {
  color: var(--accent-olive);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Form Col */
.col-span-6 {
  grid-column: span 6;
}

.col-offset-1 {
  grid-column-start: 7;
}

.inquiry-form-col {
  grid-column: 7 / span 6;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.editorial-form-wrap {
  background-color: var(--bg-card);
  padding: 3.5rem 3rem;
  border: 1px solid var(--border-hairline);
  box-shadow: 0 12px 32px rgba(34, 33, 31, 0.04);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.form-title-strip {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-bottom: 1.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-light);
  width: 100%;
  box-sizing: border-box;
}

.strip-label {
  font-weight: 400;
}

.strip-num {
  color: var(--accent-bronze);
}

.editorial-form {
  display: flex;
  flex-direction: column;
  gap: 1.85rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1.5rem;
  row-gap: 1.85rem;
  width: 100%;
  box-sizing: border-box;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.form-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background-color: #fffcf3;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 300;
  color: var(--text-main);
  border-radius: 0;
  outline: none;
  transition: background-color var(--duration-fast) ease;
}

.form-input, .form-select {
  height: 52px;
  padding: 0 1.15rem;
}

.form-input::placeholder, .form-textarea::placeholder {
  color: #a8a39a;
  font-weight: 300;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  background-color: #ffffff;
}

.form-select {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%236b6760' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.15rem center;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  padding-right: 2.5rem;
  min-width: 0;
}

.form-select option {
  background-color: #fffcf3;
  color: var(--text-main);
}

.form-textarea {
  padding: 0.95rem 1.15rem;
  resize: vertical;
  min-height: 110px;
}

.form-submit-wrap {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.submit-btn {
  background: var(--text-main);
  color: #fff;
  border: none;
  padding: 1.25rem 2rem;
  font-size: 0.92rem;
  font-weight: 400;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  transition: background-color var(--duration-fast) ease, transform var(--duration-fast) ease;
}

.submit-btn:hover {
  background-color: var(--dark-emblem-hover);
  transform: translateY(-1px);
}

.submit-btn.is-submitting {
  opacity: 0.75;
  cursor: wait;
  pointer-events: none;
}

.btn-arrow {
  font-size: 1.3rem;
  transition: transform var(--duration-fast) ease;
}

.submit-btn:hover .btn-arrow {
  transform: translateX(4px);
}

.privacy-note {
  font-size: 0.76rem;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.5;
  letter-spacing: normal;
}

.form-success-message {
  margin-top: 1.5rem;
  padding: 1.75rem 2rem;
  background-color: #f7f3ee;
  border: 1px solid rgba(143, 133, 118, 0.3);
  animation: fadeIn 0.4s ease forwards;
}

.success-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-main);
  margin-bottom: 0.45rem;
  line-height: 1.3;
}

.success-desc {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
  margin: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   8. SITE FOOTER (3-COLUMN CASA CARINA ATELIER ARCHITECTURE)
   -------------------------------------------------------------------------- */
.site-footer {
  padding: clamp(4rem, 6vw, 6rem) 0 clamp(2.5rem, 4vw, 3.5rem);
  background-color: var(--dark-emblem);
  border-top: none;
  color: #f8f2eb;
  width: 100%;
}

.content-container {
  max-width: var(--site-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter-desktop);
  padding-right: var(--gutter-desktop);
}

.site-footer .content-container {
  max-width: 1440px;
}

.df-atelier-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.25fr 0.9fr;
  gap: clamp(2.5rem, 4vw, 4.5rem);
  padding-bottom: clamp(3rem, 4.5vw, 4rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  align-items: start;
}

.df-atelier-col {
  display: flex;
  flex-direction: column;
}

/* Col 1: Brand Title, Statement & Philosophy Tag */
.df-atelier-col--brand {
  align-items: flex-start;
  max-width: 420px;
  padding-right: clamp(1.5rem, 3vw, 3rem);
  box-sizing: border-box;
}

.foot-atelier-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 1.8vw, 1.75rem);
  font-weight: 400;
  color: #fffcf3;
  line-height: 1.25;
  margin-bottom: 1.35rem;
  letter-spacing: 0.01em;
}

.df-col-statement {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.75;
  color: #b0aca4;
  font-weight: 300;
  max-width: 400px;
  margin: 0 0 1.5rem 0;
}

.foot-phil-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(248, 242, 235, 0.65);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.foot-phil-tag span {
  white-space: nowrap;
}

/* Column Headings / Labels */
.df-col-heading {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-sand, #baa882);
  margin-bottom: 1.35rem;
}

/* Col 2: Registry & Chamber Trust */
.df-registry-stack {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.df-registry-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.df-reg-name {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: #fffcf3;
  letter-spacing: 0.02em;
}

.df-reg-text {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  color: #d1cbc2;
  font-weight: 300;
  line-height: 1.4;
}

.df-reg-sub {
  font-size: 0.74rem;
  color: #8c8880;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.df-registry-meta-row {
  margin-top: 0.4rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.76rem;
  color: #8c8880;
  font-weight: 300;
}

/* Col 3: Dialogue & Socials */
.df-dialogue-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.df-dialogue-item {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.df-dialogue-label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8c8880;
  font-weight: 500;
}

.df-mail-link {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: #fffcf3;
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: color var(--duration-fast);
}

.df-mail-link:hover {
  color: var(--accent-sand, #baa882);
}

.footer-social-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.footer-social-link {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(248, 242, 235, 0.65);
  transition: color var(--duration-fast) ease, transform var(--duration-fast) ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
}

.footer-social-link:hover {
  color: #fffcf3;
  transform: translateX(3px);
}

/* Bottom Bar: Copyright & Legal */
.df-atelier-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: clamp(2rem, 3vw, 2.75rem);
}

.df-atelier-bottom .df-copyright {
  font-size: 0.82rem;
  color: #8c8880;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.6;
  margin: 0;
}

.df-legal-links {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: #8c8880;
  font-weight: 300;
  letter-spacing: 0.03em;
}

.df-legal-bullet {
  color: rgba(255, 255, 255, 0.2);
}

.df-legal-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: #9c978f;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: color var(--duration-fast, 0.3s) ease;
}

.df-legal-btn:hover {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   8.B. ARCHITECTURAL LEGAL MODALS (ADATKEZELÉS & IMPRESSZUM)
   -------------------------------------------------------------------------- */
body.modal-open {
  overflow: hidden;
}

.df-legal-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.df-legal-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.df-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(18, 17, 15, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.df-modal-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  background-color: #272522;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  border-radius: 3px;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.df-legal-modal.is-open .df-modal-dialog {
  transform: translateY(0) scale(1);
}

.df-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.85rem 2.25rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.df-modal-eyebrow {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-sand, #baa882);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.df-modal-title {
  font-family: var(--font-serif, 'Marcellus', Georgia, serif);
  font-size: 1.45rem;
  color: #ffffff;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0;
}

.df-modal-close {
  background: none;
  border: none;
  color: #a8a49c;
  font-size: 1.85rem;
  line-height: 1;
  padding: 0 0.5rem;
  cursor: pointer;
  transition: color var(--duration-fast, 0.3s) ease, transform var(--duration-fast, 0.3s) ease;
}

.df-modal-close:hover {
  color: #ffffff;
  transform: scale(1.1);
}

.df-modal-body {
  padding: 1.75rem 2.25rem;
  overflow-y: auto;
  font-family: var(--font-sans);
  color: #c8c2b7;
  font-size: 0.90rem;
  line-height: 1.68;
  font-weight: 300;
}

.df-modal-lead {
  font-size: 0.98rem;
  color: #e5ded3;
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

.df-modal-body h4 {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 1.45rem 0 0.5rem;
}

.df-modal-body p {
  margin: 0 0 1rem;
}

.df-modal-body a {
  color: var(--accent-sand, #baa882);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.df-modal-body a:hover {
  color: #ffffff;
}

.df-modal-body ul,
.df-modal-body ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.df-modal-body li {
  margin-bottom: 0.35rem;
  line-height: 1.62;
}

.df-modal-footer {
  padding: 1.25rem 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
  background-color: rgba(0, 0, 0, 0.15);
}

.df-modal-action-btn {
  background-color: var(--bg-primary, #f8f2eb);
  color: #22201d;
  border: none;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.80rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color var(--duration-fast, 0.3s) ease;
}

.df-modal-action-btn:hover {
  background-color: var(--accent-sand, #baa882);
}

@media (max-width: 640px) {
  .df-modal-dialog {
    max-height: 88vh;
    margin: 0.75rem;
  }

  .df-modal-header {
    padding: 1.25rem 1.25rem 0.95rem;
  }

  .df-modal-title {
    font-size: 1.22rem;
  }

  .df-modal-body {
    padding: 1.15rem 1.25rem;
    font-size: 0.8125rem;
    line-height: 1.6;
  }

  .df-modal-lead {
    font-size: 0.86rem;
  }

  .df-modal-footer {
    padding: 1rem 1.25rem;
  }
}

/* ==========================================================================
   COOKIE CONSENT MODAL (QUIET LUXURY 3-BUTTON DIALOG)
   ========================================================================== */
.df-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  touch-action: pan-y;
  overscroll-behavior: contain;
}

.df-cookie-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.df-cookie-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(18, 17, 15, 0.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.df-cookie-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 530px;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  overscroll-behavior: contain;
  background-color: #24221f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.65);
  border-radius: 3px;
  padding: 2.25rem 2.25rem 2rem;
  transform: translateY(18px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.df-cookie-modal.is-open .df-cookie-dialog {
  transform: translateY(0) scale(1);
}

.df-cookie-header {
  margin-bottom: 1.15rem;
}

.df-cookie-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-bronze, #baa882);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.df-cookie-title {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0;
}

.df-cookie-body {
  font-family: var(--font-sans);
  color: #c8c2b7;
  font-size: 0.88rem;
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 1.75rem;
}

.df-cookie-body p {
  margin: 0;
}

.df-cookie-body a {
  color: var(--accent-bronze, #baa882);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.df-cookie-body a:hover {
  color: #ffffff;
}

.df-cookie-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.6rem;
}

.df-cookie-btn {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.8rem 0.5rem;
  border-radius: 2px;
  cursor: pointer;
  text-align: center;
  transition: all var(--duration-fast, 0.3s) ease;
  white-space: nowrap;
}

/* 1. Nem fogadom el (Diszkrét halvány szegély) */
.df-cookie-btn--reject {
  background: transparent;
  color: #9c978f;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.df-cookie-btn--reject:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

/* 2. Csak a szükségesek (Közepes fehér szegély) */
.df-cookie-btn--necessary {
  background: transparent;
  color: #e5ded3;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.df-cookie-btn--necessary:hover {
  color: #ffffff;
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* 3. Elfogadom (Meleg mészkő tónus) */
.df-cookie-btn--accept {
  background-color: var(--bg-primary, #eeece4);
  color: #22201d;
  border: 1px solid var(--bg-primary, #eeece4);
}
.df-cookie-btn--accept:hover {
  background-color: #baa882;
  border-color: #baa882;
}

/* Mobilon (560px alatt) tiszta függőleges kártya-elrendezés */
@media (max-width: 560px) {
  .df-cookie-dialog {
    padding: 1.6rem 1.35rem 1.4rem;
    margin: 0.75rem;
  }
  .df-cookie-title {
    font-size: 1.25rem;
  }
  .df-cookie-body {
    font-size: 0.82rem;
    line-height: 1.58;
    margin-bottom: 1.4rem;
  }
  .df-cookie-actions {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
  .df-cookie-btn {
    padding: 0.8rem 1rem;
    font-size: 0.78rem;
    width: 100%;
  }
  .df-cookie-btn--accept {
    order: 1;
  }
  .df-cookie-btn--necessary {
    order: 2;
  }
  .df-cookie-btn--reject {
    order: 3;
  }
}

/* --------------------------------------------------------------------------
   7. RESPONSIVE BREAKPOINTS (MATCHING WEBOLDAL 2)
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .header-center-geo {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  :root {
    --gutter-desktop: var(--gutter-tablet);
  }

  .desktop-nav {
    display: none;
  }

  .header-right-cluster {
    margin-top: 0.95rem;
  }

  .header-actions-side {
    gap: 0.85rem;
  }

  .mobile-toggle {
    display: block;
    margin-top: 0;
  }

  .hero-dual-columns {
    grid-template-columns: 1fr;
    row-gap: 3.5rem;
  }

  .hero-title {
    font-size: clamp(2.75rem, 5.5vw, 56px);
  }

  .hero-left-col {
    padding-top: 0;
  }

  .hero-standing-feature-wrap {
    margin-top: 0;
    max-width: 750px;
  }

  .grid-12 {
    grid-template-columns: 1fr;
    row-gap: 2.75rem;
  }

  .col-span-5,
  .col-span-6,
  .col-span-7,
  .inquiry-info,
  .inquiry-form-col {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
  }

  .genesis-label-col {
    padding-right: 0;
  }

  .inquiry-layout {
    row-gap: 3.5rem;
  }

  .editorial-form-wrap {
    padding: 2.75rem 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    row-gap: 1.85rem;
  }

  .df-atelier-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .df-atelier-col--brand {
    max-width: 100%;
    padding-right: 0;
  }

  .df-atelier-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  :root {
    --gutter-desktop: var(--gutter-mobile);
  }

  .site-header {
    padding: 1.25rem 0;
  }

  .site-header.is-scrolled {
    padding: 1rem 0;
  }

  .nav-container {
    min-height: 60px;
  }

  .brand-block {
    margin-top: -1.25rem;
  }

  .site-header.is-scrolled .brand-block {
    margin-top: -1rem;
  }

  .brand-logo {
    height: 64px;
    margin-top: 0;
    padding: 0 10px 14px 10px;
  }

  .site-header.is-scrolled .brand-logo {
    margin-top: 0;
    height: 64px;
  }

  .brand-sub {
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    margin-top: 0.5rem;
  }

  .header-right-cluster {
    margin-top: 0.45rem;
  }

  .mobile-toggle {
    margin-top: 0;
  }

  .hero-section {
    padding-top: 6.5rem;
    padding-bottom: 3.5rem;
  }

  /* Mobile Hero Section Architecture:
     1. Fotó (full-bleed, 15:17 finoman álló arány)
     2. CTA Gomb (alatta lévő szöveggel együtt)
     3. 01 / Aktuális kiemelt projektünk • Balaton-felvidék (Badge / Eyebrow)
     4. Főcím (Casa Carina / Építészeti Kollekció)
     5. Leíró szöveg
     6. Helyszíncsík
  */
  .hero-dual-columns {
    display: flex;
    flex-direction: column;
    row-gap: 0;
  }

  .hero-left-col {
    display: contents;
  }

  .hero-header-block {
    display: contents;
  }

  .hero-editorial-lead {
    display: contents;
  }

  /* 1. A FOTÓKERET (A Casa Carina képei) - Mobilon legfelül, a fejléc alatt */
  .hero-right-col {
    order: 1;
    width: calc(100% + (2 * var(--gutter-mobile)));
    margin-left: calc(-1 * var(--gutter-mobile));
    margin-right: calc(-1 * var(--gutter-mobile));
    margin-top: 0;
    margin-bottom: 1.25rem;
  }

  .hero-standing-feature-wrap {
    margin-top: 0;
    max-width: 100%;
    width: 100%;
  }

  .hero-standing-figure {
    width: 100%;
    margin: 0;
  }

  .hero-standing-figure .image-inner {
    border-radius: 0;
    box-shadow: none;
    aspect-ratio: 15 / 17 !important;
    width: 100%;
  }

  /* Kép alatti képaláírás elrejtése mobilon */
  .hero-standing-figure .fig-caption {
    display: none !important;
  }

  /* 2. A NAGY GOMB ÉS ALATTA LÉVŐ FELIRAT: Közvetlenül a fotó alatt */
  .hero-cta-wrap {
    order: 2;
    margin-top: 0;
    margin-bottom: 2.85rem;
    width: 100%;
    gap: 0;
  }

  .hero-cta-btn {
    width: 100%;
    justify-content: center;
  }

  .hero-cta-sub {
    justify-content: center;
    margin-top: 0.45rem;
  }

  /* 3. KIEMELT KATEGÓRIA (01 / Aktuális kiemelt projektünk • Balaton-felvidék) - Közvetlenül a főcím előtt */
  .editorial-badge {
    order: 3;
    font-size: 0.64rem;
    letter-spacing: 0.22em;
    margin-top: 0;
    margin-bottom: 1.15rem;
    display: block;
  }

  /* 4. FŐCÍM (Headline - H1): A 01 felirat után, a leíró szöveg elé */
  .hero-title {
    order: 4;
    font-size: clamp(2.1rem, 7.5vw, 40px);
    line-height: 1.16;
    margin-top: 0;
    margin-bottom: 1.5rem;
  }

  /* 6. A LEÍRÓ SZÖVEG: Mobilon is a teljes hosszúságú szöveg */
  .lead-text {
    order: 5;
    font-size: 1.05rem;
    line-height: 1.78;
    margin-top: 0;
    margin-bottom: 1.5rem;
    padding-right: 0;
  }

  /* 7. HELYSZÍNCSÍK: Közvetlenül a leíró szöveg után */
  .hero-meta-strip {
    order: 6;
    display: flex !important;
    font-size: 0.68rem;
    line-height: 1.6;
    letter-spacing: 0.14em;
    margin-top: 0;
    margin-bottom: 3rem;
  }

  .section-block {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .section-inquiry {
    padding-top: 2.5rem;
    padding-bottom: 2.75rem;
  }

  .founder-signature-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    row-gap: 1.5rem;
  }

  .chapter-header {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
    margin-bottom: 2.5rem;
  }

  .editorial-form-wrap {
    padding: 2rem 1.25rem;
  }

  .df-atelier-grid {
    gap: 2.5rem;
  }
}
