/* ==========================================================================
   ქეთევან უტიაშვილის საადვოკატო ბიურო (თბილისი, ჭავჭავაძის გამზ. 26)
   GALLANT & EDITORIAL DESIGN SYSTEM (DE ALWIS ASSOCIATES AESTHETICS)
   Zero Emojis • Pure Hairline Contour SVGs • Symmetrical & Proportional
   ========================================================================== */

:root {
  /* Editorial Palette */
  --color-slate-black: #0F172A;
  --color-navy-surface: #1E293B;
  --color-navy-light: #334155;
  --color-text-main: #1E293B;
  --color-text-muted: #57657B;
  --color-text-light: #8E9BAE;

  --color-brass-primary: #721927;
  --color-brass-gold: #8C2234;
  --color-brass-soft: #A83348;
  --color-brass-light: rgba(114, 25, 39, 0.08);
  --color-brass-border: rgba(114, 25, 39, 0.28);

  --bg-page: #FAF9F6;
  --bg-white: #FFFFFF;
  --bg-ivory: #F5F3EF;
  --bg-card: #FFFFFF;
  --bg-subtle: #F0EDE6;

  --border-light: #E7E3DC;
  --border-delicate: rgba(15, 23, 42, 0.08);

  --font-serif: 'Noto Serif Georgian', 'Cormorant Garamond', Georgia, serif;
  --font-display: 'Cinzel', 'Noto Serif Georgian', serif;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --shadow-subtle: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  --shadow-card: 0 12px 35px -8px rgba(15, 23, 42, 0.08), 0 0 1px rgba(15, 23, 42, 0.06);
  --shadow-float: 0 24px 50px -12px rgba(15, 23, 42, 0.14);

  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body.editorial-body {
  background-color: var(--bg-page);
  color: var(--color-text-main);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   TOP EDITORIAL UTILITY STRIP (ADDRESS, HOURS & DIRECT PHONE)
   ========================================================================== */
.top-utility-strip {
  background-color: var(--color-slate-black);
  color: #CBD5E1;
  font-size: 0.78rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(114, 25, 39, 0.25);
  position: relative;
  z-index: 1001;
}

.top-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.top-strip-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.strip-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #94A3B8;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.strip-icon {
  width: 14px;
  height: 14px;
  color: var(--color-brass-soft);
  flex-shrink: 0;
}

.strip-sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.65rem;
}

.status-gba {
  color: var(--color-brass-soft);
}

.strip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10B981;
  display: inline-block;
  box-shadow: 0 0 6px #10B981;
}

.top-strip-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.top-social-pills {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.social-contour-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition);
}

.social-contour-btn svg {
  width: 13px;
  height: 13px;
}

.social-contour-btn:hover {
  background: var(--color-brass-primary);
  color: #FFFFFF;
  border-color: var(--color-brass-primary);
  transform: translateY(-1px);
}

.top-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #FFFFFF;
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(114, 25, 39, 0.3);
  transition: var(--transition);
}

.top-phone-link:hover {
  background: var(--color-brass-primary);
  color: #FFFFFF;
  border-color: var(--color-brass-primary);
  transform: translateY(-1px);
}

/* ==========================================================================
   HEADER & UNIFIED BALANCED NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(250, 249, 246, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 1.5rem;
}

/* Proportional Brand Wordmark */
.brand-block {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-shrink: 0;
}

.brand-logo-circle,
.brand-monogram-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
  border: 1.5px solid rgba(114, 25, 39, 0.4);
  flex-shrink: 0;
  overflow: hidden;
  transition: var(--transition);
}

.brand-block:hover .brand-logo-circle {
  transform: scale(1.05);
  border-color: var(--color-brass-primary);
  box-shadow: 0 6px 18px rgba(114, 25, 39, 0.25);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.caption-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.advisor-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.footer-logo-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1.5px solid var(--color-brass-primary);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.footer-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-slate-black);
  line-height: 1.15;
  letter-spacing: 0.3px;
}

.brand-rule-text {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-brass-primary);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Proportional Nav Menu (Single-Word Items with Sliding Underline Effect) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.85rem;
}

.nav-item {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.5rem 0.2rem;
  position: relative;
  white-space: nowrap;
  letter-spacing: 0.2px;
  transition: color 0.25s ease;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-brass-primary);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-item:hover {
  color: var(--color-slate-black);
}

.nav-item:hover::after,
.nav-item.active::after {
  transform: scaleX(1);
  transform-origin: center left;
}

.nav-item.active {
  color: var(--color-slate-black);
  font-weight: 600;
}

/* Header Right Actions */
.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* SINGLE ELEGANT LANGUAGE SELECTOR (DROPDOWN ON CLICK) */
.lang-dropdown-wrapper {
  position: relative;
}

.lang-current-btn {
  background: var(--bg-white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 0.44rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-slate-black);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: var(--transition);
}

.lang-current-btn:hover,
.lang-dropdown-wrapper.open .lang-current-btn {
  border-color: var(--color-brass-primary);
  color: var(--color-brass-primary);
  box-shadow: 0 4px 12px rgba(114, 25, 39, 0.15);
}

.lang-globe-icon {
  width: 15px;
  height: 15px;
  color: var(--color-brass-primary);
  flex-shrink: 0;
}

.current-lang-code {
  letter-spacing: 0.5px;
  font-weight: 700;
}

.chevron-icon {
  width: 12px;
  height: 12px;
  color: var(--color-text-light);
  transition: transform 0.25s ease;
}

.lang-dropdown-wrapper.open .chevron-icon {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-float);
  padding: 0.4rem;
  min-width: 140px;
  z-index: 1010;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  animation: dropdownFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-dropdown-menu.hidden {
  display: none !important;
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.lang-option-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--color-slate-black);
  transition: var(--transition);
  text-align: left;
}

.lang-option-btn:hover {
  background-color: var(--bg-ivory);
  color: var(--color-brass-primary);
}

