/* ostelix.vip — plum + apricot + sage. Language aula Roma. Not gold Boundmerit, not beltrin mint. */
:root {
  --plum: #1c1220;
  --plum-2: #2a1828;
  --apricot: #e07a4a;
  --apricot-2: #f0a070;
  --sage: #4a7c6f;
  --ink: #1a1412;
  --mute: #6b5e58;
  --paper: #f6f0e8;
  --white: #fffdf8;
  --line: #eadfd4;
  --phone: #24151f;
  --field: #331e2a;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: #b85c3a; }
p { margin: 0 0 .85em; }
h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.08;
  margin: 0 0 .4em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
h3 { font-size: 1.08rem; }
[hidden] { display: none !important; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hi { color: var(--apricot); }
.mark {
  display: flex; align-items: center; gap: 10px;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sage); margin: 0 0 12px;
}
.mark::before { content: ""; width: 28px; height: 2px; background: var(--apricot); }

.ico {
  width: 22px; height: 22px; stroke: currentColor; fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto;
}
.ico-lg { width: 28px; height: 28px; }
.ico-wrap {
  width: 42px; height: 42px; border-radius: 12px;
  background: #f3e4d8; color: var(--apricot);
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.block.dark .ico-wrap { background: rgba(224,122,74,.16); color: var(--apricot-2); }

.pic { border-radius: 18px; overflow: hidden; background: #e8d5c8; }
.pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot { aspect-ratio: 16/9; }
.shot-tall { aspect-ratio: 4/3; min-height: 240px; }
.cap { font-size: .82rem; color: var(--mute); margin-top: 8px; }

.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(28,18,32,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.top-in { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; margin-right: auto; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.brand b { font-weight: 800; letter-spacing: .04em; font-size: .92rem; }
.nav { display: flex; gap: 2px; }
.nav a {
  text-decoration: none; color: #e8d5c8; font-weight: 600; font-size: .9rem;
  padding: 8px 11px; border-radius: 999px;
}
.nav a:hover, .nav a.on { color: #fff; }
.menu-btn {
  display: none; font: inherit; border: 1px solid rgba(255,255,255,.15); background: transparent;
  color: #fff; padding: 8px 12px; border-radius: 999px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--apricot); color: #2a120c; text-decoration: none; border: 0;
  font: inherit; font-weight: 800; padding: 12px 20px; border-radius: 12px; cursor: pointer;
}
.btn:hover { background: var(--apricot-2); }
.btn.full { width: 100%; }
.cta-nav { padding: 9px 16px; font-size: .85rem; border-radius: 999px; }

.hero {
  background: radial-gradient(1100px 480px at 78% -8%, #3a2034 0%, var(--plum) 58%);
  color: #fff; padding: 56px 0 64px;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero .lead { color: #d4c0b4; font-size: 1.05rem; max-width: 34rem; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  color: #f3e4d8; font-size: .82rem; padding: 8px 14px; border-radius: 999px; margin-bottom: 18px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  color: #f6f0e8; font-size: .8rem; font-weight: 600; padding: 7px 12px; border-radius: 999px;
}
.chip .ico { width: 16px; height: 16px; color: var(--apricot-2); }
.date {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--apricot); color: #2a120c;
  font-size: .75rem; font-weight: 800; padding: 5px 10px; border-radius: 8px; margin: 8px 0 18px;
}
.note {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; padding: 10px 14px; width: max-content; max-width: 100%;
  color: #e8d5c8; font-size: .88rem;
}
.avs { display: flex; }
.avs span {
  width: 28px; height: 28px; border-radius: 50%; background: #4a3040; color: #fff;
  font-size: .65rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--plum); margin-left: -6px;
}
.avs span:first-child { margin-left: 0; background: var(--sage); }
.avs span:nth-child(2) { background: var(--apricot); color: #2a120c; }
.avs span:nth-child(3) { background: #7a3e4a; }

.device {
  width: min(360px, 100%);
  margin-left: auto;
  background: var(--phone);
  border: 3px solid #4a3040;
  border-radius: 36px;
  padding: 14px 12px 18px;
  box-shadow: 0 40px 80px rgba(28,18,32,.5);
}
.notch {
  width: 96px; height: 18px; background: #140c14; border-radius: 12px; margin: 4px auto 14px;
}
.device h2 { color: #fff; text-align: center; font-size: 1.2rem; margin-bottom: 14px; }
.device form label { color: #d4c0b4; }
.device input, .device textarea, .device select {
  background: var(--field); border-color: #4a3040; color: #fff;
}
.device .fine { color: #a89088; }
.device .fine a { color: var(--apricot-2); }
.device .thanks { background: #3a2034; border-color: #4a3040; color: #f6f0e8; }

form label { display: block; font-size: .78rem; font-weight: 700; margin: 0 0 10px; }
form input, form textarea, form select {
  width: 100%; margin-top: 5px; font: inherit; color: var(--ink);
  border: 1px solid var(--line); background: #fffdf8; border-radius: 10px;
  padding: 11px 12px;
}
form textarea { min-height: 72px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fine { font-size: .75rem; color: var(--mute); margin: 10px 0 0; }
.thanks {
  background: #f8e6d8; border: 1px solid #f0c4a8; border-radius: 12px;
  padding: 14px; font-weight: 600;
}

.stats {
  background: var(--white); border-block: 1px solid var(--line);
  padding: 28px 0;
}
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { text-align: center; }
.stat .ico { margin: 0 auto 8px; color: var(--apricot); width: 26px; height: 26px; }
.stat b { display: block; font-size: 1.55rem; letter-spacing: -.03em; color: var(--plum); }
.stat span { color: var(--mute); font-size: .82rem; }

.block { padding: 72px 0; }
.block.dark { background: var(--plum); color: #e8d5c8; }
.block.dark h2 { color: #fff; }
.block.dark .lead { color: #c4b0a4; }
.block.dark .day, .block.dark .card:not(.ink) {
  background: var(--plum-2); border-color: #4a3040; color: #f6f0e8;
}
.block.dark .day p, .block.dark .cap { color: #c4b0a4; }
.lead { color: var(--mute); max-width: 40rem; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }

.langs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 28px; }
.lang {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px;
}
.lang b { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.lang q { display: block; color: var(--mute); font-style: italic; font-size: .9rem; }
.flag {
  width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .78rem; color: #fff; margin-bottom: 10px;
}

.week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 28px; }
.day {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px;
}
.day em { display: flex; align-items: center; gap: 6px; font-style: normal; color: var(--apricot); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.day .ico { width: 16px; height: 16px; }

.tandem { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.pair {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px;
}
.pair strong { display: block; }
.pair small { color: var(--mute); }
.pair .x { color: var(--apricot); font-weight: 800; }

.icons { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-top: 24px; }
.ico-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px;
}
.block.dark .ico-card { background: var(--plum-2); border-color: #4a3040; color: #f6f0e8; }
.block.dark .ico-card p { color: #c4b0a4; }

.cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-top: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px;
}
.card.ink { background: var(--plum-2); color: #e8d5c8; border: 0; }
.card.ink p { color: #c4b0a4; }

.gallery { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; margin-top: 24px; }
.gallery-side { display: grid; gap: 14px; }

.quotes { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin-top: 24px; }
.quote {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px;
}
.who { display: flex; align-items: center; gap: 10px; margin-top: 12px; color: var(--mute); font-size: .82rem; }
.av {
  width: 34px; height: 34px; border-radius: 50%; background: var(--apricot); color: #2a120c;
  display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 800;
}

.addr {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: center; margin-top: 28px;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px;
}
.addr ul { list-style: none; padding: 0; margin: 12px 0 0; }
.addr li { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 8px; color: var(--mute); }
.addr .ico { color: var(--sage); margin-top: 2px; }

.panel {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 22px;
}
.panel.dark {
  background: var(--phone); border-color: #4a3040; color: #fff;
}
.panel.dark h2 { color: #fff; }
.panel.dark form label { color: #d4c0b4; }
.panel.dark input, .panel.dark textarea {
  background: var(--field); border-color: #4a3040; color: #fff;
}
.panel.dark .fine { color: #a89088; }
.panel.dark .fine a { color: var(--apricot-2); }

.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 4px 16px;
  margin: 0 0 8px;
}
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--mute); padding-bottom: 12px; }
.faq .n { color: var(--apricot); margin-right: 8px; font-size: .82rem; }

.foot { background: #120c10; color: #c4b0a4; padding: 40px 0 24px; font-size: .9rem; }
.foot-in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 24px; }
.foot a { color: #f3e4d8; text-decoration: none; display: block; margin: 0 0 6px; }
.foot strong, .foot h4 { color: #fff; }
.foot h4 { margin: 0 0 10px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.copy { border-top: 1px solid #2a1828; margin-top: 28px; padding-top: 16px; font-size: .78rem; color: #8a7870; }
.copy a { display: inline; color: #c4b0a4; }

.legal { padding: 48px 0 72px; }
.legal.wrap { max-width: 760px; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.2rem; margin-top: 1.4em; }
.legal p { color: var(--mute); max-width: 42rem; }
.legal .pic { margin: 18px 0 22px; max-width: 760px; }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.cookie {
  display: none; position: fixed; right: 16px; bottom: 16px; z-index: 80;
  width: min(380px, calc(100% - 32px));
  background: var(--plum); color: #f3e4d8; border-radius: 16px; padding: 16px;
  box-shadow: 0 16px 40px rgba(28,18,32,.4);
}
.cookie.is-open { display: block; }
.cookie p { font-size: .85rem; }
.cookie a { color: var(--apricot-2); }
.cookie-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 12px; }
.cookie .ghost { background: transparent; color: #fff; border: 1px solid #4a3040; }
.cookie button { border-radius: 10px; padding: 8px 12px; font-size: .85rem; font: inherit; cursor: pointer; }
.cookie button[data-cookie-choice="all"] { background: var(--apricot); color: #2a120c; border: 0; font-weight: 800; }

@media (max-width: 960px) {
  .hero-grid, .langs, .week, .tandem, .cards, .quotes, .foot-in, .team, .row2,
  .split, .icons, .gallery, .addr, .stats .wrap { grid-template-columns: 1fr; }
  .device { margin: 0 auto; }
  .nav { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; position: absolute; left: 20px; right: 20px; top: 72px;
    background: var(--plum-2); border: 1px solid #4a3040; border-radius: 14px; padding: 8px;
  }
  .menu-btn { display: inline-flex; }
  .cta-nav { display: none; }
  .note { width: auto; }
}
