/* ============================================================
   DESIGN SYSTEM — Sveta Kosovska
   Vibe: Editorial Luxury
   Fonts: Prata (serif) + Satoshi (sans-serif)
   ============================================================ */

/* 1. Variables */
:root {
  --cream:        #FDFBF7;
  --cream-alt:    #F4F0EA;
  --ink:          #1a1a1a;
  --ink-mid:      #4a4a4a;
  --ink-light:    #939191;
  --accent:       #c9a882;
  --accent-hover: #b8926d;
  --white:        #ffffff;

  --font-serif: 'Prata', Georgia, serif;
  --font-sans:  'Satoshi', system-ui, sans-serif;

  --radius-sm:   0.5rem;
  --radius-md:   1rem;
  --radius-lg:   2rem;
  --radius-full: 9999px;

  --ease-smooth: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-fast:   cubic-bezier(0.32, 0.72, 0, 1);

  --t-smooth: 700ms var(--ease-smooth);
  --t-spring: 500ms var(--ease-spring);
  --t-fast:   250ms var(--ease-fast);

  /* Z-index system */
  --z-navbar:  90;
  --z-mobile:  80;
  --z-drawer:  210;
  --z-overlay: 200;
  --z-modal:   300;

  /* Layout */
  --section-padding: 8rem 0;
}

/* 2. Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* 3. Grain overlay — fixed, GPU-safe */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* 4. Typography tokens */
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-light);
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--ink);
}

.section-title em {
  font-style: normal;
  color: inherit;
}

/* 5. Container */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* 6. Scroll reveal */
.section-reveal {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 900ms var(--ease-smooth),
    transform 900ms var(--ease-smooth);
}
.section-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll offset compensation for sticky navbar */
#hero, #services, #products, #contacts {
  scroll-margin-top: 96px;
}

/* ============================================================
   NAVBAR — floating pill
   ============================================================ */
.navbar {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-navbar);
  width: calc(100% - 3rem);
  max-width: 880px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.75rem;
  background: rgba(253, 251, 247, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-full);
  border: 1px solid rgba(26, 26, 26, 0.07);
  transition: box-shadow var(--t-fast);
}

.navbar.scrolled .nav-inner {
  box-shadow: 0 8px 40px rgba(26, 26, 26, 0.09);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--ink-light);
  position: relative;
  transition: color var(--t-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--t-smooth);
}

.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { width: 100%; }

/* Burger */
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  position: relative;
  width: 30px;
  height: 30px;
  flex-direction: column;
}

.burger-line {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  position: absolute;
  left: 4px;
  transition: transform var(--t-smooth), opacity 200ms;
}
.burger-line:first-child { top: 10px; }
.burger-line:last-child  { top: 18px; }

.burger.open .burger-line:first-child {
  transform: translateY(4px) rotate(45deg);
}
.burger.open .burger-line:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Mobile overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-mobile);
  background: rgba(253, 251, 247, 0.96);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  background-image:
    radial-gradient(ellipse 60% 40% at 70% 30%, rgba(201, 168, 130, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 30% at 20% 80%, rgba(26, 26, 26, 0.03) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-smooth);
}
.mobile-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.mobile-nav li {
  overflow: hidden;
}

.mobile-nav-link {
  display: block;
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--ink);
  opacity: 0;
  transform: translateY(24px);
  transition:
    color var(--t-fast),
    opacity var(--t-smooth),
    transform var(--t-smooth);
}
.mobile-overlay.open .mobile-nav-link         { opacity: 1; transform: translateY(0); }
.mobile-overlay.open li:nth-child(1) .mobile-nav-link { transition-delay: 80ms;  }
.mobile-overlay.open li:nth-child(2) .mobile-nav-link { transition-delay: 140ms; }
.mobile-overlay.open li:nth-child(3) .mobile-nav-link { transition-delay: 200ms; }
.mobile-overlay.open li:nth-child(4) .mobile-nav-link { transition-delay: 260ms; }
.mobile-nav-link:hover { color: var(--accent); }