.lang-option-btn.active {
  background-color: var(--color-slate-black);
  color: #FFFFFF;
  font-weight: 600;
}

.lang-opt-code {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
}

.lang-opt-name {
  font-size: 0.75rem;
  color: inherit;
  opacity: 0.85;
}

.btn-primary-header {
  background-color: var(--color-slate-black);
  color: #FFFFFF;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary-header:hover {
  background-color: var(--color-brass-primary);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(114, 25, 39, 0.3);
}

.mobile-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.mobile-burger span {
  width: 22px;
  height: 2px;
  background-color: var(--color-slate-black);
  transition: var(--transition);
}

/* ==========================================================================
   HERO EDITORIAL SECTION (AIRY, BALANCED, MODERN PROPORTIONS)
   ========================================================================== */
.hero-editorial {
  padding: 4rem 0 5rem 0;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 10% 20%, rgba(114, 25, 39, 0.05) 0%, transparent 60%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 4rem;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.pill-badge-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 1rem;
  background-color: var(--bg-white);
  border: 1px solid var(--color-brass-border);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-brass-primary);
  width: fit-content;
  box-shadow: var(--shadow-subtle);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-brass-primary);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-main-title {
  font-family: var(--font-serif);
  font-size: 2.85rem;
  line-height: 1.22;
  font-weight: 700;
  color: var(--color-slate-black);
  letter-spacing: -0.5px;
}

.hero-lead-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

.hero-lead-text strong {
  color: var(--color-slate-black);
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-pill-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background-color: var(--color-slate-black);
  color: #FFFFFF;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

.btn-pill-dark:hover {
  background-color: #1E293B;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.22);
}

.btn-pill-brass {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background-color: var(--color-brass-primary);
  color: #FFFFFF;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(114, 25, 39, 0.25);
}

.btn-pill-brass:hover {
  background-color: #530E19;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(114, 25, 39, 0.35);
}

.btn-pill-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background-color: transparent;
  color: var(--color-slate-black);
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition);
}

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

.icon-arrow {
  width: 17px;
  height: 17px;
  transition: transform 0.2s ease;
}

.btn-pill-dark:hover .icon-arrow {
  transform: translateX(4px);
}

/* Stats Row */
.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-light);
}

.stat-cell {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--color-slate-black);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.74rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 3px;
}

.stat-sep {
  width: 1px;
  height: 32px;
  background-color: var(--border-light);
}

/* Hero Right Floating Portrait Card */
.hero-right {
  display: flex;
  justify-content: center;
  position: relative;
}

.editorial-portrait-card {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.portrait-shadow-backing {
  position: absolute;
  top: 18px;
  left: 18px;
  right: -18px;
  bottom: -18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-brass-border);
  background: linear-gradient(135deg, rgba(114, 25, 39, 0.08) 0%, rgba(15, 23, 42, 0.03) 100%);
  z-index: 1;
}

.portrait-image-wrapper {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.8);
  aspect-ratio: 4 / 5;
  background-color: var(--color-slate-black);
}

.portrait-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portrait-image-wrapper:hover .portrait-hero-img {
  transform: scale(1.03);
}

.portrait-floating-caption {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 90%;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-float);
}

.caption-crest-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-brass-light);
  color: var(--color-brass-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.caption-crest-icon svg {
  width: 20px;
  height: 20px;
}

.caption-texts {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.caption-texts strong {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  color: var(--color-slate-black);
}

.caption-texts span {
  font-size: 0.74rem;
  color: var(--color-brass-primary);
  font-weight: 500;
}

/* ==========================================================================
   COMMON EDITORIAL SECTION LAYOUT
   ========================================================================== */
.section-editorial {
  padding: 6rem 0;
  position: relative;
}

.section-editorial.bg-ivory {
  background-color: var(--bg-ivory);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-heading {
  margin-bottom: 3.5rem;
}

.section-heading.text-center {
  text-align: center;
}

.eyebrow-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-brass-primary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title-serif {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--color-slate-black);
  line-height: 1.25;
  letter-spacing: -0.3px;
}

.divider-rule {
  width: 48px;
  height: 2px;
  background-color: var(--color-brass-primary);
  margin: 1.2rem auto;
  border-radius: 2px;
}

.divider-rule.left-aligned {
  margin: 1.2rem 0;
}

.section-subtitle-text {
  font-size: 1.02rem;
  color: var(--color-text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ==========================================================================
   DE ALWIS TRIPLET CARDS (VISION, MISSION, VALUES)
   ========================================================================== */
.triplet-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.editorial-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.editorial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: var(--transition);
}

.editorial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: var(--color-brass-border);
}

.editorial-card:hover::before {
  background: var(--color-brass-primary);
}

.card-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.card-category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--color-brass-primary);
  text-transform: uppercase;
}

.card-number {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text-light);
}

.card-serif-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--color-slate-black);
  margin-bottom: 1rem;
}

.card-text-body {
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  flex-grow: 1;
}

.card-contour-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.82rem;
  color: var(--color-slate-black);
  font-weight: 500;
}

.card-contour-badge svg {
  width: 20px;
  height: 20px;
  color: var(--color-brass-primary);
  flex-shrink: 0;
}

/* Values list inside 3rd card */
.values-list-modern {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.values-list-modern li {
  display: flex;
  flex-direction: column;
  padding-bottom: 0.65rem;
  border-bottom: 1px dashed var(--border-light);
}

.values-list-modern li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.values-list-modern strong {
  font-size: 0.92rem;
  color: var(--color-slate-black);
}

.values-list-modern span {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   LEGAL EXPERTISE (SYMMETRICAL ARCHITECTURE - DE ALWIS SLIDE 4)
   ========================================================================== */
.expertise-symmetrical-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.mobile-more-expertise-wrap {
  display: none;
}

.expertise-card-editorial {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-subtle);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
}

.expertise-card-editorial:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(114, 25, 39, 0.14);
  border-color: var(--color-brass-primary);
}

