:root {
  --black: #171717;
  --ink: #2f3540;
  --muted: #737c88;
  --red: #e9252b;
  --red-deep: #8e0912;
  --gold: #ffd46b;
  --gold-deep: #b97718;
  --blue: #1d6f9f;
  --line: #eceff3;
  --soft: #f7f8fb;
  --white: #fff;
  --shadow: 0 22px 54px rgba(90, 24, 27, .13);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .18);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 74px;
  padding: 0 13vw;
  background: var(--black);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  color: var(--white);
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 3px 0 rgba(0, 0, 0, .24);
}

.brand span { color: #fff4bd; }
.brand strong { color: var(--gold); }

.auth {
  display: flex;
  gap: 16px;
}

.auth a {
  min-width: 112px;
  padding: 10px 18px;
  color: var(--white);
  background: #45617f;
  border-radius: 999px;
  font-weight: 900;
  text-align: center;
  line-height: 1.25;
}

.auth a:first-child {
  background: linear-gradient(135deg, var(--red), #ff6744);
}

.nav {
  display: flex;
  justify-content: center;
  min-height: 70px;
  padding: 0 7vw;
  background: var(--red);
}

.nav a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 18px;
  color: #242424;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav a.active {
  color: var(--gold);
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 13px;
  height: 4px;
  background: var(--gold);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  background: #120003;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 0, 2, .96) 0%, rgba(35, 0, 5, .84) 43%, rgba(68, 0, 6, .18) 76%),
    linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .32));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 104px 0 126px;
  color: var(--white);
}

.hero h1 {
  max-width: 720px;
  margin: 0 0 22px;
  font-size: clamp(40px, 5vw, 70px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 8px 24px rgba(0, 0, 0, .42);
}

.hero p {
  max-width: 640px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, .84);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 168px;
  min-height: 52px;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 900;
  line-height: 1.2;
}

.btn.primary {
  color: #171717;
  background: linear-gradient(135deg, #fff1a8, var(--gold-deep));
  box-shadow: 0 14px 30px rgba(191, 124, 24, .34);
}

.btn.ghost {
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, .72);
  background: rgba(0, 0, 0, .24);
}

.trust-strip {
  color: var(--white);
  background: linear-gradient(90deg, #1a1a1a, #2b090c 52%, #1a1a1a);
  border-top: 6px solid var(--gold);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 212, 107, .28);
}

.trust-grid div {
  min-height: 128px;
  padding: 24px;
  background: rgba(23, 23, 23, .94);
}

.trust-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
}

.trust-grid strong {
  display: block;
  font-size: 21px;
  line-height: 1.25;
}

.trust-grid p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, .68);
}

.intro {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 42px;
  padding: 66px 0;
  align-items: start;
}

h2 {
  margin: 0 0 18px;
  color: #3f4652;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: 0;
}

.intro-copy p {
  color: var(--muted);
  font-size: 18px;
}

.intro-copy strong { color: var(--red); }

.intro-panel {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.intro-panel div {
  padding: 18px 20px;
  background: var(--white);
  border-left: 5px solid var(--red);
  border-radius: 10px;
}

.intro-panel strong {
  display: block;
  color: var(--red);
  font-size: 30px;
  line-height: 1;
}

.intro-panel span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.products {
  padding: 60px 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(29, 111, 159, .18), transparent 32%),
    linear-gradient(180deg, #f7f8fb, #fff);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 26px;
}

.section-heading p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product-grid article {
  min-height: 238px;
  padding: 24px;
  color: var(--white);
  background:
    radial-gradient(circle at 86% 8%, rgba(255, 212, 107, .34), transparent 30%),
    linear-gradient(145deg, #2d2021, #141414 72%);
  border: 1px solid rgba(233, 37, 43, .34);
  border-radius: 14px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, .16);
}

.product-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  height: 36px;
  margin-bottom: 36px;
  padding: 0 14px;
  color: #171717;
  background: linear-gradient(135deg, #fff2aa, var(--gold-deep));
  border-radius: 999px;
  font-weight: 900;
}

.product-grid h3,
.footer h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.25;
}

.product-grid p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
}

.promo {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 34px;
  align-items: center;
  margin-top: 58px;
  margin-bottom: 10px;
  padding: 42px;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(21, 3, 5, .98), rgba(148, 8, 17, .94)),
    radial-gradient(circle at 90% 15%, rgba(255, 212, 107, .32), transparent 34%);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.promo h2 { color: var(--white); }

.promo p {
  margin: 0;
  color: rgba(255, 255, 255, .74);
}

.promo-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.promo-items span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 104px;
  padding: 16px;
  color: var(--gold);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 212, 107, .32);
  border-radius: 12px;
  font-weight: 900;
  text-align: center;
}

.articles {
  padding: 56px 0;
}

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

.section-title h2 { margin-bottom: 0; }

.section-title a {
  flex: 0 0 auto;
  padding: 10px 18px;
  color: var(--red);
  border: 1px solid rgba(233, 37, 43, .34);
  border-radius: 999px;
  font-weight: 900;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.article-grid article {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.article-thumb {
  position: relative;
  display: block;
  height: 188px;
  color: inherit;
  overflow: hidden;
  background: #180306;
}

.article-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.article-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .14));
  pointer-events: none;
}