/* ============================================================
   HERO — full-bleed photo, text overlay at bottom
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  overflow: hidden;
}

/* Full-bleed background image */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg .photo-placeholder,
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
  background: linear-gradient(160deg, #c8c0b6 0%, #a89b8e 25%, #8b7b6e 55%, #6b5a4e 80%, #4a3d34 100%);
  color: transparent;
  font-size: 0;
}

/* Dark gradient for text readability */
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 25%,
    rgba(8, 6, 4, 0.25) 55%,
    rgba(8, 6, 4, 0.72) 100%
  );
  pointer-events: none;
}

/* Content overlay */
.hero-overlay {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 2.5rem 2.75rem;
}

/* Name + title */
.hero-identity {
  margin-bottom: 2.25rem;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4.5rem, 10vw, 9rem);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--white);
}

.hero-caption {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.9rem;
  font-family: var(--font-sans);
  font-weight: 400;
}

/* Info row at bottom */
.hero-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 1.25rem;
}

.hero-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-right: 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-info-item:nth-child(2) {
  padding-left: 2rem;
}

.hero-info-item:last-child {
  border-right: none;
  padding-left: 2rem;
  padding-right: 0;
}

.hero-info-item span:first-child {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-sans);
}

.hero-info-item span:last-child {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-sans);
  line-height: 1.5;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
}

.hero-scroll-hint span {
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-light);
}

.scroll-line {
  width: 1px;
  height: 2.75rem;
  background: linear-gradient(to bottom, var(--ink-light), transparent);
  animation: scrollPulse 2.2s var(--ease-smooth) infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.9; transform: scaleY(1); }
  50%       { opacity: 0.2; transform: scaleY(0.4); }
}

/* ============================================================
   SERVICES — minimal list
   ============================================================ */
.services {
  padding: var(--section-padding);
  background: var(--cream-alt);
}

.services-header {
  margin-bottom: 3.5rem;
}

.services-list {
  border-top: 1px solid rgba(26, 26, 26, 0.09);
}

/* service-row is now a <button> inside <li> — reset list item */
.services-list li {
  list-style: none;
  display: block;
}

.service-row {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto 2.5rem;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  padding: 1.875rem 0;
  border: none;
  border-bottom: 1px solid rgba(26, 26, 26, 0.09);
  background: transparent;
  font-family: var(--font-sans);
  text-align: left;
  cursor: pointer;
  transition:
    padding-left var(--t-smooth),
    background 200ms;
  outline: none;
}

.service-row:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  border-radius: 4px;
}

.service-row:hover {
  padding-left: 0.75rem;
}

.service-num {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  color: var(--ink-light);
  letter-spacing: 0.05em;
}

.service-name {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--ink);
  transition: color var(--t-fast);
}

.service-row:hover .service-name { color: var(--accent); }

.service-price {
  font-size: 0.8rem;
  color: var(--ink-light);
  white-space: nowrap;
}

.service-arrow {
  color: var(--ink-light);
  display: flex;
  align-items: center;
  transition: transform var(--t-spring), color var(--t-fast);
}

.service-row:hover .service-arrow {
  transform: translateX(5px);
  color: var(--accent);
}

/* ============================================================
   DRAWER — slide-in from right
   ============================================================ */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: rgba(8, 6, 3, 0.52);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-smooth);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-drawer);
  width: min(500px, 100vw);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--t-smooth);
  will-change: transform;
}

.drawer.active {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 2.5rem 1.75rem;
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
  flex-shrink: 0;
}

.drawer-title {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 300;
  color: var(--ink);
}

.drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-light);
  padding: 0.5rem;
  border-radius: 50%;
  transition: color var(--t-fast), background var(--t-fast);
  display: flex;
}
.drawer-close:hover {
  color: var(--ink);
  background: rgba(26, 26, 26, 0.06);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 2rem 2.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(26,26,26,0.12) transparent;
}

.drawer-intro {
  font-size: 0.9375rem;
  color: var(--ink-mid);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.drawer-question {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--ink-light);
  margin-bottom: 1.5rem;
}

