:root {
  --bg: #070d14;
  --bg-soft: #0b1420;
  --surface: rgba(17, 28, 43, 0.82);
  --surface-strong: #121f31;
  --surface-2: #1a2a3e;
  --text: #ecf3ff;
  --muted: #9db0c9;
  --primary: #60b8ff;
  --primary-2: #2f7de2;
  --accent: #8ce0bc;
  --ok: #60d6a0;
  --border: rgba(130, 174, 224, 0.2);
  --shadow: 0 12px 40px rgba(2, 10, 20, 0.42);
  --shadow-soft: 0 8px 22px rgba(2, 10, 20, 0.28);
  --radius: 16px;
  --radius-lg: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle at 12% -10%, rgba(87, 187, 255, 0.2), transparent 38%),
    radial-gradient(circle at 88% -8%, rgba(94, 197, 140, 0.16), transparent 36%),
    linear-gradient(180deg, #07101a 0%, #060b12 65%, #05090f 100%);
}

a {
  color: #b5d7ff;
  text-decoration: none;
}
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: rgba(6, 12, 20, 0.74);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: .02em;
}
.brand img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(68, 162, 255, 0.35);
}
.brand span {
  font-size: 1.18rem;
  letter-spacing: .01em;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.menu a {
  color: var(--muted);
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: .25s ease;
}
.menu a:hover,
.menu a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border);
  text-decoration: none;
}

.lang { display: flex; gap: 8px; }
.lang a {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-size: .9rem;
  transition: .2s ease;
}
.lang a:hover { color: var(--text); text-decoration: none; }
.lang a.current {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.hero {
  padding: 76px 0 56px;
  border-bottom: 1px solid rgba(182, 219, 255, 0.1);
}
.kicker {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-size: .78rem;
}

h1, h2, h3 {
  line-height: 1.18;
  margin: .2em 0 .5em;
}
h1 {
  font-size: clamp(2rem, 4.3vw, 3.4rem);
  letter-spacing: -.02em;
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: -.01em;
}
h3 { font-size: clamp(1.08rem, 2vw, 1.34rem); }

.lead {
  color: #c7d8ec;
  max-width: 820px;
  font-size: 1.08rem;
}

.hero-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.15fr .85fr;
  align-items: stretch;
}

.panel,
.card,
.product,
.notice,
.metric {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.panel {
  background:
    linear-gradient(160deg, rgba(20, 35, 52, 0.9), rgba(13, 24, 37, 0.92) 72%),
    radial-gradient(circle at 95% 0, rgba(98, 188, 255, 0.2), transparent 36%);
  position: relative;
  overflow: hidden;
}
.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.06) 45%, transparent 65%);
  transform: translateX(-110%);
  transition: transform .8s ease;
  pointer-events: none;
}
.panel:hover::after { transform: translateX(110%); }
.panel.pad { padding: 24px; }

.btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 11px;
  font-weight: 700;
  border: 1px solid var(--border);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}
.btn.primary {
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  color: #fff;
  border: none;
  box-shadow: 0 10px 24px rgba(47, 125, 226, 0.35);
}
.btn.primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 14px 28px rgba(47, 125, 226, 0.45);
}
.btn.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.metric {
  padding: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}
.metric strong {
  font-size: 1.2rem;
  display: block;
  color: #dff1ff;
}

section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card {
  background:
    linear-gradient(180deg, rgba(21, 34, 51, 0.88), rgba(15, 24, 38, 0.92));
  padding: 18px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(140, 192, 255, 0.36);
  box-shadow: var(--shadow);
}
.card p { color: var(--muted); }
.icon { font-size: 1.12rem; display: inline-block; margin-bottom: 8px; }

.notice {
  padding: 14px 16px;
  border-left: 4px solid var(--primary);
  background: rgba(8, 18, 30, 0.78);
  color: #d0e0f5;
}

.filters {
  display: grid;
  gap: 10px;
  grid-template-columns: 2fr 1fr 1fr;
  margin-bottom: 16px;
}

input, select, textarea {
  width: 100%;
  background: rgba(10, 18, 28, 0.9);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: rgba(106, 181, 255, 0.75);
  box-shadow: 0 0 0 4px rgba(47, 125, 226, 0.16);
}

label { display: block; margin-bottom: 12px; font-weight: 600; color: #dbe9f9; }

.product-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.product {
  background: linear-gradient(180deg, rgba(22, 35, 53, 0.9), rgba(14, 24, 38, 0.94));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.product:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(137, 198, 255, 0.45);
}
.product img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  background: #132035;
  transition: transform .45s ease;
}
.product:hover img { transform: scale(1.04); }
.product-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tag {
  font-size: .75rem;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(150, 198, 250, 0.35);
  color: #c6dfff;
  background: rgba(151, 199, 250, 0.08);
}
.product p { margin: 0; color: var(--muted); font-size: .95rem; }
.product .formula { font-size: .89rem; color: #c5d9f1; }
.product .domains {
  margin: 2px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
}
.product .domains li {
  color: #d5e6fa;
  font-size: .88rem;
  line-height: 1.4;
}
.product details {
  margin-top: 8px;
  background: rgba(8, 18, 30, 0.8);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 8px 10px;
}
.product summary,
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.footer {
  padding: 32px 0;
  color: var(--muted);
  font-size: .93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
}

.sticky-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sticky-cta a {
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  color: #fff;
  padding: 11px 14px;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(179, 220, 255, 0.28);
  transition: transform .2s ease, box-shadow .2s ease;
}
.sticky-cta a:hover {
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: .65s cubic-bezier(.2,.6,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

.small { font-size: .9rem; color: var(--muted); }

@media (max-width: 980px) {
  .hero-grid,
  .cards,
  .product-grid,
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .filters { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .menu { display: none; }
  .brand img { width: 48px; height: 48px; border-radius: 12px; }
  .brand span { font-size: 1.04rem; }
  .hero { padding-top: 38px; }
  .hero-grid,
  .cards,
  .product-grid,
  .footer-grid,
  .metrics,
  .filters { grid-template-columns: 1fr; }
  .sticky-cta { left: 12px; right: 12px; bottom: 10px; }
  .sticky-cta a { text-align: center; }
}

/* Tourism + live chat extensions */
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tourism-hero {
  background:
    linear-gradient(120deg, rgba(4,18,36,.78), rgba(5,10,20,.82)),
    url('https://images.unsplash.com/photo-1467269204594-9661b134dd2b?auto=format&fit=crop&w=1800&q=70') center/cover no-repeat;
}
.tourism-card { padding: 0; overflow: hidden; }
.tourism-card img { width: 100%; height: 190px; object-fit: cover; display: block; }
.tourism-card h3, .tourism-card p, .tourism-card .btn { margin-left: 16px; margin-right: 16px; }
.tourism-card .btn { margin-bottom: 16px; }

.live-chat-modal {
  position: fixed; inset: 0; z-index: 1500;
  background: rgba(2,8,16,.7);
  display: none; align-items: center; justify-content: center;
}
.live-chat-modal.open { display: flex; }
.live-chat-panel {
  width: min(540px, calc(100vw - 24px));
  background: linear-gradient(180deg, rgba(18,31,49,.97), rgba(11,19,31,.98));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.live-chat-panel h3 { margin-top: 0; }
.live-chat-grid { display: grid; gap: 10px; }
.live-chat-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

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