/* ============================================
   MORO MEDIA GROUP — Quiet Luxury
   Palette: pitch black · deep burgundy · pure white · gold (logo only)
   ============================================ */

:root {
  --nero: #0a0908;
  --nero-soft: #121010;
  --bordeaux: #4d1220;
  --bordeaux-deep: #380d17;
  --rosso-acceso: #c1495e;
  --bianco: #f7f4ef;
  --oro: #c9a45c;
  --grigio: #8a8580;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-label: 'Jost', 'Helvetica Neue', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--nero);
  color: var(--bianco);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

/* никаких синих ссылок по умолчанию — ни в одном браузере */
:root { color-scheme: dark; }
a { color: var(--oro); text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:has(> img) { color: inherit; }
a[x-apple-data-detectors] { color: inherit !important; text-decoration: none !important; }

/* ---------- Loader ---------- */

.loader {
  position: fixed;
  inset: 0;
  background: var(--nero);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: opacity 1.2s ease, visibility 1.2s;
}

.loader__logo {
  mix-blend-mode: screen; /* растворяет чёрный фон PNG в фоне страницы */
  width: min(300px, 60vw);
  opacity: 0;
  animation: logoGlow 2.4s ease forwards;
}

@keyframes logoGlow {
  0%   { opacity: 0; filter: drop-shadow(0 0 0 rgba(201,164,92,0)); transform: scale(0.97); }
  55%  { opacity: 1; }
  100% { opacity: 1; filter: drop-shadow(0 0 28px rgba(201,164,92,0.45)); transform: scale(1); }
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* мягкое золотое сияние за логотипом */
.loader__alone {
  position: absolute;
  width: min(560px, 90vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,164,92,0.22), rgba(201,164,92,0.06) 45%, transparent 70%);
  animation: alonePulse 3.4s ease-in-out infinite;
}

@keyframes alonePulse {
  0%, 100% { transform: scale(0.92); opacity: 0.7; }
  50%      { transform: scale(1.06); opacity: 1; }
}

/* тонкие золотые лучи, медленно вращаются */
.loader__raggi {
  position: absolute;
  width: min(700px, 110vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(201,164,92,0.13) 0deg 1.6deg,
    transparent 1.6deg 24deg
  );
  -webkit-mask-image: radial-gradient(circle, transparent 26%, #000 40%, transparent 72%);
  mask-image: radial-gradient(circle, transparent 26%, #000 40%, transparent 72%);
  animation: raggiRuota 26s linear infinite;
  opacity: 0;
  animation-delay: 0s;
  animation-fill-mode: forwards;
}

@keyframes raggiRuota {
  0%   { transform: rotate(0deg); opacity: 0; }
  8%   { opacity: 1; }
  100% { transform: rotate(360deg); opacity: 1; }
}

/* летящие искры */
.scintilla {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe9b8 0%, #c9a45c 55%, transparent 75%);
  opacity: 0;
  animation: scintillaVolo var(--durata) ease-out var(--ritardo) infinite;
  pointer-events: none;
}

@keyframes scintillaVolo {
  0%   { transform: translate(0, 0) scale(0.3); opacity: 0; }
  15%  { opacity: 0.95; }
  70%  { opacity: 0.55; }
  100% { transform: translate(var(--dx), var(--dy)) scale(1); opacity: 0; }
}

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 48px;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(10,9,8,0.92), rgba(10,9,8,0));
  transition: background 0.4s;
}

.nav.is-scrolled {
  background: rgba(10,9,8,0.96);
  border-bottom: 1px solid rgba(201,164,92,0.18);
}

.nav__brand {
  font-family: var(--font-label);
  font-weight: 300;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 15px;
  color: var(--oro);
  text-decoration: none;
  white-space: nowrap;
}

.nav__brand span { color: var(--bianco); }

.nav__links {
  display: flex;
  gap: 34px;
}

.nav__links a {
  font-family: var(--font-label);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bianco);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s, color 0.3s;
}

.nav__links a:hover { opacity: 1; color: var(--oro); }

.nav__langs { display: flex; gap: 4px; }

.lang {
  font-family: var(--font-label);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--grigio);
  background: none;
  border: 1px solid transparent;
  padding: 5px 9px;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
}

.lang:hover { color: var(--bianco); }

.lang.is-active {
  color: var(--oro);
  border-color: rgba(201,164,92,0.45);
}