.expertise-card-editorial:hover .card-contour-icon {
  background-color: rgba(114, 25, 39, 0.08);
  border-color: var(--color-brass-primary);
  transform: scale(1.08);
}

.expertise-card-editorial:hover .domain-link-tag {
  color: var(--color-brass-primary);
  transform: translateX(4px);
}

.card-contour-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--bg-white);
  border: 1px solid rgba(114, 25, 39, 0.2);
  color: var(--color-brass-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-contour-icon svg {
  width: 26px;
  height: 26px;
  transition: transform 0.28s ease;
}

.expertise-card-editorial:hover .card-contour-icon {
  background: linear-gradient(135deg, rgba(114, 25, 39, 0.09) 0%, rgba(114, 25, 39, 0.03) 100%);
  border-color: var(--color-brass-primary);
  color: var(--color-brass-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(114, 25, 39, 0.16);
}

.expertise-card-editorial:hover .card-contour-icon svg {
  transform: scale(1.08);
}

.domain-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-slate-black);
  margin-bottom: 0.75rem;
}

.domain-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  flex-grow: 1;
  margin-bottom: 1.4rem;
}

.domain-link-tag {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-brass-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}

.expertise-card-editorial:hover .domain-link-tag {
  color: var(--color-slate-black);
  transform: translateX(4px);
}

/* ==========================================================================
   ADVOCATE PROFILE & ACADEMIC RECORD (DE ALWIS SLIDE 5 STYLE)
   ========================================================================== */
.advocate-editorial-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: flex-start;
}

.advocate-visual-gallery {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.gallery-primary-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  aspect-ratio: 4 / 4.6;
  background-color: var(--color-slate-black);
}

.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.gallery-badge-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  padding: 0.6rem 1rem;
  color: var(--color-brass-soft);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-align: center;
  border: 1px solid rgba(114, 25, 39, 0.3);
}

.gallery-sub-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.gallery-sub-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--border-light);
}

.gallery-sub-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-sub-frame:hover .gallery-sub-img {
  transform: scale(1.05);
}

.sub-caption-tag {
  position: absolute;
  bottom: 6px;
  left: 6px;
  right: 6px;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-slate-black);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Bio Content & Timeline */
.advocate-bio-content {
  display: flex;
  flex-direction: column;
}

.advocate-name-serif {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--color-slate-black);
  line-height: 1.2;
}

.advocate-titles-bar {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-brass-primary);
  margin-top: 0.4rem;
}

.advocate-lead-para {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 1.8rem;
}

.record-timeline-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.record-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: baseline;
  gap: 1.2rem;
  padding: 0.85rem 1rem;
  background-color: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
}

.record-item:hover {
  border-color: var(--color-brass-border);
  transform: translateX(4px);
}

.record-years {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-brass-primary);
}

.record-info strong {
  display: block;
  font-size: 0.92rem;
  color: var(--color-slate-black);
}

.record-info p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.quote-editorial-box {
  background-color: var(--bg-ivory);
  border-left: 3px solid var(--color-brass-primary);
  padding: 1.4rem 1.6rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.quote-editorial-box p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--color-slate-black);
  line-height: 1.6;
}

.quote-editorial-box cite {
  display: block;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-brass-primary);
  margin-top: 0.6rem;
}

/* ==========================================================================
   CASE ASSESSMENT WIZARD (CLEAN, MODERN, ZERO EMOJIS)
   ========================================================================== */
.wizard-editorial-wrapper {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  max-width: 980px;
  margin: 0 auto;
}

.wizard-steps-header {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background-color: var(--bg-page);
  border-bottom: 1px solid var(--border-light);
}

.wizard-step-node {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 1.4rem;
  border-right: 1px solid var(--border-light);
  opacity: 0.55;
  transition: var(--transition);
}

.wizard-step-node:last-child {
  border-right: none;
}

.wizard-step-node.active {
  opacity: 1;
  background-color: var(--bg-card);
  border-bottom: 2px solid var(--color-brass-primary);
}

.node-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-brass-primary);
}

.node-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-slate-black);
}

.wizard-step-content {
  padding: 2.8rem 3rem;
}

.wizard-step-panel {
  display: none;
}

.wizard-step-panel.active {
  display: block;
  animation: fadeIn 0.3s ease-out;
}

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

.panel-serif-question {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-slate-black);
  margin-bottom: 0.4rem;
}

.panel-hint-text {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

/* Choice Cards Grid */
.choice-tiles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.clean-choice-card {
  cursor: pointer;
  display: block;
  position: relative;
}

.clean-choice-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-card-inner {
  background-color: var(--bg-page);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: var(--transition);
  height: 100%;
}

.choice-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  color: var(--color-brass-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.3rem;
  transition: var(--transition);
}

.choice-icon-wrap svg {
  width: 20px;
  height: 20px;
}

.choice-card-inner strong {
  font-size: 0.98rem;
  color: var(--color-slate-black);
}

.choice-card-inner span {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.clean-choice-card input[type="radio"]:checked + .choice-card-inner {
  border-color: var(--color-brass-primary);
  background-color: var(--bg-white);
  box-shadow: 0 4px 18px rgba(114, 25, 39, 0.15);
}

.clean-choice-card input[type="radio"]:checked + .choice-card-inner .choice-icon-wrap {
  background-color: rgba(114, 25, 39, 0.08);
  color: var(--color-brass-primary);
  border-color: rgba(114, 25, 39, 0.35);
  box-shadow: 0 2px 10px rgba(114, 25, 39, 0.12);
}

/* Stage Rows */
.stage-rows-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.clean-stage-row {
  cursor: pointer;
  display: block;
  position: relative;
}

.clean-stage-row input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.stage-row-inner {
  background-color: var(--bg-page);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.3rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: var(--transition);
}

.stage-row-inner strong {
  font-size: 0.98rem;
  color: var(--color-slate-black);
}

.stage-row-inner span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.clean-stage-row input[type="radio"]:checked + .stage-row-inner {
  border-color: var(--color-brass-primary);
  background-color: var(--bg-white);
  box-shadow: 0 4px 16px rgba(114, 25, 39, 0.15);
}

/* Form controls in wizard */
.form-grid-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.field-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field-wrap.full {
  margin-bottom: 2rem;
}

.field-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-slate-black);
}