/* Consultation sub-services */
.drawer-services {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.drawer-service-item {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(26, 26, 26, 0.025);
  border: 1px solid rgba(26, 26, 26, 0.06);
  transition: border-color var(--t-fast);
}
.drawer-service-item:hover {
  border-color: rgba(201, 168, 130, 0.45);
}
.drawer-service-item--featured {
  background: rgba(201, 168, 130, 0.07);
  border-color: rgba(201, 168, 130, 0.3);
}

.drawer-service-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.drawer-service-name {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.35;
}

.drawer-service-price {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  white-space: nowrap;
  padding-top: 0.125rem;
}

.drawer-service-desc {
  font-size: 0.8125rem;
  color: var(--ink-light);
  line-height: 1.65;
}

/* Wardrobe — bullet list */
.drawer-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.drawer-list li {
  font-size: 0.9rem;
  color: var(--ink-mid);
  line-height: 1.65;
  padding-left: 1.25rem;
  position: relative;
}
.drawer-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
  top: 0.1em;
}

/* Wardrobe — online/offline options */
.drawer-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.drawer-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(26, 26, 26, 0.025);
  border: 1px solid rgba(26, 26, 26, 0.06);
}

.drawer-option-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}

.drawer-option-price {
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 500;
  text-align: right;
}

.drawer-option-price em {
  font-style: normal;
  color: var(--ink-light);
  font-size: 0.75rem;
  font-weight: 400;
  display: block;
  margin-top: 0.125rem;
}

/* Big price display (shopping / offline / looks) */
.drawer-price-display {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1.75rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-md);
  background: rgba(201, 168, 130, 0.07);
  border: 1px solid rgba(201, 168, 130, 0.22);
}

.drawer-big-price {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
}

.drawer-price-note {
  font-size: 0.8125rem;
  color: var(--ink-light);
}

/* Drawer footer */
.drawer-footer {
  padding: 1.5rem 2.5rem;
  border-top: 1px solid rgba(26, 26, 26, 0.08);
  flex-shrink: 0;
  background: var(--cream);
}

.drawer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem 1rem 1rem 1.625rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: background var(--t-fast);
}
.drawer-cta:hover { background: #333; }
.drawer-cta:active { transform: scale(0.98); }
.drawer-cta .cta-arrow { background: rgba(255,255,255,0.12); }

/* CTA arrow circle (used in drawer buttons) */
.cta-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  transition: transform var(--t-spring);
}
.drawer-cta:hover .cta-arrow {
  transform: translateX(2px) translateY(-1px) scale(1.06);
}
.product-btn:hover .cta-arrow {
  transform: translateX(2px) translateY(-1px) scale(1.06);
}

/* ============================================================
   PRODUCTS — Double-Bezel cards
   ============================================================ */
.products {
  padding: var(--section-padding);
  background: var(--cream);
}

.products-header {
  margin-bottom: 4rem;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* Outer shell */
.product-shell {
  background: rgba(26, 26, 26, 0.03);
  border: 1px solid rgba(26, 26, 26, 0.07);
  border-radius: var(--radius-lg);
  padding: 0.375rem;
  transition:
    transform var(--t-smooth),
    box-shadow var(--t-smooth);
}
.product-shell:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 64px rgba(26, 26, 26, 0.09);
}

/* Inner core */
.product-core {
  background: var(--cream);
  border-radius: calc(var(--radius-lg) - 0.375rem);
  padding: 2.5rem;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.75);
}

.product-core--dark {
  background: var(--ink);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.04);
}
.product-core--dark .product-tag  {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.45);
}
.product-core--dark .product-name {
  color: #FDFBF7 !important; /* fix: ensure cream, not accent, on dark bg */
}
.product-core--dark .product-desc { color: rgba(253,251,247,0.55); }

.product-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background: rgba(26, 26, 26, 0.06);
  border-radius: var(--radius-full);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 500;
  color: var(--ink-light);
  margin-bottom: 1.5rem;
  width: fit-content;
}

.product-name {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 1rem;
  flex: 1;
}

.product-desc {
  font-size: 0.875rem;
  color: var(--ink-light);
  line-height: 1.72;
  margin-bottom: 2rem;
}

/* Product button */
.product-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 0.75rem 0.75rem 1.25rem;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: background var(--t-fast);
  width: fit-content;
}
.product-btn:hover { background: var(--accent-hover); }
.product-btn:active { transform: scale(0.97); }

