/* ============================================================
   ER Flowers · Base — reset, tipoqrafiya, ümumi yardımçılar
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--cream);
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-400);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  max-width: 100%;
  position: relative;
}

/* İncə kağız/qum dənəsi atmosferi */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input { font: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

::selection { background: var(--wine); color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 3px;
  border-radius: 4px;
}

/* — Tipoqrafiya — */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.04; letter-spacing: -0.01em; }

/* — Layout köməkçiləri — */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  position: relative;
  z-index: 1;
}

.section { padding-block: var(--space-section); position: relative; }

main { position: relative; z-index: 1; }

/* — Skip link — */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  background: var(--wine);
  color: var(--cream);
  padding: 10px 18px;
  border-radius: var(--r-pill);
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 16px; }

/* — Eyebrow (kiçik başlıq) — */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wine);
}
.eyebrow--center { justify-content: center; }
.eyebrow__line { width: 34px; height: 1px; background: var(--gold); display: inline-block; }

/* — Bölmə başlıqları — */
.section__head { margin-bottom: clamp(2rem, 1rem + 3vw, 3.6rem); }
.section__head:not(.section__head--split) { text-align: center; max-width: 680px; margin-inline: auto; }
.section__title {
  font-size: var(--fs-h2);
  color: var(--ink);
  margin-top: 0.5rem;
}
.section__title em { font-style: italic; color: var(--wine); }
.section__sub {
  font-size: var(--fs-sub);
  color: var(--ink-2);
  margin-top: 0.8rem;
}
.section__head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  flex-wrap: wrap;
}
.section__sub--right { max-width: 320px; text-align: right; margin-top: 0; }

.stars { color: var(--gold); letter-spacing: 0.1em; }

@media (max-width: 640px) {
  .section__head--split { flex-direction: column; align-items: flex-start; }
  .section__sub--right { text-align: left; }
}

/* — Vizual gizlətmə (yalnız ekran oxuyucu üçün) — */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