.modern-input, .modern-textarea, .modern-select {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  background-color: var(--bg-white);
  color: var(--color-slate-black);
  font-size: 0.92rem;
  transition: var(--transition);
  outline: none;
}

.modern-input:focus, .modern-textarea:focus, .modern-select:focus {
  border-color: var(--color-brass-primary);
  box-shadow: 0 0 0 3px rgba(114, 25, 39, 0.12);
}

.check-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.check-pill {
  cursor: pointer;
}

.check-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.check-pill span {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  color: var(--color-text-muted);
  transition: var(--transition);
}

.check-pill input:checked + span {
  background-color: var(--color-slate-black);
  color: #FFFFFF;
  border-color: var(--color-slate-black);
}

.wizard-footer-action {
  display: flex;
  justify-content: flex-end;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.wizard-footer-action.dual {
  justify-content: space-between;
}

.wizard-footer-action.center {
  justify-content: center;
  gap: 1.2rem;
}

/* Generated Editorial Case Sheet */
.editorial-case-sheet {
  background-color: var(--bg-white);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-card);
  margin-bottom: 2rem;
}

.sheet-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-25deg);
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.025);
  pointer-events: none;
  letter-spacing: 12px;
}

.sheet-header-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.5rem;
}

.sheet-firm-brand span {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-slate-black);
  display: block;
}

.sheet-firm-brand small {
  font-size: 0.78rem;
  color: var(--color-brass-primary);
  font-weight: 600;
}

.sheet-meta-block {
  text-align: right;
  display: flex;
  flex-direction: column;
}

.sheet-code {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--color-brass-primary);
  letter-spacing: 0.5px;
}

.sheet-date {
  font-size: 0.78rem;
  color: var(--color-text-light);
}

.sheet-title-area {
  margin-bottom: 1.8rem;
}

.sheet-status-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-brass-primary);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.sheet-title-area h4 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-slate-black);
}

.sheet-data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  padding: 1.2rem 1.4rem;
  background-color: var(--bg-page);
  border-radius: var(--radius-sm);
  margin-bottom: 1.8rem;
  border: 1px solid var(--border-light);
}

.sheet-data-col {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.sheet-data-col .data-label {
  font-size: 0.76rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sheet-data-col strong {
  font-size: 0.92rem;
  color: var(--color-slate-black);
}

.sheet-data-col strong.highlight-urgent {
  color: #B91C1C;
}

.sheet-advice-box {
  background-color: var(--bg-ivory);
  border-left: 3px solid var(--color-brass-primary);
  padding: 1.2rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 2rem;
}

.sheet-advice-box h5 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--color-slate-black);
  margin-bottom: 0.5rem;
}

.sheet-advice-box h5 svg {
  width: 18px;
  height: 18px;
  color: var(--color-brass-primary);
}

.sheet-advice-box p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.sheet-send-area h5 {
  font-size: 0.92rem;
  color: var(--color-slate-black);
  margin-bottom: 0.9rem;
}

.sheet-send-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.9rem;
}

.sheet-confirmation-alert {
  margin-top: 1rem;
  padding: 0.85rem 1.2rem;
  background-color: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
}

/* ==========================================================================
   APPOINTMENT SCHEDULER & CALENDAR (MODERN LUXURY)
   ========================================================================== */
.booking-split-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 2.8rem;
}

/* Calendar Left */
.calendar-widget-modern {
  display: flex;
  flex-direction: column;
}

.cal-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.4rem;
}

.cal-month-heading {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-slate-black);
}

.cal-arrow-btn {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--color-slate-black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.cal-arrow-btn:hover {
  background: var(--color-slate-black);
  color: #FFFFFF;
}

.cal-weekdays-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.6rem;
}

.cal-weekdays-row .weekend {
  color: #CBD5E1;
}

.cal-grid-cells {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 2rem;
}

.cal-day-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  background-color: var(--bg-page);
  cursor: pointer;
  transition: var(--transition);
  color: var(--color-slate-black);
  border: 1px solid transparent;
}

.cal-day-cell:hover:not(.disabled) {
  border-color: var(--color-brass-primary);
  background-color: var(--bg-white);
  color: var(--color-brass-primary);
}

.cal-day-cell.active {
  background-color: var(--color-slate-black) !important;
  color: #FFFFFF !important;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
}

.cal-day-cell.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background-color: transparent;
}

.cal-time-selection {
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
}

.time-heading-line {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-slate-black);
  margin-bottom: 0.9rem;
}

.time-heading-line svg {
  width: 17px;
  height: 17px;
  color: var(--color-brass-primary);
}

.selected-pill-badge {
  background-color: var(--bg-ivory);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  color: var(--color-brass-primary);
  border: 1px solid var(--border-light);
}