.nav__links a { white-space: nowrap; }

/* кнопка-«бургер»: видна только на узких экранах */
.nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
}

.nav__burger span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1px;
  background: var(--oro);
  transition: transform 0.35s ease, opacity 0.25s ease;
}

.nav__burger span:nth-child(1) { top: 15px; }
.nav__burger span:nth-child(2) { top: 21px; }
.nav__burger span:nth-child(3) { top: 27px; }

.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  animation: heroDrift 26s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(10,9,8,0.82) 0%,
      rgba(10,9,8,0.35) 40%,
      rgba(10,9,8,0.55) 75%,
      var(--nero) 100%);
}

.hero__kicker {
  font-family: var(--font-label);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--grigio);
  margin-bottom: 36px;
}

.hero__title {
  font-weight: 300;
  font-size: clamp(44px, 7.5vw, 96px);
  line-height: 1.12;
  letter-spacing: 0.01em;
}

.hero__title em {
  font-style: italic;
  color: var(--oro);
}

.hero__sub {
  max-width: 560px;
  margin-top: 40px;
  font-size: 22.5px;
  font-weight: 400;
  color: var(--grigio);
  line-height: 1.75;
}

.hero__rule {
  margin-top: 64px;
}

.hero__rule span {
  display: block;
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, rgba(201,164,92,0.7), transparent);
}

/* ---------- Section labels ---------- */

.section-label {
  font-family: var(--font-label);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--rosso-acceso); /* яркий винный — читается на чёрном */
  margin-bottom: 28px;
}

.mission .section-label,
.section-label--dark { color: var(--bordeaux); } /* на белом тёмный бордо читается */

.section-label--center { text-align: center; }

.section-label--light { color: rgba(247,244,239,0.65); }

/* ---------- Mission (white editorial break) ---------- */

.mission {
  background: var(--bianco);
  color: var(--nero);
  padding: 90px 24px;
}

.mission__inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.mission__text {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.005em;
}

/* ---------- Founder ---------- */

.founder {
  padding: 96px 24px;
  scroll-margin-top: 90px;
}

.founder__inner {
  max-width: 1020px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 72px;
  align-items: center;
}

.founder__portrait {
  position: relative;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  padding: 10px;
  border: 1px solid rgba(201,164,92,0.55);
  justify-self: center;
}

.founder__portrait::after {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(201,164,92,0.18);
}

.founder__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 50%;
  display: block;
}

.founder__name {
  font-weight: 400;
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: 0.01em;
}

.founder__role {
  font-family: var(--font-label);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--oro);
  margin: 12px 0 30px;
}

.founder__bio {
  color: var(--grigio);
  font-size: 20.5px;
  line-height: 1.8;
  max-width: 560px;
}

.founder__bio + .founder__bio { margin-top: 18px; }

.founder__cta { margin-top: 30px; }

.founder__quote {
  margin-top: 36px;
  font-style: italic;
  font-size: 23px;
  line-height: 1.5;
  color: var(--bianco);
  border-left: 1px solid var(--oro);
  padding-left: 26px;
}

@media (max-width: 900px) {
  .founder__inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .founder__portrait { width: 240px; height: 240px; }
  .founder__bio { margin-left: auto; margin-right: auto; }
  .founder__quote { border-left: none; padding-left: 0; }
}

/* ---------- Pillars ---------- */

.pillars {
  max-width: 1060px;
  margin: 0 auto;
  padding: 80px 24px 70px;
}

.pillar {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid rgba(247,244,239,0.12);
  scroll-margin-top: 90px;
}

.pillar--magazine { grid-template-columns: 120px 1fr 220px; align-items: center; }

.pillar__cover {
  display: block;
  transform: rotate(2.5deg);
  transition: transform 0.5s ease;
  box-shadow: 18px 24px 50px rgba(0,0,0,0.65);
}

.pillar__cover:hover { transform: rotate(0deg) scale(1.03); }

.pillar__cover img { display: block; width: 100%; }

/* редакционные ч/б фото у остальных узлов */
.pillar__cover--foto {
  transform: none;
  margin: 0;
  border: 1px solid rgba(201,164,92,0.28);
  padding: 8px;
  background: #0f0e0d;
}

.pillar__cover--foto:hover { transform: scale(1.02); }

.pillar__cover--foto img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: contrast(1.04);
}

