:root {
  --bg: #fbfaf7;
  --fg: #1a1a1a;
  --muted: #6b6b6b;
  --primary: #b08968;
  --primary-dark: #8a6a4f;
  --card: #ffffff;
  --border: #e8e4dc;
  --shadow: 0 10px 30px -10px rgba(0,0,0,.12);
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,250,247,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; max-width: 1200px; margin: 0 auto; }
.brand { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 600; color: var(--primary-dark); white-space: nowrap; }
.brand .short { display: inline; }
.brand .full { display: none; }
@media (min-width: 1024px) { .brand .short { display: none; } .brand .full { display: inline; } }
.nav { display: none; gap: 1.75rem; }
.nav a { font-size: .95rem; color: var(--muted); transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--primary-dark); }
@media (min-width: 768px) { .nav { display: flex; } }
.burger { display: block; background: none; border: none; cursor: pointer; padding: .5rem; font-size: 1.5rem; }
@media (min-width: 768px) { .burger { display: none; } }
.mobile-nav { display: flex; flex-direction: column; gap: .5rem; padding: 0 1.25rem; border-top: 1px solid var(--border); background: var(--bg); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .32s ease, padding .25s ease, opacity .25s ease; }
.mobile-nav.open { max-height: 380px; padding: 1rem 1.25rem; opacity: 1; }
@media (min-width: 768px) { .mobile-nav { max-height: 0 !important; opacity: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; } }
.mobile-nav a { padding: .65rem 0; color: var(--fg); border-bottom: 1px solid var(--border); }

/* Buttons */
.btn {
  display: inline-block; padding: .85rem 1.75rem;
  background: var(--primary); color: #fff;
  border: none; border-radius: var(--radius); cursor: pointer;
  font-size: 1rem; font-weight: 500;
  transition: background .2s, transform .15s;
}
.btn:hover { background: var(--primary-dark); }
.btn:active { transform: scale(.98); }
.btn-outline { background: transparent; color: var(--primary-dark); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

/* Sections */
section { padding: 4rem 0; }
.hero {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f5efe6 0%, #fbfaf7 100%);
}
.hero p.lead { font-size: 1.15rem; color: var(--muted); margin: 1.25rem 0 2rem; max-width: 600px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Grid cards */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--card);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -15px rgba(0,0,0,.15); }
.card h3 { margin-bottom: .5rem; color: var(--primary-dark); }
.card .meta { font-size: .85rem; color: var(--muted); margin-top: 1rem; display: flex; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--border); }
.card p { color: var(--muted); font-size: .95rem; }

.avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 600;
  margin-bottom: 1rem;
}

/* Form */
.form { max-width: 720px; margin: 0 auto; background: var(--card); padding: 2rem; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); }
.form-row { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-bottom: 1rem; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: .9rem; font-weight: 500; margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .75rem .9rem;
  border: 1px solid var(--border); border-radius: 10px;
  font-size: 1rem; font-family: inherit;
  background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(176,137,104,.15);
}
.field textarea { min-height: 100px; resize: vertical; }

/* Day picker */
.day-strip { display: flex; gap: .6rem; overflow-x: auto; padding: .5rem 0 1rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.day-strip::-webkit-scrollbar { display: none; }
.day-btn {
  flex: 0 0 auto; min-width: 72px; padding: .8rem .6rem;
  border: 1.5px solid var(--border); border-radius: 12px;
  background: var(--card); cursor: pointer; text-align: center;
  scroll-snap-align: start;
  transition: all .15s;
  font-family: inherit;
}
.day-btn .dow { font-size: .75rem; color: var(--muted); text-transform: uppercase; }
.day-btn .num { font-size: 1.3rem; font-weight: 600; margin-top: .15rem; }
.day-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.day-btn.active .dow { color: rgba(255,255,255,.85); }

/* Time slots */
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: 1rem; }
@media (min-width: 640px) { .slots { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .slots { grid-template-columns: repeat(5, 1fr); } }
.slot {
  padding: .85rem .3rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--card); cursor: pointer;
  font-size: .95rem; font-family: inherit;
  min-height: 52px;
  transition: all .15s;
}
.slot:hover:not(:disabled) { border-color: var(--primary); }
.slot.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.slot:disabled { opacity: .4; cursor: not-allowed; border-style: dashed; }

.legend { display: flex; gap: 1rem; font-size: .8rem; color: var(--muted); margin-top: .75rem; flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: .35rem; }
.legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