.slots-flex-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.time-pill {
  padding: 0.5rem 1rem;
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.time-pill:hover {
  border-color: var(--color-brass-primary);
  color: var(--color-slate-black);
}

.time-pill.active {
  background: var(--color-brass-primary);
  color: #FFFFFF;
  border-color: var(--color-brass-primary);
  box-shadow: 0 3px 10px rgba(114, 25, 39, 0.3);
}

/* Booking Form Right */
.booking-form-modern {
  display: flex;
  flex-direction: column;
}

.booking-summary-box {
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.8rem;
}

.summary-cell {
  display: flex;
  flex-direction: column;
}

.cell-label {
  font-size: 0.74rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.summary-cell strong {
  font-size: 0.92rem;
  color: var(--color-slate-black);
  margin-top: 2px;
}

.gold-accent-text {
  color: var(--color-brass-primary) !important;
  font-weight: 700;
}

.appointment-form-inner {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.format-toggle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.format-choice-card {
  cursor: pointer;
  display: block;
  position: relative;
}

.format-choice-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.format-card-box {
  background-color: var(--bg-page);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
}

.format-card-box svg {
  width: 22px;
  height: 22px;
  color: var(--color-brass-primary);
  flex-shrink: 0;
}

.format-card-box strong {
  display: block;
  font-size: 0.82rem;
  color: var(--color-slate-black);
}

.format-card-box small {
  display: block;
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

.format-choice-card input[type="radio"]:checked + .format-card-box {
  background-color: var(--bg-white);
  border-color: var(--color-brass-primary);
  box-shadow: 0 4px 14px rgba(114, 25, 39, 0.15);
}

.btn-block {
  width: 100%;
  justify-content: center;
  padding: 0.9rem 1.5rem;
}

.booking-confirmed-card {
  background-color: var(--bg-page);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.success-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: #ECFDF5;
  color: #059669;
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #A7F3D0;
}

.confirmed-receipt {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
  text-align: left;
  width: 100%;
  font-size: 0.86rem;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.confirmed-receipt strong {
  color: var(--color-slate-black);
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.82rem;
}

/* ==========================================================================
   CONTACT SECTION: ACCURATE TBILISI DETAILS
   ========================================================================== */
/* ==========================================================================
   UNIFIED CONTACT & BOOKING HUB
   ========================================================================== */
.contact-info-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
}

.contact-feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-brass-border);
  box-shadow: var(--shadow-card);
}

.sheet-unified-cta-box {
  background: linear-gradient(135deg, rgba(114, 25, 39, 0.08) 0%, rgba(15, 23, 42, 0.02) 100%);
  border: 1.5px solid var(--color-brass-border);
  border-radius: var(--radius-md);
  padding: 1.6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.cta-box-text h5 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-slate-black);
  margin-bottom: 0.35rem;
}

.cta-box-text h5 svg {
  width: 22px;
  height: 22px;
  color: var(--color-brass-primary);
  flex-shrink: 0;
}

.cta-box-text p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.feature-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  color: var(--color-brass-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon-circle svg {
  width: 22px;
  height: 22px;
}

.feature-info {
  display: flex;
  flex-direction: column;
}

.feature-sub-tag {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--color-brass-primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.feature-main-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-slate-black);
  margin: 0.2rem 0;
}

.card-social-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.35rem 0 0.25rem 0;
}

.social-tag-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-brass-primary);
  transition: var(--transition);
}

.social-tag-link:hover {
  color: var(--color-slate-black);
  text-decoration: underline;
}

.social-sep {
  color: var(--border-light);
  font-size: 0.7rem;
}

.feature-info small {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.contact-form-column {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.contact-card-box h4 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-slate-black);
  margin-bottom: 0.3rem;
}

.contact-card-box p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 1.8rem;
}

.direct-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.direct-form-success {
  padding: 0.85rem 1.2rem;
  background-color: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
}

/* ==========================================================================
   FULL WIDTH MAP (100% BLEED RIGHT ABOVE FOOTER)
   ========================================================================== */
.full-width-map-bleed {
  width: 100%;
  position: relative;
  background-color: #E5E7EB;
  border-top: 1px solid var(--border-light);
}

.map-floating-bar {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-float);
  width: calc(100% - 4rem);
  max-width: 900px;
}

.map-bar-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.map-bar-left svg {
  width: 20px;
  height: 20px;
  color: var(--color-brass-primary);
  flex-shrink: 0;
}

.map-bar-left strong {
  font-size: 0.92rem;
  color: var(--color-slate-black);
}

.map-pill-addr {
  background-color: var(--bg-ivory);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--color-brass-primary);
  border: 1px solid var(--border-light);
}

.btn-map-out {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-brass-primary);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-brass-border);
  background: var(--bg-white);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-map-out:hover {
  background: var(--color-slate-black);
  color: #FFFFFF;
  border-color: var(--color-slate-black);
}

.map-frame-100 {
  width: 100%;
  height: 480px;
  display: block;
}

.map-frame-100 iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* ==========================================================================
   BALANCED MODERN EDITORIAL FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--color-slate-black);
  color: #94A3B8;
  padding: 5rem 0 2.5rem 0;
  border-top: 1px solid rgba(114, 25, 39, 0.2);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.2rem;
}

.footer-brand-sub {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--color-brass-soft);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 1.2rem;
}

.footer-brand-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #94A3B8;
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.4rem;
  flex-wrap: wrap;
}

.footer-social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
  font-size: 0.78rem;
  font-weight: 500;
  transition: var(--transition);
}

.footer-social-pill svg {
  width: 14px;
  height: 14px;
  color: var(--color-brass-soft);
  transition: var(--transition);
}

.footer-social-pill:hover {
  background: var(--color-brass-primary);
  border-color: var(--color-brass-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.footer-social-pill:hover svg {
  color: #FFFFFF;
}

.footer-col-nav h5, .footer-col-legal h5 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.2rem;
}

.footer-col-nav a {
  display: block;
  font-size: 0.86rem;
  color: #94A3B8;
  margin-bottom: 0.65rem;
  transition: var(--transition);
}

.footer-col-nav a:hover {
  color: var(--color-brass-soft);
  transform: translateX(3px);
}

.footer-col-legal p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: #94A3B8;
  margin-bottom: 0.5rem;
}

.footer-bottom-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: #64748B;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* ==========================================================================
   FLOATING AI LEGAL ADVISOR (CLEAN, BESPOKE, ZERO EMOJIS)
   ========================================================================== */
.advisor-floating-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1050;
}

.advisor-toggle-pill {
  background-color: var(--color-slate-black);
  border: 1.5px solid var(--color-brass-primary);
  border-radius: var(--radius-pill);
  padding: 0.5rem 0.85rem 0.5rem 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  box-shadow: var(--shadow-float);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  max-width: 320px;
  user-select: none;
}

