/* ==========================================================================
   LEH PLASTIC SURGERY CLINIC - DESIGN SYSTEM (APPLE LIGHT LUXURY)
   Aesthetic: Apple-Inspired Minimalist White & Medical Precision
   Accent Color: #af8bb7 (LEH Orchid / Mauve)
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --color-accent: #af8bb7;
  --color-accent-hover: #9d73a6;
  --color-accent-dark: #7a5483;
  --color-accent-light: #fbf6fc;
  --color-accent-glow: rgba(175, 139, 183, 0.25);
  --color-accent-glow-subtle: rgba(175, 139, 183, 0.12);

  /* Apple Light Monochromatic Spectrum */
  --bg-primary: #ffffff;
  --bg-secondary: #fbfbfd;
  --bg-tertiary: #f5f5f7;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-light: rgba(175, 139, 183, 0.04);

  /* Typography Colors */
  --text-primary: #1d1d1f;
  --text-secondary: #515154;
  --text-muted: #86868b;
  --text-inverse: #ffffff;

  /* Borders & Dividers */
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-glass: rgba(0, 0, 0, 0.06);
  --border-accent: rgba(175, 139, 183, 0.35);

  /* Typography Stack */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, sans-serif;
  --font-serif: "New York", "Didot", "Playfair Display", Georgia, serif;
  
  /* Transitions & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.09);
  --shadow-accent: 0 10px 35px rgba(175, 139, 183, 0.22);

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);

  --max-width: 1240px;
  --header-height: 72px;
}

/* Base Resets */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

::selection {
  background-color: var(--color-accent);
  color: #ffffff;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

h4 {
  font-size: 1.2rem;
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

p.lead {
  font-size: clamp(1.15rem, 1.8vw, 1.3rem);
  color: #424245;
  font-weight: 400;
  line-height: 1.6;
}

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

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

/* Utility Containers & Grids */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 120px 0;
}

.section-padding-sm {
  padding: 80px 0;
}

.section-light {
  background: var(--bg-tertiary);
}

.section-subtle {
  background: var(--bg-secondary);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.accent-text {
  color: var(--color-accent-dark);
}

.gradient-text {
  background: linear-gradient(135deg, #1d1d1f 25%, #8c6794 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent-dark);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 8px var(--color-accent-glow);
}

/* Apple-Style Navigation Bar (Light Frosted Glass) */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: background-color var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #1d1d1f;
}

.brand-logo .logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 3px 10px var(--color-accent-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: #515154;
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: #1d1d1f;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--color-accent-glow);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #1d1d1f;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--color-accent-glow);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--color-accent-glow);
  color: #ffffff;
}

.btn-secondary {
  background: #f5f5f7;
  color: #1d1d1f;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
  background: #e8e8ed;
  border-color: rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.btn-outline-accent {
  background: var(--bg-card);
  color: var(--color-accent-dark);
  border: 1px solid var(--border-accent);
}

.btn-outline-accent:hover {
  background: var(--color-accent-light);
  border-color: var(--color-accent);
  color: var(--color-accent-dark);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* Hero Component (Apple Keynote Aesthetic - Direct Visual Overlay) */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 90px;
  overflow: hidden;
  background-color: #fbfbfd;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.72) 0%,
    rgba(255, 255, 255, 0.35) 45%,
    rgba(255, 255, 255, 0.85) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-subpage {
  min-height: 55vh;
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 60px;
  background: radial-gradient(circle at 50% 20%, #fbf6fc 0%, #ffffff 80%);
}

.hero-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 450px;
  background: radial-gradient(circle, rgba(175, 139, 183, 0.18) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  text-align: center;
  margin: 0 auto;
}

.hero-title {
  margin-bottom: 24px;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

.hero-desc {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  max-width: 780px;
  margin: 0 auto 36px;
  color: #2c2c2e;
  font-weight: 450;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.hero-badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 36px;
}

.hero-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge .number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-accent-dark);
  font-family: var(--font-serif);
  line-height: 1.1;
  margin-bottom: 4px;
}

.hero-badge .label {
  font-size: 0.82rem;
  color: #515154;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge .number {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.03em;
}

.hero-badge .label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Premium Card Grid (Light) */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-accent-border:hover {
  border-color: var(--border-accent);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--color-accent-light);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-dark);
  margin-bottom: 24px;
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.card-image-wrapper {
  position: relative;
  width: calc(100% + 72px);
  margin: -36px -36px 24px -36px;
  height: 220px;
  overflow: hidden;
}

.card-image-wrapper img,
.card-image-wrapper svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-image-wrapper img,
.card:hover .card-image-wrapper svg {
  transform: scale(1.05);
}

.card-image-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  border: 1px solid var(--border-accent);
}

/* Before / After Interactive Visual Representation (Light) */
.ba-showcase {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
}

.ba-slider-container {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
}

.ba-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
}

.ba-slide.after-side {
  background: linear-gradient(135deg, #faf5fc 0%, #f4eaf7 100%);
}

.ba-slide.before-side {
  background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  overflow: hidden;
  border-right: 2px solid var(--color-accent);
  z-index: 2;
}

.ba-slide.before-side .ba-slide-inner {
  width: 960px;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.ba-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ba-label {
  position: absolute;
  bottom: 24px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  z-index: 5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ba-label-after {
  right: 24px;
}

.ba-label-before {
  left: 24px;
}

.ba-vector-art {
  width: 160px;
  height: 160px;
  margin-bottom: 24px;
  color: var(--color-accent-dark);
  opacity: 0.85;
}

.ba-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.ba-badge-before {
  background: rgba(0, 0, 0, 0.06);
  color: #6e6e73;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.ba-badge-after {
  background: var(--color-accent);
  color: #ffffff;
  box-shadow: 0 2px 10px var(--color-accent-glow);
}

.ba-handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--color-accent);
  z-index: 10;
  pointer-events: none;
}

.ba-handle-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: #ffffff;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-dark);
  z-index: 11;
  pointer-events: none;
}

/* Feature Split Section */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-section.reverse {
  direction: rtl;
}

.split-section.reverse > * {
  direction: ltr;
}

.split-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.diagram-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 20px;
  box-shadow: var(--shadow-sm);
}