.article-thumb span {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  color: #171717;
  background: linear-gradient(135deg, #fff4b6, var(--gold-deep));
  border-radius: 4px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
}

.tag {
  margin: 22px 22px 8px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.article-grid h3 {
  margin: 0 22px 12px;
  color: #303640;
  font-size: 21px;
  line-height: 1.3;
}

.article-grid p:not(.tag) {
  margin: 0 22px 18px;
  color: var(--muted);
}

.article-grid article > a:not(.article-thumb) {
  display: inline-flex;
  margin: 0 22px 24px;
  color: var(--red);
  font-weight: 900;
}

.page-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}

.page-list a,
.page-list span {
  min-width: 42px;
  padding: 9px 12px;
  color: var(--red);
  background: var(--white);
  border: 1px solid rgba(233, 37, 43, .28);
  border-radius: 999px;
  font-weight: 900;
  text-align: center;
}

.article-hero {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(9, 0, 2, .95), rgba(65, 0, 7, .78)),
    url("suncity-hero.png") center / cover;
}

.article-hero .wrap {
  position: relative;
  z-index: 1;
  padding: 74px 0 82px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, .74);
  font-weight: 800;
}

.breadcrumbs a {
  color: var(--gold);
}

.article-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  color: rgba(255, 255, 255, .78);
  font-weight: 800;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  padding: 58px 0 66px;
}

.article-content,
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.article-content {
  padding: 34px;
}

.article-body h2 {
  margin: 30px 0 12px;
  color: #303640;
  font-size: 28px;
  line-height: 1.22;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body p,
.article-body li {
  color: var(--muted);
  font-size: 18px;
}

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

.article-body a {
  color: var(--red);
  font-weight: 900;
}

.article-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.article-nav a {
  padding: 16px;
  color: #303640;
  background: var(--soft);
  border-left: 4px solid var(--red);
  border-radius: 10px;
  font-weight: 900;
}

.sidebar-card {
  padding: 24px;
  margin-bottom: 18px;
}

.sidebar-card h2 {
  margin-bottom: 14px;
  font-size: 24px;
}

.sidebar-card p {
  color: var(--muted);
}

.related-list {
  display: grid;
  gap: 12px;
}

.related-list a {
  padding: 13px 0;
  color: #303640;
  border-bottom: 1px solid var(--line);
  font-weight: 900;
}

.related-list a:last-child {
  border-bottom: 0;
}

.story {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 38px;
  align-items: center;
  padding: 12px 0 70px;
}

.story-media {
  overflow: hidden;
  min-height: 390px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.story-media img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  object-position: 68% center;
  display: block;
}

.story-copy p {
  color: var(--muted);
  font-size: 18px;
}

.story-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.story-list div {
  padding: 17px 20px;
  background: var(--soft);
  border-left: 5px solid var(--red);
  border-radius: 10px;
}

.story-list strong {
  display: block;
  margin-bottom: 5px;
  color: #303640;
  font-size: 18px;
}

.story-list span {
  color: var(--muted);
}

.footer {
  color: rgba(255, 255, 255, .76);
  background: var(--black);
  border-top: 8px solid var(--red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 36px;
  padding: 44px 0;
}

.footer-brand {
  margin-bottom: 16px;
  font-size: 34px;
}

.footer p {
  max-width: 340px;
  margin: 14px 0 0;
}

.footer h3 { color: var(--white); }

.footer a:not(.brand) {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, .76);
}

@media (max-width: 960px) {
  .topbar {
    padding-left: 24px;
    padding-right: 24px;
  }

  .nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 18px;
  }

  .intro,
  .article-layout,
  .promo,
  .story,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid,
  .product-grid,
  .article-grid,
  .promo-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading {
    display: block;
  }
}

@media (max-width: 640px) {
  .wrap,
  .hero-inner {
    width: min(100% - 32px, 560px);
  }

  .topbar {
    min-height: auto;
    padding: 14px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .brand {
    font-size: 32px;
  }

  .auth {
    width: 100%;
    gap: 10px;
  }

  .auth a {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
  }

  .hero {
    min-height: 640px;
  }

  .hero-media {
    object-position: 68% center;
  }

  .hero-gradient {
    background: linear-gradient(180deg, rgba(11, 0, 2, .92) 0%, rgba(43, 0, 6, .77) 55%, rgba(43, 0, 6, .36) 100%);
  }

  .hero-inner {
    padding-top: 52px;
  }

  .hero h1 {
    font-size: 37px;
  }

  .hero p {
    font-size: 17px;
  }

  .trust-grid,
  .product-grid,
  .article-grid,
  .promo-items {
    grid-template-columns: 1fr;
  }

  .promo {
    width: min(100% - 32px, 560px);
    padding: 30px 20px;
  }

  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-hero .wrap {
    padding: 54px 0 62px;
  }

  .article-content {
    padding: 24px 20px;
  }

  .article-nav {
    grid-template-columns: 1fr;
  }
}
