/* Cosmo Nest — cosmic, cozy, three languages */
:root {
  --bg: #080a20;
  --bg-2: #10123a;
  --bg-3: #191c4d;
  --ink: #f2f0ff;
  --ink-2: #c0bfe6;
  --muted: #8a88bd;
  --accent: #f5c66a;      /* warm firelight */
  --accent-2: #7fd6ff;    /* ice blue */
  --accent-3: #b48cff;    /* nebula violet */
  --wa: #25d366;
  --line: rgba(255,255,255,.1);
  --radius: 18px;
  --sans: "Manrope", "Noto Sans Armenian", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Unbounded", "Noto Sans Armenian", "Manrope", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
  --maxw: 1180px;
}
html[lang="hy"] {
  --display: "Noto Sans Armenian", "Unbounded", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(1100px 620px at 85% -8%, rgba(180,140,255,.20), transparent 62%),
    radial-gradient(900px 560px at -8% 55%, rgba(127,214,255,.12), transparent 60%),
    radial-gradient(800px 500px at 60% 110%, rgba(245,198,106,.10), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 6vw, 72px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.6vw, 46px); font-weight: 600; }
h3 { font-size: 18px; font-weight: 600; }
h4 { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-family: var(--sans); font-weight: 700; margin-bottom: 14px; }
html[lang="hy"] h1 { font-size: clamp(30px, 5vw, 60px); }
html[lang="hy"] h2 { font-size: clamp(24px, 3.2vw, 40px); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); max-width: 60ch; }
.lead.small { font-size: 14px; color: var(--muted); }
.eyebrow {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700;
  color: var(--accent); margin: 0 0 18px;
}
.eyebrow span:first-child { color: var(--ink); }
.dot { margin: 0 .5em; color: var(--muted); }
.tip { color: var(--muted); font-size: 14px; border-left: 2px solid var(--accent); padding-left: 12px; }

#stars {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.planet {
  position: fixed; z-index: 0; pointer-events: none;
  top: 1vh; right: -3vw; width: clamp(220px, 24vw, 340px); aspect-ratio: 1;
  opacity: .9; filter: drop-shadow(0 0 40px rgba(245,198,106,.2));
  will-change: transform;
}
.planet svg { animation: drift 18s ease-in-out infinite; overflow: visible; }
.planet .ring-dash { animation: ringspin 9s linear infinite; }
.planet .bands { animation: bands 14s ease-in-out infinite alternate; }
@keyframes ringspin { to { stroke-dashoffset: -910; } }
@keyframes bands { from { transform: translateX(-34px); } to { transform: translateX(34px); } }
.moon {
  position: fixed; z-index: 0; pointer-events: none;
  left: -40px; bottom: 12vh; width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #d9dcf0 0%, #8d93b8 45%, #2a3160 100%);
  opacity: .35; box-shadow: 0 0 60px rgba(127,214,255,.25);
  will-change: transform;
}
@keyframes drift { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-14px) } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #000; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ----- nav ----- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  background: rgba(7, 11, 26, .72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: .02em; }
.brand-logo { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; }
.brand-name span { color: var(--accent-2); }
.nav-links { display: flex; gap: 26px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; padding: 3px; }
.lang button {
  background: none; border: 0; color: var(--muted); font: 700 12px/1 var(--sans);
  padding: 8px 10px; border-radius: 99px; cursor: pointer; letter-spacing: .06em;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.burger { display: none; background: none; border: 1px solid var(--line); color: var(--ink); font-size: 18px; border-radius: 10px; width: 40px; height: 40px; cursor: pointer; }
.mobile-menu {
  position: sticky; top: 68px; z-index: 19;
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px var(--gutter) 18px;
  background: rgba(7, 11, 26, .96); border-bottom: 1px solid var(--line);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 12px 0; font-weight: 600; border-bottom: 1px solid var(--line); }

/* ----- buttons ----- */
.button {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #1a1200;
  font-weight: 700; font-size: 15px;
  padding: 14px 22px; border-radius: 99px;
  border: 1px solid var(--accent);
  transition: transform .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.button:hover { transform: translateY(-1px); background: #ffd98a; }
.button-ghost { background: transparent; color: var(--ink); border-color: rgba(255,255,255,.25); }
.button-ghost:hover { background: rgba(255,255,255,.08); }
.button-small { padding: 10px 16px; font-size: 13px; }
.icon { width: 18px; height: 18px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }

/* ----- hero ----- */
.hero { position: relative; z-index: 1; padding: clamp(56px, 8vw, 110px) var(--gutter) clamp(48px, 6vw, 80px); }
.hero-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { margin: 0 0 18px; max-width: 14ch; }
.hero .cta-row { margin-top: 28px; }
.hero-meta { margin-top: 24px; font-size: 14px; color: var(--ink-2); }
.hero-meta a:hover { color: var(--accent); }
.hero-photo { margin: 0; max-width: 460px; width: 100%; justify-self: start; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.55); background: var(--bg-3); }
.hero-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ----- sections ----- */
.section {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) var(--gutter);
}
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-dark { max-width: none; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%); }
.section-dark > .inner { max-width: var(--maxw); margin: 0 auto; }
.section-accent { text-align: center; }
.section-accent .section-head { margin-inline: auto; }
.section-accent .cta-row { justify-content: center; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split-reverse > :first-child { order: 0; }

.photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); }
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.photo-tall img { aspect-ratio: 3/4; }
.placeholder-tag {
  position: absolute; left: 12px; bottom: 12px;
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(7,11,26,.75); color: var(--ink-2);
  padding: 6px 10px; border-radius: 99px; border: 1px solid var(--line);
}