.pillar:last-child { border-bottom: 1px solid rgba(247,244,239,0.12); }

/* бренд холдинга в золотой рамке (Eventi e Location) */
.pillar--brand {
  margin: 10px 0 34px;
  padding: 44px 40px;
  border: 1px solid rgba(201,164,92,0.6);
  outline: 1px solid rgba(201,164,92,0.18);
  outline-offset: 6px;
  background: linear-gradient(135deg, rgba(201,164,92,0.06), rgba(201,164,92,0) 60%);
}

.pillar--brand + .pillar { border-top: none; }

.pillar__kicker {
  margin-bottom: 12px;
  font-family: var(--font-label);
  font-weight: 300;
  font-size: 13px !important;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--oro) !important;
  line-height: 1.6 !important;
}

.footer__brands {
  margin: 30px auto 0;
  font-family: var(--font-label);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grigio);
}

.footer__brands a { color: var(--oro); text-decoration: none; border-bottom: 1px solid rgba(201,164,92,0.3); }
.footer__brands a:hover { border-color: var(--oro); }

.pillar__num {
  font-family: var(--font-label);
  font-weight: 200;
  font-size: 17.5px;
  letter-spacing: 0.3em;
  color: var(--oro);
  padding-top: 10px;
}

.pillar__body h2 {
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}

.pillar__body p {
  max-width: 620px;
  color: var(--grigio);
  font-size: 21px;
  line-height: 1.75;
}

.pillar__nota {
  margin-top: 14px;
  font-style: italic;
  font-size: 17.5px;
  color: rgba(201,164,92,0.75);
}

.pillar__link {
  display: inline-block;
  margin-top: 26px;
  font-family: var(--font-label);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bianco);
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(201,164,92,0.5);
  transition: color 0.3s, border-color 0.3s;
}

.pillar__link:hover { color: var(--oro); border-color: var(--oro); }

/* ---------- Impact strip (burgundy) ---------- */

.impact {
  background: linear-gradient(135deg, var(--bordeaux-deep), var(--bordeaux));
  padding: 96px 24px;
  scroll-margin-top: 90px;
}

.impact__inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.impact__text {
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.55;
  font-weight: 400;
}

.impact__cta {
  display: inline-block;
  margin-top: 48px;
  font-family: var(--font-label);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bianco);
  text-decoration: none;
  border: 1px solid rgba(247,244,239,0.45);
  padding: 16px 36px;
  transition: background 0.35s, color 0.35s, border-color 0.35s;
}

.impact__cta:hover {
  background: var(--bianco);
  color: var(--bordeaux-deep);
  border-color: var(--bianco);
}

/* ---------- Footer ---------- */

.footer {
  text-align: center;
  padding: 76px 24px 56px;
}

.footer__logo {
  mix-blend-mode: screen; /* растворяет чёрный фон PNG в фоне страницы */
  width: 170px;
  opacity: 0.95;
}

.footer__claim {
  margin-top: 8px;
  font-style: italic;
  font-size: 22.5px;
  color: var(--grigio);
}

.footer__meta {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 14px;
  font-family: var(--font-label);
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.12em;
}

.footer__meta a {
  color: var(--bianco);
  text-decoration: none;
  transition: color 0.3s;
}

.footer__meta a:hover { color: var(--oro); }

.footer__meta span { color: var(--grigio); }

.footer__reg {
  margin: 30px auto 0;
  max-width: 760px;
  font-family: var(--font-label);
  font-weight: 300;
  font-size: 13px;
  line-height: 2;
  letter-spacing: 0.08em;
  color: var(--grigio);
}

.footer__reg a,
.footer__reg a:visited { color: var(--bianco); text-decoration: none; border-bottom: 1px solid rgba(201,164,92,0.35); }
.footer__reg a:hover { color: var(--oro); }

.footer__copy {
  margin-top: 40px;
  font-family: var(--font-label);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--grigio);
  text-transform: uppercase;
}