/* Footer */
.footer { background: #1a1a1a; color: #d4d4d4; padding: 3rem 0 2rem; margin-top: 4rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer h4 { color: #fff; margin-bottom: 1rem; font-family: 'Playfair Display', serif; }
.footer a { color: #d4d4d4; display: block; padding: .25rem 0; font-size: .9rem; }
.footer a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid #333; padding-top: 1.5rem; margin-top: 2rem; font-size: .85rem; color: #aaa; text-align: center; }

.section-title { text-align: center; margin-bottom: 3rem; }
.section-title p { color: var(--muted); margin-top: .5rem; }

.alert { padding: 1rem; border-radius: 10px; margin: 1rem 0; }
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-warn { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }

/* ===== Accessibility ===== */
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible, .btn-outline:focus-visible { box-shadow: 0 0 0 3px rgba(176,137,104,.35); }

/* ===== Hero decorative & page hero variant ===== */
.hero { position: relative; overflow: hidden; }
.hero::after {
  content: ''; position: absolute; right: -8%; top: -20%;
  width: min(550px, 80vw); height: min(550px, 80vw);
  background: radial-gradient(circle, rgba(176,137,104,.11) 0%, transparent 65%);
  border-radius: 50%; pointer-events: none; z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-sm { padding: 2.5rem 0 3rem; }
.hero-sm::after { display: none; }

/* ===== Trust stats strip ===== */
.stats-strip { background: var(--primary); padding: 2.5rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem 1rem; text-align: center; }
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(4,1fr); } }
.stat { color: #fff; }
.stat-num { display: block; font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; line-height: 1; }
.stat-label { font-size: .82rem; opacity: .85; margin-top: .4rem; display: block; letter-spacing: .03em; }

/* ===== Card hover accent ===== */
.card { position: relative; overflow: hidden; }
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--primary); border-radius: var(--radius) var(--radius) 0 0;
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.card:hover::before { transform: scaleX(1); }

/* ===== Service icon & card subtitle ===== */
.service-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, rgba(176,137,104,.15), rgba(138,106,79,.22));
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 1rem; color: var(--primary-dark);
}
.card-sub { font-size: .84rem; color: var(--primary-dark); font-weight: 500; margin-bottom: .6rem; letter-spacing: .01em; }

/* ===== Floating mobile CTA ===== */
.float-cta {
  display: none; position: fixed; bottom: 1.5rem; right: 1.25rem; z-index: 90;
  background: var(--primary); color: #fff !important; padding: .85rem 1.6rem;
  border-radius: 50px; font-weight: 500; font-size: .95rem;
  box-shadow: 0 4px 24px rgba(176,137,104,.45);
  transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap;
}
.float-cta:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(176,137,104,.55); }
@media (max-width: 767px) { .float-cta { display: inline-block; } }

/* ===== Section warm background ===== */
.section-warm { background: #f5efe6; }

/* ===== Footer address (non-link) ===== */
.footer-addr { display: block; padding: .25rem 0; font-size: .9rem; color: #d4d4d4; }

/* ===== Clinic CTA section ===== */
.clinic-cta { background: linear-gradient(135deg, #b08968, #8a6a4f); padding: 4rem 0; text-align: center; }
.clinic-cta h2 { color: #fff; }
.clinic-cta p { color: rgba(255,255,255,.85); margin: 1rem 0 2rem; font-size: 1.1rem; }
.btn-white { background: #fff; color: var(--primary-dark); }
.btn-white:hover { background: rgba(255,255,255,.92); color: var(--primary-dark); }

/* ===== Content section (clinic) ===== */
.content-section h2 { margin-bottom: 1rem; }
.content-section .section-lead { color: var(--muted); margin-bottom: 2rem; }
.content-section-inner { max-width: 820px; margin: 0 auto; }

/* ===== Slots placeholder ===== */
.slots-placeholder {
  color: var(--muted); grid-column: 1/-1; padding: 1.25rem;
  text-align: center; background: var(--bg);
  border: 1.5px dashed var(--border); border-radius: 10px; font-size: .95rem;
}

/* ===== Form validation errors ===== */
.field-error { font-size: .82rem; color: #c53030; margin-top: .3rem; display: none; }
.field.has-error input, .field.has-error select { border-color: #e53e3e; box-shadow: 0 0 0 3px rgba(229,62,62,.12); }
.field.has-error .field-error { display: block; }

/* ===== 4-column team grid ===== */
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4,1fr); } }
@media (min-width: 640px) and (max-width: 1023px) { .grid-4 { grid-template-columns: repeat(2,1fr); } }

/* ===== Language switcher ===== */
.lang-switch { display: flex; gap: .25rem; align-items: center; }
.lang-btn {
  background: none; border: 1.5px solid var(--border); border-radius: 6px;
  padding: .25rem .55rem; font-size: .78rem; font-weight: 600; cursor: pointer;
  color: var(--muted); transition: all .15s; font-family: inherit; line-height: 1.4;
}
.lang-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.lang-btn:hover:not(.active) { border-color: var(--primary); color: var(--primary-dark); }

/* ===== Armenian heading font ===== */
html[lang="hy"] h1, html[lang="hy"] h2, html[lang="hy"] h3, html[lang="hy"] h4 {
  font-family: 'Noto Serif Armenian', Georgia, serif;
}