.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.03); }
.fi { color: var(--accent); font-size: 18px; width: 24px; text-align: center; flex: none; }

.specs { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 14px; margin: 28px 0 0; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.photo-grid .photo img { aspect-ratio: 1/1; }
.specs > div { padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.03); }
.specs dt { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.specs dd { margin: 6px 0 0; font-family: var(--display); font-size: 18px; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.stack { display: grid; gap: 14px; }
.card-row { display: flex; gap: 16px; align-items: flex-start; }
.card-row .card-icon { margin: 2px 0 0; font-size: 28px; }
.card-row h3 { margin-top: 0; }
.card-icon { display: block; font-size: 34px; line-height: 1; margin: 6px 4px 16px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 22px; background: rgba(255,255,255,.03); transition: transform .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-3px); border-color: rgba(127,214,255,.45); box-shadow: 0 10px 40px rgba(127,214,255,.08); }
.card-media { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16/10; margin-bottom: 16px; background: var(--bg-3); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media-gradient { display: grid; place-items: end start; }
.card-media-gradient .placeholder-tag { position: static; margin: 12px; }
.card-media.jacuzzi {
  background:
    radial-gradient(60% 50% at 70% 30%, rgba(155,123,255,.55) 0%, transparent 70%),
    radial-gradient(50% 50% at 20% 80%, rgba(243,197,107,.35) 0%, transparent 70%),
    linear-gradient(160deg, #1b2452 0%, #0d1330 100%);
}
.card h3 { margin: 0 0 8px; padding: 0 4px; }
.card p { margin: 0; padding: 0 4px; color: var(--ink-2); font-size: 15px; }

.orbit-list { list-style: none; padding: 0; margin: 22px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.orbit-list li { position: relative; padding-left: 22px; color: var(--ink-2); }
.orbit-list li::before { content: "✦"; position: absolute; left: 0; color: var(--accent-2); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.g-item { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); }
.g-wide { grid-column: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.g-item:hover img { transform: scale(1.04); }
.g-item span { position: absolute; left: 12px; bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,.8); }

.steps { list-style: none; padding: 0; margin: 0 auto 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 900px; text-align: left; }
.steps li { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.03); }
.steps p { margin: 4px 0 0; color: var(--ink-2); }
.step-n { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-3); color: #fff; font-family: var(--display); font-weight: 700; font-size: 14px; }
.booking-meta { margin-top: 26px; color: var(--muted); font-size: 14px; }

/* ----- footer ----- */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: 28px var(--gutter); color: var(--muted); font-size: 13px; text-align: center; }
.footer p { margin: 0; }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 30;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.35);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* ----- responsive ----- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .burger { display: inline-grid; place-items: center; }
  .nav .button-small { display: none; }
  .cards, .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .specs { grid-template-columns: 1fr 1fr; }
  .planet { width: 240px; right: -60px; top: 6vh; opacity: .55; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .split { grid-template-columns: 1fr; }
  .split-reverse > :first-child { order: 0; }
  .split .photo { order: 1; }
  .split-reverse .photo { order: -1; }
  .photo-tall img { aspect-ratio: 4/3; }
  .cards, .cards-3 { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { justify-self: stretch; max-width: none; }
  .hero .cta-row .button { width: 100%; justify-content: center; }
  .moon { display: none; }
  .section-accent .cta-row .button { width: 100%; justify-content: center; }
  .orbit-list { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .hero { padding-bottom: 90px; }
  .hero .cta-row .button { width: 100%; justify-content: center; }
  .lang button { padding: 8px 7px; font-size: 11px; }
  .nav { gap: 8px; }
  .nav-right { gap: 8px; }
  .brand { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-hint, .planet svg, .planet .ring-dash, .planet .bands { animation: none; }
  .card, .button, .g-item img { transition: none; }
}