.footer__legal {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 14px;
  font-family: var(--font-label);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer__legal a {
  color: var(--grigio);
  text-decoration: none;
  transition: color 0.3s;
}

.footer__legal a:hover { color: var(--oro); }

.footer__legal span { color: var(--grigio); }

/* ---------- Уведомление о cookie ---------- */

.cookiebar {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  margin: 0 auto;
  max-width: 720px;
  display: flex;
  align-items: center;
  gap: 22px;
  background: rgba(14,12,11,0.97);
  border: 1px solid rgba(201,164,92,0.35);
  padding: 18px 24px;
  transition: opacity 0.5s, transform 0.5s;
}

.cookiebar p {
  font-size: 17px;
  color: var(--grigio);
  line-height: 1.55;
}

.cookiebar a {
  color: var(--oro);
  text-decoration: none;
  border-bottom: 1px solid rgba(201,164,92,0.4);
  margin-left: 6px;
}

.cookiebar__ok {
  flex-shrink: 0;
  background: none;
  border: 1px solid rgba(201,164,92,0.6);
  color: var(--oro);
  font-family: var(--font-label);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.cookiebar__ok:hover { background: var(--oro); color: var(--nero); }

.cookiebar.is-hidden { opacity: 0; transform: translateY(14px); pointer-events: none; }

@media (max-width: 640px) {
  .cookiebar { flex-direction: column; align-items: stretch; text-align: center; gap: 12px; }
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1.1s ease, transform 1.1s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .loader__logo { animation: none; opacity: 1; }
}

/* ---------- Responsive ---------- */

/* меню на телефоне и узком экране: кнопка + панель на весь экран */
@media (max-width: 1240px) {
  .nav { padding: 14px 20px; }
  .nav__burger { display: block; }
  .nav__links, .nav__langs { display: none; }

  .nav.is-open {
    bottom: 0;
    flex-wrap: wrap;
    align-content: flex-start;
    background: var(--nero);
    overflow-y: auto;
  }

  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    width: 100%;
    padding: 56px 0 40px;
  }

  .nav.is-open .nav__links a { font-size: 17.5px; letter-spacing: 0.26em; }

  .nav.is-open .nav__langs {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-top: 28px;
    border-top: 1px solid rgba(201,164,92,0.18);
  }
}

@media (max-width: 900px) {
  .pillar { grid-template-columns: 1fr; gap: 10px; padding: 44px 0; }
  .pillar--magazine { grid-template-columns: 1fr; }
  .pillar__cover { max-width: 240px; margin-top: 24px; }
  .pillar__num { padding-top: 0; }
  .pillar--brand { padding: 34px 22px; }
}

/* ---------- Отсчёт до выхода номера ---------- */

.countdown {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 34px auto 0;
  padding: 18px 34px 16px;
  border: 1px solid rgba(201,164,92,0.55);
  outline: 1px solid rgba(201,164,92,0.16);
  outline-offset: 5px;
  background: rgba(10,9,8,0.55);
  color: var(--bianco);
  text-decoration: none;
  transition: border-color 0.3s, background 0.3s;
}

.countdown:hover { border-color: var(--oro); background: rgba(201,164,92,0.08); }

.countdown__label,
.countdown__cta {
  font-family: var(--font-label);
  font-weight: 300;
  font-size: 12.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--oro);
}

.countdown__pre {
  font-size: clamp(20px, 2.4vw, 25px);
  font-style: italic;
  line-height: 1.3;
}

.countdown__timer { display: flex; align-items: flex-start; gap: 6px; margin: 4px 0 2px; }
.cd__blk { display: flex; flex-direction: column; align-items: center; min-width: 62px; }
.cd__blk b {
  font-weight: 400;
  font-size: clamp(38px, 4.6vw, 52px);
  line-height: 1;
  color: var(--oro);
  font-variant-numeric: tabular-nums lining-nums;
}
.cd__blk i {
  margin-top: 6px;
  font-style: normal;
  font-family: var(--font-label);
  font-weight: 300;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grigio);
}
.cd__sep { font-size: clamp(30px, 3.6vw, 40px); line-height: 1; color: rgba(201,164,92,0.5); }
.countdown.is-out .countdown__timer { display: none; }

@media (max-width: 420px) {
  .countdown { padding: 16px 16px 14px; }
  .cd__blk { min-width: 50px; }
  .cd__blk i { font-size: 9px; letter-spacing: 0.12em; }
}

.countdown__cta { color: var(--grigio); font-size: 11.5px; }
.countdown:hover .countdown__cta { color: var(--bianco); }

.scaffale-hero .countdown { margin: 6px auto 0; }

/* блоки на разных языках (статьи, правовые страницы) */
.art-lang[hidden] { display: none !important; }
