/* ==========================================================================
   AIVITA — SOFT 3D DESIGN SYSTEM & STYLESHEET
   Reference: Сайт aivita.uz — Soft 3D
   Warm ceramic matte, directional top-left lighting, multi-step shadow ladder,
   tactile extruded buttons, double-frame trays, subtle silk ribbon accents.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Nunito:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,700&display=swap');

:root {
  /* Color Palette */
  --clay: #CC8A8F;
  --clay-lt: #D69AA0;
  --clay-dk: #BE7D85;
  --clay-wall: #B67982;
  --clay-sh: 116, 62, 70;

  --sky: #6BA3D6;
  --sky-lt: #86B8E1;
  --sky-dk: #5D92C4;
  --sky-wall: #5589B9;
  --sky-sh: 38, 74, 112;

  --navy: #2A2540;
  --navy-lt: #3C3556;
  --navy-dk: #241F38;
  --navy-wall: #1E1A2C;
  --navy-sh: 18, 14, 32;

  --ink: #3A3646;
  --ink-soft: #6B6577;

  --wall: #E7E1D7;
  --board: #F5F2EC;
  --tile: #FCFBF8;

  --lit: 255, 255, 255;
  --shd: 150, 134, 116;

  --d: 1;
  --w: 1;
  --cv: 1.15;
  --op: 1;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");

  --font-main: 'Nunito', system-ui, -apple-system, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
}

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

html {
  background-color: var(--wall);
  color: var(--ink);
  font-family: var(--font-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--wall);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

a {
  color: #A86A72;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #8C555C;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* Grain Overlay */
.grain {
  position: relative;
}
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: var(--grain);
  background-size: 140px;
  opacity: 0.13;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 1;
}
.grain > * {
  position: relative;
  z-index: 2;
}

/* Silk Ribbon Strip */
.silk-ribbon-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 7px;
  object-fit: cover;
  z-index: 100;
  display: block;
}

.silk-ribbon-bottom {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 8px;
  object-fit: cover;
  display: block;
  z-index: 1;
}

/* ==========================================================================
   CERAMIC & 3D COMPONENTS (EXACT SOFT 3D REFERENCE)
   ========================================================================== */

