/* ============================================================
   Fashion We Love Milan — luxury concierge landing
   Palette: lilac/lavender · Editorial · Mobile-first
   ============================================================ */

:root {
  /* Lavender palette — matches the logo plate (#D5DDFF) */
  --bg-page: #D5DDFF;
  --bg-soft: #E2E7FF;
  --bg-card: #F2F4FF;
  --bg-band: #C2CCF5;

  /* Ink */
  --ink: #1E1830;
  --ink-soft: #4A4360;
  --ink-muted: #6B6480;

  /* Action */
  --purple: #7B6FB5;
  --purple-deep: #5F548A;
  --purple-shadow: rgba(95, 84, 138, 0.28);

  /* Lines */
  --rule: rgba(30, 24, 48, 0.12);
  --rule-soft: rgba(30, 24, 48, 0.06);

  /* Fonts */
  --font-display: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-script: 'Allura', 'Pinyon Script', 'Dancing Script', cursive;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  /* Layout */
  --container: 1240px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  /* Type */
  --label-tracking: 0.24em;
  --label-tracking-wide: 0.32em;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, picture, video {
  display: block;
  max-width: 100%;
  height: auto;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; padding: 0; margin: 0; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
}

.section {
  padding-block: clamp(56px, 8vw, 104px);
}

.section-tight {
  padding-block: clamp(40px, 5vw, 64px);
}

.section-label {
  display: block;
  text-align: center;
  font-size: 12px;
  letter-spacing: var(--label-tracking-wide);
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: clamp(36px, 5vw, 56px);
}

/* ---------- Top language switcher ---------- */
.lang-switch {
  position: absolute;
  top: 20px;
  right: clamp(20px, 4vw, 40px);
  display: flex;
  gap: var(--space-3);
  font-size: 12px;
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
  z-index: 10;
}
.lang-switch a {
  color: var(--ink-soft);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease;
}
.lang-switch a:hover { color: var(--purple-deep); }
.lang-switch a.is-active {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--purple);
}

/* ---------- Logo header ---------- */
.brand {
  position: relative;
  text-align: center;
  padding-top: clamp(40px, 6vw, 64px);
  padding-bottom: clamp(24px, 3vw, 32px);
}
.brand__logo {
  display: block;
  margin: 0 auto;
  width: clamp(240px, 36vw, 460px);
  height: auto;
  -webkit-user-select: none;
  user-select: none;
}

/* ---------- Hero ---------- */
.hero {
  padding-bottom: clamp(48px, 7vw, 80px);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 var(--space-6);
  letter-spacing: -0.005em;
}
.hero__text {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 var(--space-5);
  max-width: 440px;
}
.hero__media {
  position: relative;
  /* Feather: strong on sides (hide magazine page edges), gentler top/bottom (preserve lake context) */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 22%, #000 78%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 22%, #000 78%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-composite: intersect;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

/* ---------- Telegram button ---------- */
.btn-telegram {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: var(--purple);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
  border-radius: var(--radius-md);
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 24px -8px var(--purple-shadow);
}
.btn-telegram:hover {
  background: var(--purple-deep);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -8px var(--purple-shadow);
}
.btn-telegram:active { transform: translateY(0); }
.btn-telegram svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---------- 4-column grids (steps / benefits) ---------- */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 48px);
}
.step, .benefit {
  text-align: left;
  padding-inline: var(--space-2);
}
.step__icon, .benefit__icon {
  width: 38px;
  height: 38px;
  margin-bottom: var(--space-5);
  color: var(--ink);
}
.step__icon svg, .benefit__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.4;
  fill: none;
}
.step__title, .benefit__title {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 var(--space-3);
  line-height: 1.3;
}
.step__text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* Dividers between benefits in the "why us" row */
.benefits {
  position: relative;
}
.benefits .grid-4 > .benefit {
  text-align: center;
  padding: 0 var(--space-4);
  position: relative;
}
.benefits .grid-4 > .benefit + .benefit::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--rule);
}
.benefits .benefit__icon {
  margin-inline: auto;
  margin-bottom: var(--space-4);
}

/* ---------- Editorial block ---------- */
.editorial {
  background: var(--bg-soft);
  padding-block: clamp(56px, 7vw, 88px);
}
.editorial__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.editorial__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(95, 84, 138, 0.28);
}
.editorial__media img {
  width: 100%;
  height: auto;
  display: block;
}
.editorial__text p {
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 var(--space-5);
}
.editorial__sign {
  font-family: var(--font-script);
  font-size: clamp(28px, 3.4vw, 38px);
  color: var(--purple-deep);
  line-height: 1.1;
  margin-top: var(--space-6);
}

/* ---------- Final CTA ---------- */
.cta {
  padding-block: clamp(48px, 6vw, 72px);
}
.cta__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.cta__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 var(--space-5);
}
.cta__text {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0 0 var(--space-5);
}
.contacts {
  display: grid;
  gap: var(--space-4);
}
.contacts__row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--ink);
}
.contacts__row strong {
  font-weight: 500;
  color: var(--ink-soft);
  margin-right: 8px;
}
.contacts__row span { font-weight: 500; }
.contacts__icon {
  width: 22px;
  height: 22px;
  color: var(--purple-deep);
  flex-shrink: 0;
}
.contacts__icon svg {
  width: 100%; height: 100%;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

/* ---------- Bottom gallery (4 images) ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(8px, 1.2vw, 16px);
  padding-inline: clamp(20px, 4vw, 56px);
  margin-bottom: 0;
}
.gallery__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--bg-band);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1);
}
.gallery__item:hover img { transform: scale(1.04); }

/* ---------- Footer band ---------- */
.footer {
  text-align: center;
  padding-block: clamp(28px, 3vw, 36px);
  font-size: 11.5px;
  letter-spacing: var(--label-tracking-wide);
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--bg-page);
}
.footer__heart { color: var(--purple); }

/* ---------- Responsive: tablet ---------- */
@media (max-width: 960px) {
  .hero__grid,
  .editorial__grid,
  .cta__grid {
    grid-template-columns: 1fr;
  }
  .hero__media { order: -1; max-width: 520px; margin-inline: auto; }
  .editorial__media { max-width: 520px; margin-inline: auto; }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    row-gap: var(--space-7);
  }
  .benefits .grid-4 > .benefit + .benefit::before { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .brand__city { margin-left: 60px; }
}

/* ---------- Responsive: mobile ---------- */
@media (max-width: 560px) {
  body { font-size: 16px; }
  .lang-switch { top: 14px; right: 16px; }
  .brand__small { font-size: 18px; }
  .brand__love { font-size: 48px; }
  .brand__city { font-size: 30px; margin-left: 40px; margin-top: -8px; }
  .hero__title { font-size: 30px; }
  .grid-4 { grid-template-columns: 1fr; row-gap: var(--space-6); }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .editorial__sign { font-size: 28px; }
  .btn-telegram { padding: 14px 22px; font-size: 12px; width: 100%; justify-content: center; }
}

/* ---------- Subtle fade-in on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .lang-switch, .btn-telegram, .gallery { display: none; }
  body { background: #fff; color: #000; }
}
