:root {
  --bg: #180f19;
  --bg-soft: #23152a;
  --surface: rgba(37, 25, 43, 0.86);
  --surface-strong: rgba(29, 18, 35, 0.94);
  --surface-light: rgba(255, 247, 237, 0.1);
  --text: #fff7ef;
  --muted: #d8c7d2;
  --accent: #ff9c3f;
  --accent-strong: #ff6b2c;
  --accent-soft: #ffd06e;
  --line: rgba(255, 224, 196, 0.16);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  line-height: 1.65;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(255, 174, 71, 0.18), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(131, 88, 255, 0.16), transparent 22%),
    linear-gradient(180deg, #120c16 0%, #1a1120 52%, #100b13 100%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent-soft);
  text-decoration: none;
}

a:hover {
  color: #ffe8bf;
}

.site-shell {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
}

.site-shell::before {
  top: 10%;
  left: -8rem;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(255, 153, 71, 0.25), transparent 65%);
  filter: blur(12px);
}

.site-shell::after {
  right: -6rem;
  bottom: 10%;
  width: 20rem;
  height: 20rem;
  background: radial-gradient(circle, rgba(127, 98, 255, 0.2), transparent 68%);
  filter: blur(16px);
}

.container {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.topbar {
  padding: 18px 0 12px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(19, 12, 24, 0.62);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 24px rgba(255, 140, 56, 0.28);
  flex: 0 0 auto;
}

.brand-copy strong,
.brand-copy span {
  display: block;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.84rem;
}

.nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line);
  transform: translateY(-1px);
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.button {
  color: #2c1200;
  background: linear-gradient(135deg, #ffd86f, #ff9c3f 55%, #ff6b2c);
  box-shadow: 0 18px 34px rgba(255, 123, 41, 0.35);
}

.button:hover {
  color: #2c1200;
}

.button-secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.hero {
  padding: 34px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 34px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #ffe6c8;
  background: rgba(255, 193, 117, 0.11);
  border: 1px solid rgba(255, 193, 117, 0.2);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  line-height: 0.96;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 9vw, 6.4rem);
  letter-spacing: -0.04em;
}

.hero p.lead,
.page-hero p {
  margin: 20px 0 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: clamp(1rem, 2.1vw, 1.16rem);
}

.hero-actions,
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 28px;
}

.hero-stats {
  margin-top: 30px;
}

.stat {
  min-width: 124px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

.stat strong,
.stat span {
  display: block;
}

.stat strong {
  font-size: 1.24rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 44px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.hero-backdrop {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: saturate(1.08);
  border-radius: 98px;
}

.hero-phone {
  position: absolute;
  right: 6%;
  bottom: -2%;
  width: 42%;
  max-width: 250px;
  border-radius: 30px;
  border: 8px solid #140d18;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.38);
}

.hero-badge {
  position: absolute;
  left: 5%;
  top: 6%;
  max-width: 400px;
  padding: 16px 18px;
  border-radius: 28px;
  background: rgba(23, 14, 27, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.hero-badge strong,
.hero-badge span {
  display: block;
}

.hero-badge strong {
  font-size: 1rem;
}

.hero-badge span {
  color: var(--muted);
  margin-top: 6px;
  font-size: 0.92rem;
}

.section {
  padding: 24px 0 72px;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-header h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.03em;
}

.section-header p {
  max-width: 34rem;
  margin: 0;
  color: var(--muted);
}

.feature-grid,
.info-grid,
.gallery-grid {
  display: grid;
  gap: 20px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.panel {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.feature-card h3,
.info-card h3,
.article h2,
.article h3 {
  margin-top: 0;
}

.feature-card p,
.info-card p,
.article p,
.article li,
.article .meta {
  color: var(--muted);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border-radius: 16px;
  font-size: 1.45rem;
  background: linear-gradient(135deg, rgba(255, 216, 111, 0.22), rgba(255, 107, 44, 0.18));
  border: 1px solid rgba(255, 214, 141, 0.18);
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  min-height: 320px;
  background: #140d18;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card.portrait {
  aspect-ratio: 9 / 16;
  min-height: 0;
  background:
    radial-gradient(circle at top, rgba(255, 180, 85, 0.18), transparent 28%),
    linear-gradient(180deg, #2a1730 0%, #160d19 100%);
}

.gallery-card.portrait img {
  object-fit: contain;
  object-position: center top;
}

.gallery-copy {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px;
  background: linear-gradient(180deg, transparent, rgba(13, 8, 16, 0.9));
}

.gallery-copy strong,
.gallery-copy span {
  display: block;
}

.gallery-copy span {
  margin-top: 4px;
  color: #e9d9e4;
  font-size: 0.92rem;
}

.notice {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 186, 84, 0.1);
  border: 1px solid rgba(255, 186, 84, 0.2);
  color: #ffddae;
}

.article-shell {
  padding: 24px 0 72px;
}

.page-hero {
  padding: 34px 0 20px;
}

.article {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.article h2 {
  color: #fff0d5;
  margin-top: 30px;
}

.article h3 {
  color: #ffe7bb;
  margin-top: 24px;
}

.article ul {
  padding-left: 22px;
}

.article .meta {
  margin-top: 14px;
  margin-bottom: 0;
}

.footer {
  padding: 0 0 36px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 20px 24px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #f3dcb6;
}

@media (max-width: 980px) {
  .hero-grid,
  .feature-grid,
  .gallery-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .topbar-inner,
  .section-header,
  .footer-inner {
    border-radius: 28px;
  }

  .topbar-inner,
  .section-header,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero-phone {
    width: 46%;
  }
}

@media (max-width: 640px) {
  body {
    line-height: 1.58;
  }

  .container {
    width: min(var(--max-width), calc(100% - 20px));
  }

  .topbar {
    padding-top: 10px;
  }

  .topbar-inner,
  .panel,
  .article,
  .footer-inner {
    padding: 18px;
  }

  .nav a,
  .button,
  .button-secondary {
    width: 100%;
  }

  .hero {
    padding-top: 18px;
  }

  .hero-badge {
    position: static;
    max-width: none;
    margin: 14px;
  }

  .hero-phone {
    position: static;
    width: calc(100% - 28px);
    max-width: none;
    margin: -10px auto 14px;
  }
}