/* 1. Tile Tray (Double Frame Convex Ceramic) */
.tile {
  border: 1px solid transparent;
  background:
    linear-gradient(176deg, var(--tile), #F2EEE6) padding-box,
    linear-gradient(180deg, rgba(var(--lit), .60), rgba(var(--lit), .14) 44%, rgba(var(--shd), .30)) border-box;
  box-shadow:
    0 0 0 1px rgba(var(--shd), calc(.045 * var(--op))),
    0 calc(1px * var(--d))  calc(2px * var(--d))  -1px  rgba(var(--shd), calc(.05 * var(--op))),
    0 calc(4px * var(--d))  calc(6px * var(--d))  -3px  rgba(var(--shd), calc(.045 * var(--op))),
    0 calc(10px * var(--d)) calc(16px * var(--d)) -8px  rgba(var(--shd), calc(.045 * var(--op))),
    0 calc(20px * var(--d)) calc(30px * var(--d)) -16px rgba(var(--shd), calc(.04 * var(--op)));
}

/* 2. Deep Navy Panel */
.panel {
  border: 1px solid transparent;
  background:
    radial-gradient(calc(138% / var(--cv)) calc(128% / var(--cv)) at 50% 42%,
      rgba(var(--lit), .05) 0%, rgba(var(--lit), 0) 46%, rgba(var(--navy-sh), .18) 100%) padding-box,
    linear-gradient(176deg, var(--navy-lt) 0%, var(--navy) 58%, var(--navy-dk) 100%) padding-box,
    linear-gradient(180deg, rgba(var(--lit), .22), rgba(var(--lit), .05) 44%, rgba(var(--navy-sh), .50)) border-box;
  box-shadow:
    inset 0 calc(10px * var(--cv)) calc(18px * var(--cv)) -11px rgba(var(--navy-sh), calc(.30 * var(--op))),
    inset 0 calc(-7px * var(--cv)) calc(14px * var(--cv)) -12px rgba(var(--navy-sh), calc(.16 * var(--op))),
    0 calc(5px * var(--w)) 0 -2px var(--navy-wall),
    0 calc(8px * var(--w))  calc(9px * var(--d))  calc(-5px * var(--d))  rgba(var(--shd), calc(.05 * var(--op))),
    0 calc(14px * var(--w)) calc(20px * var(--d)) calc(-11px * var(--d)) rgba(var(--shd), calc(.045 * var(--op))),
    0 calc(24px * var(--w)) calc(36px * var(--d)) calc(-19px * var(--d)) rgba(var(--shd), calc(.04 * var(--op)));
}

/* 3. Concave Well (Recessed Inset Tray) */
.well {
  border: 1px solid transparent;
  background:
    linear-gradient(176deg, #E5DFD5, #F5F1EB) padding-box,
    linear-gradient(180deg, rgba(var(--shd), .30), rgba(var(--lit), .55)) border-box;
  box-shadow:
    inset 0 calc(5px * var(--d)) calc(11px * var(--d)) calc(-3px * var(--d)) rgba(var(--shd), calc(.24 * var(--op))),
    inset 0 calc(-4px * var(--d)) calc(9px * var(--d)) calc(-4px * var(--d)) rgba(var(--lit), calc(.70 * var(--op)));
  color: var(--ink);
}
.well::placeholder {
  color: #8A8494;
}

.well-dark {
  border: 1px solid transparent;
  background:
    linear-gradient(176deg, var(--navy-dk), #2E2946) padding-box,
    linear-gradient(180deg, rgba(var(--navy-sh), .60), rgba(var(--lit), .14)) border-box;
  box-shadow:
    inset 0 calc(5px * var(--d)) calc(11px * var(--d)) calc(-3px * var(--d)) rgba(var(--navy-sh), calc(.55 * var(--op))),
    inset 0 calc(-4px * var(--d)) calc(9px * var(--d)) calc(-4px * var(--d)) rgba(var(--lit), calc(.10 * var(--op)));
  color: #fff;
}

/* 4. Clay Button (Clean ceramic clay without shadows) */
.btn3d {
  --c1: var(--clay-lt);
  --c2: var(--clay);
  --c3: var(--clay-dk);
  --cw: var(--clay-wall);
  --sh: var(--clay-sh);
  border: none;
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-main);
  text-shadow: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, filter 0.15s ease;
  background: var(--clay);
  box-shadow: none;
}

.btn3d:hover {
  background: var(--clay-lt);
  box-shadow: none;
  filter: brightness(1.03);
}

.btn3d:active {
  transform: scale(0.97);
  background: var(--clay-dk);
  box-shadow: none;
}

.btn3d:focus-visible {
  outline: 2.5px solid var(--clay);
  outline-offset: 3px;
}

.btn3d[disabled] {
  filter: grayscale(.5) opacity(.55);
  transform: none;
  cursor: default;
}

/* 5. Flat Ceramic Button */
.btn-flat {
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-main);
  cursor: pointer;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  background:
    linear-gradient(176deg, #EFEBE3, #E3DDD3) padding-box,
    linear-gradient(180deg, rgba(var(--lit), .60), rgba(var(--shd), .28)) border-box;
  box-shadow:
    0 calc(3px * var(--w)) 0 -1px #D6CFC3,
    0 calc(5px * var(--w)) calc(7px * var(--d)) calc(-4px * var(--d)) rgba(var(--shd), calc(.05 * var(--op))),
    0 calc(10px * var(--w)) calc(14px * var(--d)) calc(-8px * var(--d)) rgba(var(--shd), calc(.04 * var(--op)));
}
.btn-flat:active {
  transform: translateY(calc(3px * var(--w)));
  box-shadow: 0 1px 0 -.5px #D6CFC3, inset 0 6px 10px -5px rgba(var(--shd), .22);
}
.btn-flat:focus-visible {
  outline: 3px solid rgba(var(--shd), .45);
  outline-offset: 5px;
}

/* 6. Dark Chip */
.chip-dark {
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-main);
  cursor: pointer;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  background:
    linear-gradient(176deg, #3C3556, #2A2540) padding-box,
    linear-gradient(180deg, rgba(var(--lit), .26), rgba(var(--navy-sh), .50)) border-box;
  box-shadow:
    0 calc(3px * var(--w)) 0 -1px var(--navy-wall),
    0 calc(6px * var(--w)) calc(9px * var(--d)) calc(-5px * var(--d)) rgba(var(--navy-sh), calc(.30 * var(--op)));
}
.chip-dark:active {
  transform: translateY(calc(3px * var(--w)));
  box-shadow: 0 1px 0 -.5px var(--navy-wall);
}
.chip-dark:focus-visible {
  outline: 3px solid rgba(var(--lit), .45);
  outline-offset: 4px;
}

/* 7. Stat Cards */
.stat {
  border: 1px solid transparent;
  background:
    linear-gradient(176deg, var(--tile), #F1EDE5) padding-box,
    linear-gradient(180deg, rgba(var(--lit), .60), rgba(var(--lit), .14) 44%, rgba(var(--shd), .30)) border-box;
  box-shadow:
    0 0 0 1px rgba(var(--shd), calc(.045 * var(--op))),
    0 calc(2px * var(--w)) 0 -1px #E0D9CC,
    0 calc(4px * var(--d))  calc(6px * var(--d))  -3px  rgba(var(--shd), calc(.045 * var(--op))),
    0 calc(10px * var(--d)) calc(16px * var(--d)) -8px  rgba(var(--shd), calc(.045 * var(--op))),
    0 calc(20px * var(--d)) calc(30px * var(--d)) -16px rgba(var(--shd), calc(.04 * var(--op)));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.stat:hover {
  transform: translateY(-2px);
}

.stat-dark {
  border: 1px solid transparent;
  background:
    linear-gradient(176deg, #3C3556, #2A2540) padding-box,
    linear-gradient(180deg, rgba(var(--lit), .24), rgba(var(--navy-sh), .50)) border-box;
  box-shadow:
    0 calc(4px * var(--w)) 0 -2px var(--navy-wall),
    0 calc(8px * var(--d))  calc(10px * var(--d)) -6px  rgba(var(--shd), calc(.06 * var(--op))),
    0 calc(18px * var(--d)) calc(26px * var(--d)) -14px rgba(var(--shd), calc(.05 * var(--op)));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.stat-dark:hover {
  transform: translateY(-2px);
}

/* 8. Link Tile */
.link-tile {
  display: block;
  text-decoration: none;
  border: 1px solid transparent;
  background:
    linear-gradient(176deg, var(--tile), #F1EDE5) padding-box,
    linear-gradient(180deg, rgba(var(--lit), .60), rgba(var(--shd), .30)) border-box;
  box-shadow:
    0 calc(4px * var(--w)) 0 -2px #E0D9CC,
    0 calc(7px * var(--d))  calc(8px * var(--d))  -5px  rgba(var(--shd), calc(.05 * var(--op))),
    0 calc(14px * var(--d)) calc(20px * var(--d)) -11px rgba(var(--shd), calc(.045 * var(--op)));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.link-tile:hover {
  box-shadow:
    0 calc(7px * var(--w)) 0 -2px #E0D9CC,
    0 calc(12px * var(--d)) calc(14px * var(--d)) -7px rgba(var(--shd), calc(.05 * var(--op))),
    0 calc(22px * var(--d)) calc(30px * var(--d)) -16px rgba(var(--shd), calc(.045 * var(--op)));
  transform: translateY(-2px);
}
.link-tile:active {
  transform: translateY(calc(4px * var(--w)));
  box-shadow: 0 1px 0 -.5px #E0D9CC, inset 0 7px 12px -6px rgba(var(--shd), .20);
}

/* 9. Eyebrow Badge */
.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ==========================================================================
   PAGE LAYOUT & CONTAINER
   ========================================================================== */
.aivita-page-container {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  background: var(--wall);
}

/* Header */
.main-header {
  position: relative;
  box-sizing: border-box;
  padding: 26px 80px 0 80px;
  display: flex;
  align-items: center;
  gap: 28px;
  z-index: 50;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: block;
}

.brand-wordmark {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--ink);
}

.main-nav {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.nav-link {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}
.nav-link:hover {
  color: #A86A72;
}

.header-right-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language Dropdown Container */
.lang-dropdown-box {
  position: relative;
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 170px;
  border-radius: 20px;
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 1000;
  background: linear-gradient(176deg, var(--tile), #F2EEE6);
  border: 1px solid rgba(var(--lit), 0.6);
  box-shadow: 0 14px 32px -6px rgba(42, 35, 58, 0.18), 0 0 0 1px rgba(var(--shd), 0.1);
}

.lang-dropdown-menu.show {
  display: flex;
  animation: dropIn 0.2s ease-out forwards;
}

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

.lang-item-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease;
  text-align: left;
}
.lang-item-btn:hover {
  background: rgba(168, 106, 114, 0.1);
  color: #A86A72;
}
.lang-item-btn.active {
  background: #A86A72;
  color: #ffffff;
}

/* ==========================================================================
   BANNER HERO SECTION (#banner)
   ========================================================================== */
.hero-banner-section {
  position: relative;
  padding: 26px 80px 0 80px;
}

.hero-banner-tray {
  border-radius: 42px;
  padding: 18px;
  position: relative;
}

.hero-well-screen {
  height: 520px;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  box-sizing: border-box;
  padding: 36px;
}


.well-slide-bg.active {
  opacity: 1;
}

.slide-placeholder-art {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  z-index: 1;
}

.hero-floating-panel {
  position: relative;
  max-width: 560px;
  border-radius: 28px;
  padding: 30px 34px;
  z-index: 3;
}

.hero-floating-panel h2 {
  margin: 12px 0 0 0;
  font-size: 34px;
  line-height: 1.16;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.hero-floating-panel p {
  margin: 12px 0 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .74);
}

.hero-nav-arrow-left {
  position: absolute;
  top: 236px;
  left: 26px;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 10;
}

.hero-nav-arrow-right {
  position: absolute;
  top: 236px;
  right: 26px;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 10;
}

/* ==========================================================================
   VALUE PROPOSITION SECTION ("Давай знакомиться!")
   ========================================================================== */
.hero-intro-section {
  position: relative;
  padding: 68px 80px 0 80px;
  display: flex;
  gap: 48px;
  align-items: center;
}

.intro-text-col {
  width: 600px;
  flex-shrink: 0;
}

.intro-text-col h1 {
  margin: 26px 0 0 0;
  font-size: 68px;
  line-height: 1.05;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.025em;
}

.intro-text-col h1 .serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: #A86A72;
}

.intro-text-col p {
  margin: 24px 0 0 0;
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 470px;
}

.intro-cta-row {
  margin-top: 34px;
  display: flex;
  gap: 14px;
}

.intro-stats-grid {
  flex-grow: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.stat-item-card {
  padding: 26px;
  border-radius: 26px;
}
.stat-item-card .stat-label {
  margin: 18px 0 0 0;
  font-size: 15px;
  font-weight: 700;
}
.stat-item-card .stat-val {
  margin: 5px 0 0 0;
  font-size: 27px;
  font-weight: 800;
}
.stat-item-card .stat-unit {
  font-size: 17px;
  color: var(--ink-soft);
}

.robot-doctor-preview-tray {
  grid-column: span 2;
  padding: 20px 24px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ==========================================================================
   AI ASSISTANT SECTION (#assistant)
   ========================================================================== */
.assistant-section {
  position: relative;
  margin: 96px 80px 0 80px;
}

.assistant-panel-card {
  border-radius: 40px;
  padding: 56px 60px;
  display: flex;
  gap: 52px;
  align-items: center;
  overflow: hidden;
}

.assistant-avatar-circle {
  width: 168px;
  height: 168px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.assistant-avatar-circle img {
  width: 104px;
  height: 104px;
  border-radius: 30px;
  display: block;
}

.assistant-text-content h2 {
  margin: 16px 0 0 0;
  font-size: 42px;
  line-height: 1.15;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.assistant-text-content h2 .serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: #D69AA0;
}

.assistant-text-content p {
  margin: 18px 0 0 0;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .72);
  max-width: 640px;
}

/* ==========================================================================
   DOCTORS & SPECIALISTS GRID (#doctors)
   ========================================================================== */
.doctors-section {
  position: relative;
  margin: 96px 80px 0 80px;
}

.section-title {
  margin: 14px 0 0 0;
  font-size: 42px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.doctors-grid-3x2 {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.doctor-item-card {
  padding: 28px;
  border-radius: 26px;
}
.doctor-item-card h3 {
  margin: 16px 0 0 0;
  font-size: 21px;
  font-weight: 800;
  color: var(--ink);
}
.doctor-item-card p {
  margin: 6px 0 0 0;
  font-size: 15px;
  color: var(--ink-soft);
}

/* ==========================================================================
   HEALTH FEATURES SECTION (#features)
   ========================================================================== */
.features-section {
  position: relative;
  margin: 96px 80px 0 80px;
}

.features-tray-card {
  border-radius: 40px;
  padding: 52px 58px;
}

.features-grid-4col {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-well-card {
  padding: 22px;
  border-radius: 20px;
}
.feature-well-card p {
  margin: 14px 0 0 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

/* ==========================================================================
   SECTIONS DIRECTORY (#sections)
   ========================================================================== */
.sections-directory-section {
  position: relative;
  margin: 96px 80px 0 80px;
}

.sections-grid-3x2 {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.section-link-card {
  padding: 26px;
  border-radius: 24px;
}
.section-link-card h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
}
.section-link-card p {
  margin: 8px 0 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ==========================================================================
   FAQ SECTION (#faq)
   ========================================================================== */
.faq-section {
  position: relative;
  margin: 96px 80px 0 80px;
}

.faq-list-container {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-card-item {
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-header-btn {
  width: 100%;
  padding: 24px 30px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  cursor: pointer;
}

.faq-question-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
}

.faq-chevron-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  stroke: #8A8494;
}
.faq-card-item.open .faq-chevron-icon {
  transform: rotate(180deg);
  stroke: #A86A72;
}

.faq-body-content {
  display: none;
  padding: 0 30px 24px 30px;
}
.faq-card-item.open .faq-body-content {
  display: block;
}
.faq-body-content p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 1000px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  position: relative;
  margin: 96px 0 0 0;
  padding: 0 80px 56px 80px;
}

.footer-panel-card {
  border-radius: 40px;
  padding: 48px 56px;
  overflow: hidden;
  position: relative;
}

.footer-inner-layout {
  position: relative;
  display: flex;
  gap: 60px;
  z-index: 2;
}

.footer-brand-col {
  width: 320px;
  flex-shrink: 0;
}

.footer-brand-col p {
  margin: 18px 0 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .66);
}

.footer-social-chips {
  margin-top: 22px;
  display: flex;
  gap: 10px;
}

.footer-nav-grid {
  flex-grow: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-col a {
  font-size: 15px;
  color: rgba(255, 255, 255, .80);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-nav-col a:hover {
  color: #D69AA0;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1100px) {
  .main-header,
  .hero-banner-section,
  .hero-intro-section,
  .assistant-section,
  .doctors-section,
  .features-section,
  .sections-directory-section,
  .faq-section,
  .main-footer {
    padding-left: 32px;
    padding-right: 32px;
    margin-left: 0;
    margin-right: 0;
  }
  .features-grid-4col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .main-nav {
    display: none;
  }
  .main-header {
    padding: 16px 20px 0 20px;
    justify-content: space-between;
  }
  .hero-banner-section {
    padding: 16px 16px 0 16px;
  }
  .hero-banner-tray {
    border-radius: 32px;
    padding: 12px;
  }
  .hero-well-screen {
    height: 400px;
    border-radius: 24px;
    padding: 14px;
  }
  .hero-floating-panel {
    border-radius: 22px;
    padding: 20px;
  }
  .hero-floating-panel h2 {
    font-size: 24px;
  }
  .hero-floating-panel p {
    font-size: 14px;
  }
  .hero-nav-arrow-left,
  .hero-nav-arrow-right {
    display: none;
  }
  .slide-thumbnails-group {
    display: none;
  }
  .hero-intro-section {
    flex-direction: column;
    padding: 40px 20px 0 20px;
    gap: 32px;
  }
  .intro-text-col {
    width: 100%;
  }
  .intro-text-col h1 {
    font-size: 44px;
  }
  .intro-cta-row {
    flex-direction: column;
  }
  .assistant-section {
    margin: 44px 20px 0 20px;
    padding: 0;
  }
  .assistant-panel-card {
    border-radius: 32px;
    padding: 32px 26px;
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .assistant-text-content h2 {
    font-size: 28px;
  }
  .doctors-section,
  .features-section,
  .sections-directory-section,
  .faq-section {
    margin: 44px 20px 0 20px;
    padding: 0;
  }
  .section-title {
    font-size: 28px;
  }
  .doctors-grid-3x2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .sections-grid-3x2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .main-footer {
    padding: 0 16px 28px 16px;
    margin: 44px 0 0 0;
  }
  .footer-panel-card {
    border-radius: 32px;
    padding: 30px 24px;
  }
  .footer-inner-layout {
    flex-direction: column;
    gap: 28px;
  }
  .footer-brand-col {
    width: 100%;
  }
  .footer-nav-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}


/* Slide Background Layers */
.well-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-out;
  transform: scale(1.02);
  z-index: 1;
}
.well-slide-bg.active {
  opacity: 1;
  transform: scale(1);
}
.slide-dark-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(30, 26, 40, 0.72) 0%, rgba(30, 26, 40, 0.35) 50%, rgba(30, 26, 40, 0.1) 100%);
  z-index: 2;
  pointer-events: none;
}