.product-btn .cta-arrow {
  width: 1.625rem;
  height: 1.625rem;
  background: rgba(255,255,255,0.2);
}

.product-btn--light {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  pointer-events: none;
}

/* ============================================================
   CONTACTS
   ============================================================ */
.contacts {
  padding: var(--section-padding);
  background: var(--cream-alt);
}

.contacts-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: start;
}

.contacts-links {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(26, 26, 26, 0.09);
  padding-top: 0.5rem;
}

.contact-link {
  display: grid;
  grid-template-columns: 9rem 1fr 1.5rem;
  align-items: center;
  gap: 1rem;
  padding: 1.625rem 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.09);
  transition: padding-left var(--t-smooth);
}
.contact-link:hover { padding-left: 0.75rem; }

.contact-platform {
  font-family: var(--font-serif);
  font-size: 1.4375rem;
  font-weight: 300;
  color: var(--ink);
}

.contact-handle {
  font-size: 0.8rem;
  color: var(--ink-light);
}

.contact-arrow {
  color: var(--ink-light);
  transition: transform var(--t-spring), color var(--t-fast);
  flex-shrink: 0;
}
.contact-link:hover .contact-arrow {
  transform: translate(3px, -3px);
  color: var(--accent);
}

/* Form Styles */
.contact-form-wrapper {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group--relative {
  position: relative;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-mid);
}

.form-group input, .form-group select {
  padding: 1rem 1.25rem;
  border: 1px solid rgba(26,26,26,0.1);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,168,130,0.1);
}

.form-group input:focus-visible,
.form-group select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,168,130,0.1);
}

.submit-btn {
  margin-top: 1rem;
  padding: 1.25rem;
  background: var(--ink);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.submit-btn:hover { background: #333; }
.submit-btn:active { transform: scale(0.98); }

.submit-btn.loading {
  background: var(--ink-light);
  pointer-events: none;
}

.btn-loader {
  display: none;
}
.submit-btn.loading .btn-text {
  display: none;
}
.submit-btn.loading .btn-loader {
  display: inline-block;
}

/* Form feedback messages (success/error) */
.form-feedback {
  display: none;
}
.form-feedback[hidden] {
  display: none;
}

.form-success, .form-error {
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  text-align: center;
  margin-top: 1rem;
}

.form-success {
  background: #edf7ed;
  color: #1e4620;
  border: 1px solid #c8e6c9;
}

.form-error {
  background: #fdeded;
  color: #5f2120;
  border: 1px solid #ffcdd2;
}

.service-validator {
  opacity: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-light);
  margin-top: 1rem;
  line-height: 1.5;
}

/* ============================================================
   LEAD MODAL
   ============================================================ */
.lead-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,26,0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-smooth), visibility var(--t-smooth);
}
.lead-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lead-modal {
  background: var(--cream-alt);
  width: 90%;
  max-width: 500px;
  border-radius: var(--radius-md);
  position: relative;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.98);
  transition: transform var(--t-smooth);
}
.lead-modal-overlay.active .lead-modal {
  transform: translateY(0) scale(1);
}

.lead-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--cream-alt);
  border: none;
  color: var(--ink-light);
  cursor: pointer;
  padding: 0.5rem;
  transition: color var(--t-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  border-radius: 50%;
}
.lead-modal-close:hover { color: var(--ink); }

.lead-modal-scroll {
  overflow-y: auto;
  padding: 3rem 2rem 2rem;
  flex: 1;
  min-height: 0;
}

.lead-modal-header {
  text-align: center;
  margin-bottom: 2rem;
}
.lead-modal-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.lead-modal-desc {
  font-size: 0.9rem;
  color: var(--ink-mid);
}

.modal-form-wrapper {
  background: transparent;
  padding: 0;
  box-shadow: none;
}

/* ============================================================
   SERVICE PILLS (multi-select)
   ============================================================ */
.service-pills {
  margin-top: 0.5rem;
}

.pill-group-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-light);
  font-weight: 600;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}