.advisor-toggle-pill:hover {
  transform: translateY(-3px);
  background-color: #17233D;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.32);
}

/* Lightning / Gleam sweep effect (ბზინვარება ელვასავით) */
.advisor-toggle-pill::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -120%;
  width: 65%;
  height: 220%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.08) 25%,
    rgba(255, 255, 255, 0.65) 50%,
    rgba(255, 255, 255, 0.12) 75%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(22deg);
  pointer-events: none;
  animation: lightningGleam 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  z-index: 2;
}

@keyframes lightningGleam {
  0%, 72% {
    left: -120%;
    opacity: 0;
  }
  75% {
    opacity: 0.85;
  }
  84% {
    left: 200%;
    opacity: 0.95;
  }
  85%, 100% {
    left: 200%;
    opacity: 0;
  }
}

.advisor-toggle-pill:hover::after {
  animation: lightningHover 0.7s cubic-bezier(0.16, 1, 0.3, 1) 1;
}

@keyframes lightningHover {
  0% {
    left: -120%;
    opacity: 0.9;
  }
  100% {
    left: 220%;
    opacity: 0;
  }
}

/* Minimized / Compact Circle State (დაპატარავების რეჟიმი) */
.advisor-toggle-pill.minimized {
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 50%;
  gap: 0;
  justify-content: center;
}

.advisor-toggle-pill.minimized .advisor-pill-copy {
  max-width: 0;
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  margin: 0;
  padding: 0;
}

.advisor-toggle-pill.minimized .advisor-pill-minimize {
  opacity: 0;
  pointer-events: none;
  width: 0;
  padding: 0;
  margin: 0;
}

/* Pulsing radar ripple for minimized circle */
.advisor-toggle-pill.minimized::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid var(--color-brass-primary);
  animation: pillSonar 2.4s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  pointer-events: none;
}

@keyframes pillSonar {
  0% { transform: scale(1); opacity: 0.8; }
  60% { transform: scale(1.24); opacity: 0; }
  100% { transform: scale(1.24); opacity: 0; }
}

/* Expand on desktop hover when minimized */
@media (hover: hover) {
  .advisor-toggle-pill.minimized:hover {
    width: auto;
    border-radius: var(--radius-pill);
    padding: 0.5rem 0.85rem 0.5rem 0.65rem;
    gap: 0.75rem;
  }
  .advisor-toggle-pill.minimized:hover .advisor-pill-copy {
    max-width: 220px;
    opacity: 1;
    transform: translateX(0);
  }
  .advisor-toggle-pill.minimized:hover .advisor-pill-minimize {
    opacity: 0.6;
    pointer-events: auto;
    width: 20px;
  }
  .advisor-toggle-pill.minimized:hover::before {
    display: none;
  }
}

.advisor-icon-circ {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--color-brass-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease;
}

.advisor-icon-circ svg {
  width: 19px;
  height: 19px;
  position: absolute;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.advisor-icon-circ .icon-chat {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.advisor-icon-circ .icon-close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

/* When chat is open, button morphs to close trigger */
.advisor-toggle-pill.is-open .advisor-icon-circ {
  background-color: #4A101A;
}

.advisor-toggle-pill.is-open .advisor-icon-circ .icon-chat {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

.advisor-toggle-pill.is-open .advisor-icon-circ .icon-close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.live-dot-mini {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 8px;
  height: 8px;
  background-color: #10B981;
  border: 1.5px solid var(--color-slate-black);
  border-radius: 50%;
  display: none;
}

.advisor-toggle-pill.minimized .live-dot-mini {
  display: block;
}

.advisor-pill-copy {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  overflow: hidden;
  max-width: 220px;
}

.live-dot {
  width: 6px;
  height: 6px;
  background-color: #10B981;
  border-radius: 50%;
  display: inline-block;
  margin-bottom: 2px;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
  animation: liveDotPulse 2s infinite ease-in-out;
}

@keyframes liveDotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.65; }
}

.advisor-pill-copy strong {
  font-size: 0.86rem;
  color: #FFFFFF;
  font-weight: 600;
}

.advisor-pill-copy small {
  font-size: 0.7rem;
  color: var(--color-brass-soft);
}

.advisor-pill-minimize {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #94A3B8;
  font-size: 0.75rem;
  line-height: 1;
  opacity: 0.55;
  transition: all 0.2s ease;
  margin-left: 0.2rem;
  flex-shrink: 0;
  cursor: pointer;
}

.advisor-pill-minimize:hover {
  opacity: 1;
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.12);
  transform: scale(1.1);
}

/* Modal Popup */
.advisor-popup-card {
  position: absolute;
  bottom: calc(100% + 14px);
  right: 0;
  width: 390px;
  max-width: 90vw;
  height: 540px;
  max-height: 80vh;
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  animation: modalPop 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.advisor-popup-card.closing {
  animation: modalPopDown 0.22s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  pointer-events: none;
}

@keyframes modalPop {
  0% { opacity: 0; transform: scale(0.85) translateY(18px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes modalPopDown {
  0% { opacity: 1; transform: scale(1) translateY(0); }
  100% { opacity: 0; transform: scale(0.85) translateY(18px); }
}

.advisor-card-top {
  background-color: var(--color-slate-black);
  padding: 1rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(114, 25, 39, 0.3);
}

.advisor-meta-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.advisor-crest-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(114, 25, 39, 0.2);
  color: var(--color-brass-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-brass-primary);
}

.advisor-crest-circle svg {
  width: 17px;
  height: 17px;
}

.advisor-meta-head h4 {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
}

.online-tag {
  font-size: 0.68rem;
  color: #10B981;
  display: block;
}

.advisor-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #E2E8F0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.advisor-close::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -130%;
  width: 70%;
  height: 220%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  z-index: 2;
}

.advisor-close svg {
  width: 20px;
  height: 20px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  position: relative;
  z-index: 1;
}

.advisor-close:hover {
  color: #FFFFFF;
  background-color: var(--color-brass-primary);
  border-color: var(--color-brass-primary);
  transform: scale(1.1);
  box-shadow: 0 4px 14px rgba(114, 25, 39, 0.45);
}

.advisor-close:hover svg {
  transform: rotate(90deg);
}

.advisor-close:hover::after {
  animation: lightningCloseHover 0.45s ease-out 1 forwards;
}

@keyframes lightningCloseHover {
  0% { left: -130%; opacity: 1; }
  100% { left: 220%; opacity: 0; }
}

.advisor-chat-stream {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: var(--bg-page);
}

.chat-row {
  display: flex;
  flex-direction: column;
}

.chat-row.system .chat-bubble {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md) var(--radius-md) var(--radius-md) 2px;
  padding: 0.9rem 1.1rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--color-slate-black);
  box-shadow: var(--shadow-subtle);
  max-width: 90%;
}