.diagram-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.diagram-item:last-child {
  margin-bottom: 0;
}

.diagram-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-accent-light);
  color: var(--color-accent-dark);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Process Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 32px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 12px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-accent), rgba(175, 139, 183, 0.15));
}

.timeline-step {
  position: relative;
  margin-bottom: 48px;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  top: 4px;
  left: -32px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent-dark);
  box-shadow: var(--shadow-sm);
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

/* Procedure Comparison Table */
.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
  background: var(--bg-tertiary);
  font-weight: 600;
  color: #1d1d1f;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison-table th.highlight, .comparison-table td.highlight {
  background: var(--color-accent-light);
  border-left: 1px solid var(--border-accent);
  border-right: 1px solid var(--border-accent);
  color: #1d1d1f;
}

.comparison-table td {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* FAQ Accordion */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item.active {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.faq-header {
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-header h4 {
  font-size: 1.1rem;
  font-weight: 500;
  color: #1d1d1f;
  margin: 0;
  padding-right: 16px;
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-dark);
  transition: transform var(--transition-smooth);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth), padding var(--transition-smooth);
  padding: 0 28px;
}

.faq-item.active .faq-body {
  max-height: 600px;
  padding: 0 28px 24px;
}

.faq-body p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* Blog Article Cards */
.blog-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.blog-card:hover {
  border-color: rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-thumb {
  height: 200px;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fbf6fc 0%, #f0e6f2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-thumb-icon {
  color: var(--color-accent-dark);
  opacity: 0.75;
  width: 64px;
  height: 64px;
}

.blog-category {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-accent);
  color: var(--color-accent-dark);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.blog-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.blog-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.35;
  color: #1d1d1f;
}

.blog-excerpt {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-accent-dark);
}

.blog-link:hover {
  color: var(--color-accent-hover);
}

/* Contact & Consultation Form */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
}

.contact-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: #1d1d1f;
  margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: #fbfbfd;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #1d1d1f;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: #ffffff;
  box-shadow: 0 0 0 3px var(--color-accent-glow-subtle);
}

.form-select option {
  background: #ffffff;
  color: #1d1d1f;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Global Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: #ffffff;
  border: 1px solid var(--color-accent);
  box-shadow: var(--shadow-lg);
  color: #1d1d1f;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-smooth);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* Global Footer (Apple Light Minimalist) */
.footer {
  background: #f5f5f7;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 40px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-col h5 {
  color: #1d1d1f;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

/* Mobile Menu Base (Hidden on Desktop) */
.mobile-menu-overlay {
  display: none;
}

/* Micro Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split-section { grid-template-columns: 1fr; gap: 40px; }
  .split-section.reverse { direction: ltr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .mobile-toggle { display: block; }

  .mobile-menu-overlay {
    display: flex;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    flex-direction: column;
    padding: 36px 24px;
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  }

  .mobile-menu-overlay.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
  }

  .mobile-nav-list a {
    font-size: 1.35rem;
    font-weight: 600;
    color: #1d1d1f;
    transition: color var(--transition-fast);
  }

  .mobile-nav-list a:hover, .mobile-nav-list a.active {
    color: var(--color-accent-dark);
  }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .ba-slider-container { height: 380px; }
}