.pill-group-label:first-child {
  margin-top: 0;
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.service-pill {
  cursor: pointer;
  display: inline-flex;
}
.service-pill input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}
.service-pill span {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(26,26,26,0.15);
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--ink-mid);
  background: transparent;
  transition:
    background 200ms ease,
    border-color 200ms ease,
    color 200ms ease;
  user-select: none;
  white-space: nowrap;
}
.service-pill span:hover {
  border-color: var(--ink-light);
  color: var(--ink);
}
.service-pill input[type="checkbox"]:checked + span {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 1.875rem 0;
  background: var(--cream);
  border-top: 1px solid rgba(26, 26, 26, 0.07);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  color: var(--ink);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-copy, .footer-link {
  font-size: 0.75rem;
  color: var(--ink-light);
  transition: color var(--t-fast);
}

.footer-link:hover {
  color: var(--accent);
}

/* ============================================================
   LEGAL PAGES (Oferta, Privacy)
   ============================================================ */
.legal-page {
  padding: 10rem 0 6rem;
  min-height: 80vh;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 3rem;
  color: var(--ink);
}

.legal-content h2 {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 500;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--ink);
}

.legal-content p, .legal-content li {
  font-size: 1rem;
  color: var(--ink-mid);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
}

.footer-social {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink-light);
  transition: color var(--t-fast);
}
.footer-social:hover { color: var(--accent); }

/* ============================================================
   RESPONSIVE — mobile < 768px
   ============================================================ */
@media (max-width: 767px) {
  /* Navbar */
  .nav-links { display: none; }
  .burger    { display: flex; }

  .navbar {
    top: 1rem;
    width: calc(100% - 2rem);
  }

  /* Container */
  .container { padding: 0 1.25rem; }

  /* Disable scroll-reveal on mobile — prevents viewport jitter */
  .section-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  /* Hero */
  .hero-scroll-hint { display: none; }

  /* Center Svetlana in the landscape photo when cropped to mobile portrait */
  .hero-bg img {
    object-position: center 35%;
  }

  .hero-overlay {
    padding: 0 1.25rem 2rem;
  }

  .hero-title { font-size: clamp(3.5rem, 15vw, 5rem); }

  .hero-info-item span:first-child {
    font-size: 0.875rem;
  }

  .hero-info-item span:last-child {
    font-size: 0.8rem;
  }

  .hero-info {
    grid-template-columns: 1fr;
    gap: 0.875rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hero-info-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-right: 0;
    padding-bottom: 1.1rem;
    gap: 0.4rem;
  }

  .hero-info-item:nth-child(2),
  .hero-info-item:last-child {
    padding-left: 0;
  }

  .hero-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  /* Services */
  .services { padding: 5rem 0; }

  .service-row {
    grid-template-columns: 2.5rem 1fr 1.75rem;
    gap: 0.875rem;
    padding: 1.5rem 0;
  }

  .service-price  { display: none; }
  .service-name   { font-size: 1.375rem; }

  /* Drawer */
  .drawer { width: 100vw; }
  .drawer-header { padding: 1.5rem 1.5rem 1.25rem; }
  .drawer-body   { padding: 1.5rem; }
  .drawer-footer { padding: 1.25rem 1.5rem; }

  /* Products */
  .products       { padding: 5rem 0; }
  .products-grid  { grid-template-columns: 1fr; }

  /* Contacts */
  .contacts       { padding: 5rem 0; }
  .contacts-inner { grid-template-columns: 1fr; gap: 3rem; }

  .contact-link {
    grid-template-columns: 7.5rem 1fr 1.5rem;
  }

  .contact-platform { font-size: 1.25rem; }

  /* Lead Modal */
  .lead-modal {
    padding: 2.5rem 1.25rem 1.5rem;
    width: 95%;
  }
  .lead-modal-title { font-size: 1.5rem; }
  .lead-modal-close { top: 1rem; right: 1rem; }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }
  
  .footer-legal {
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Section titles */
  .section-title { font-size: clamp(2rem, 8vw, 2.75rem); }
}

/* ============================================================
   REDUCED MOTION — accessibility
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .section-reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .scroll-line {
    animation: none;
    opacity: 0.6;
  }

  .drawer {
    transition: none;
  }

  .mobile-overlay {
    transition: none;
  }

  .mobile-nav-link {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .service-row,
  .contact-link,
  .product-shell {
    transition: none;
  }

  .nav-link::after {
    transition: none;
  }
}