.chat-row.user .chat-bubble {
  align-self: flex-end;
  background-color: var(--color-slate-black);
  color: #FFFFFF;
  border-radius: var(--radius-md) var(--radius-md) 2px var(--radius-md);
  padding: 0.8rem 1.1rem;
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 85%;
  margin-left: auto;
}

.chat-quick-tags {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.5rem;
}

.quick-tag-btn {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 0.45rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-slate-black);
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.quick-tag-btn:hover {
  border-color: var(--color-brass-primary);
  color: var(--color-brass-primary);
  background-color: var(--bg-ivory);
}

.advisor-bottom-form {
  padding: 0.8rem 1rem;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chat-text-input {
  flex-grow: 1;
  border: 1px solid var(--border-light);
  background-color: var(--bg-page);
  border-radius: var(--radius-pill);
  padding: 0.65rem 1rem;
  font-size: 0.86rem;
  outline: none;
  transition: var(--transition);
}

.chat-text-input:focus {
  border-color: var(--color-brass-primary);
  background-color: var(--bg-white);
}

.chat-submit-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--color-slate-black);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.chat-submit-btn svg {
  width: 17px;
  height: 17px;
}

.chat-submit-btn:hover {
  background-color: var(--color-brass-primary);
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-right {
    order: -1;
    display: flex;
    justify-content: center;
  }
  .editorial-portrait-card {
    max-width: 360px;
    width: 100%;
  }
  .triplet-cards-grid {
    grid-template-columns: 1fr;
  }
  .expertise-symmetrical-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .advocate-editorial-layout,
  .advocate-profile-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .booking-split-container,
  .calendar-booking-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-info-cards-row {
    grid-template-columns: 1fr;
  }
  .sheet-unified-cta-box {
    flex-direction: column;
    text-align: center;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  /* Prevent iOS Safari auto-zoom on form inputs */
  input, select, textarea, .modern-input {
    font-size: 16px !important;
  }

  /* Global Container Padding */
  .container {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  /* Top Utility Strip */
  .top-strip {
    padding: 0.5rem 0;
  }
  .top-strip-inner {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
  }
  .top-strip-left {
    justify-content: center;
    font-size: 0.74rem;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  .top-strip-left .status-gba,
  .top-strip-left .strip-sep:last-of-type {
    display: none;
  }
  .top-strip-right {
    justify-content: center;
    gap: 0.75rem;
  }
  .top-phone-link {
    font-size: 0.8rem;
    padding: 0.3rem 0.85rem;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
  }

  /* Site Header & Mobile Drawer */
  .site-header {
    height: 70px;
    padding: 0 1rem;
  }
  .brand-crest-mark {
    width: 38px;
    height: 38px;
  }
  .brand-lawyer-name {
    font-size: 1.02rem;
  }
  .brand-sub-tag {
    font-size: 0.65rem;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1.5px solid var(--border-light);
    flex-direction: column;
    padding: 1.4rem 1.4rem 2rem;
    gap: 0.4rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.15);
    z-index: 999;
  }
  .nav-links.open {
    display: flex;
    animation: slideDownMobile 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }
  @keyframes slideDownMobile {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .nav-item {
    font-size: 1.05rem;
    padding: 0.7rem 0.4rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    display: block;
    width: 100%;
  }
  .mobile-burger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
  }
  .header-phone,
  .btn-primary-header {
    display: none;
  }

  /* Hero Section */
  .hero-section {
    padding: 2.2rem 0 3rem;
  }
  .hero-badge-eyebrow {
    font-size: 0.74rem;
    padding: 0.35rem 0.75rem;
    text-align: center;
    display: inline-flex;
    margin-bottom: 0.9rem;
  }
  .hero-main-title {
    font-size: clamp(1.75rem, 6vw, 2.2rem);
    line-height: 1.28;
    text-align: center;
  }
  .hero-lead-desc {
    font-size: 0.92rem;
    line-height: 1.62;
    text-align: center;
    margin-bottom: 1.5rem;
  }
  .hero-buttons-row {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-buttons-row .btn-primary,
  .hero-buttons-row .btn-secondary {
    width: 100%;
    min-height: 50px;
    justify-content: center;
    font-size: 0.94rem;
  }
  .hero-stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    width: 100%;
    margin-top: 1.8rem;
  }
  .stat-block {
    text-align: center;
    padding: 0.8rem 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
  }
  .stat-sep {
    display: none;
  }

  /* Hero Buttons on Mobile */
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }
  .hero-buttons .btn-pill-dark,
  .hero-buttons .btn-pill-brass {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    font-size: 0.92rem;
    padding: 0.75rem 1.2rem;
  }

  /* Practice Areas Grid - Mobile Collapsing */
  .expertise-symmetrical-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
  .expertise-card-editorial {
    padding: 1.35rem 1.2rem;
  }
  .expertise-symmetrical-grid:not(.show-all) .mobile-collapsible {
    display: none !important;
  }
  .expertise-symmetrical-grid.show-all .mobile-collapsible {
    display: flex !important;
    animation: cardFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .mobile-more-expertise-wrap {
    display: flex !important;
    justify-content: center;
    margin-top: 1.2rem;
    width: 100%;
  }
  .btn-more-mobile {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: var(--bg-white);
    border: 1.5px solid var(--color-brass-primary);
    border-radius: var(--radius-pill);
    color: var(--color-brass-primary);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.75rem 1.4rem;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-subtle);
  }
  .btn-more-mobile:active {
    background-color: rgba(114, 25, 39, 0.08);
    transform: scale(0.98);
  }
  .more-chevron {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
  }
  .expertise-symmetrical-grid.show-all + .mobile-more-expertise-wrap .more-chevron {
    transform: rotate(180deg);
  }

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

  /* About Advocate */
  .advocate-profile-layout {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  .gallery-primary-frame {
    max-height: 320px;
  }
  .gallery-sub-row {
    gap: 0.5rem;
  }
  .sub-caption-tag {
    font-size: 0.65rem;
    padding: 0.25rem 0.4rem;
  }
  .advocate-name-serif {
    font-size: 1.85rem;
  }

  /* Case Assessment Wizard */
  .wizard-editorial-wrapper {
    margin: 0;
    border-radius: var(--radius-md);
  }
  .wizard-steps-header {
    grid-template-columns: repeat(4, 1fr);
  }
  .wizard-step-node {
    padding: 0.75rem 0.3rem;
    justify-content: center;
    gap: 0.35rem;
  }
  .node-num {
    width: 24px;
    height: 24px;
    font-size: 0.84rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .wizard-step-node:not(.active) .node-label {
    display: none;
  }
  .node-label {
    font-size: 0.74rem;
  }
  .wizard-step-content {
    padding: 1.5rem 1.1rem;
  }
  .choice-tiles-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .wizard-nav-actions {
    flex-direction: column-reverse;
    gap: 0.65rem;
    width: 100%;
  }
  .wizard-nav-actions button {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }
  .form-grid-pair {
    grid-template-columns: 1fr;
  }
  .sheet-data-grid {
    grid-template-columns: 1fr;
  }
  .sheet-send-form {
    grid-template-columns: 1fr;
  }
  .sheet-editorial-layout {
    padding: 1.5rem 1.1rem;
  }

  /* Calendar Booking Grid */
  .calendar-booking-grid {
    grid-template-columns: 1fr;
    padding: 1.4rem 1.1rem;
    gap: 1.8rem;
    border-radius: var(--radius-md);
  }
  .cal-top-bar {
    margin-bottom: 1rem;
  }
  .cal-month-title {
    font-size: 1.05rem;
  }
  .cal-arrow-btn {
    width: 40px;
    height: 40px;
  }
  .cal-grid-cells {
    gap: 4px;
    margin-bottom: 1.4rem;
  }
  .cal-day-cell {
    min-height: 38px;
    font-size: 0.84rem;
    border-radius: 6px;
  }
  .time-slots-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  .slot-btn {
    min-height: 42px;
    font-size: 0.86rem;
    padding: 0.65rem 0.3rem;
  }
  .format-toggle-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  /* Full-bleed Map */
  .full-width-map-bleed iframe {
    height: 320px;
  }
  .map-floating-bar {
    width: calc(100% - 1.5rem);
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    margin: -30px auto 1rem;
    border-radius: var(--radius-md);
    position: relative;
    top: 0;
  }
  .map-floating-bar .btn-map-out {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    display: inline-flex;
    align-items: center;
  }

  /* Floating AI Advisor on Mobile */
  .advisor-floating-container {
    bottom: max(16px, env(safe-area-inset-bottom));
    right: 16px;
  }
  .advisor-toggle-pill {
    padding: 0.45rem 0.8rem 0.45rem 0.55rem;
  }
  .advisor-toggle-pill.minimized {
    width: 48px;
    height: 48px;
    padding: 0;
  }
  .advisor-popup-card {
    position: fixed !important;
    top: auto !important;
    bottom: 12px !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: calc(100vw - 24px) !important;
    height: calc(100dvh - 85px) !important;
    max-height: 560px !important;
    border-radius: 18px !important;
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.4) !important;
    z-index: 2100 !important;
    transform-origin: bottom center !important;
  }
  .advisor-popup-card.closing {
    animation: modalPopDownMobile 0.22s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
  }
  @keyframes modalPopDownMobile {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(30px); }
  }

  /* Footer */
  .site-footer {
    padding-top: 3rem;
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom-flex {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }
}

@media (max-width: 480px) {
  .hero-main-title {
    font-size: 1.65rem;
  }
  .hero-stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }
  .stat-block strong {
    font-size: 1.45rem;
  }
  .time-slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-sub-row {
    gap: 0.35rem;
  }
  .sub-caption-tag {
    font-size: 0.58rem;
    padding: 0.18rem 0.28rem;
  }
}

/* Scroll-linked photographic balance below the attorney gallery. */
.advocate-visual-gallery { align-self: stretch; }
.themis-scroll-scene { position: relative; flex: 1; min-height: 650px; margin-top: 2rem; scroll-margin-top: 110px; }
.themis-scroll-stage { position: sticky; top: 110px; display: flex; justify-content: center; }
.themis-photo-art { display: block; width: min(100%, 410px); height: auto; max-height: 72vh; overflow: visible; mix-blend-mode: multiply; }
@media (max-width: 1024px) {
 .themis-scroll-scene { flex: none; min-height: 0; margin: 2rem 0 0; }
 .themis-scroll-stage { position: relative; top: auto; }
 .themis-photo-art { max-height: 640px; width: min(100%, 380px); }
}
@media (prefers-reduced-motion: reduce) {
 .themis-scroll-stage { position: relative; top: auto; }
}
