:root {
  --bg: #f6f7fa;
  --paper: #ffffff;
  --ink: #0f1319;
  --ink-soft: #27303b;
  --muted: #5c6877;
  --brand: #c8171e;
  --brand-dark: #a11318;
  --brand-glow: rgba(200, 23, 30, 0.26);
  --line: #e5e9ef;
  --line-strong: #d1d8e1;
  --radius: 18px;
  --shadow-sm: 0 4px 12px rgba(15, 19, 25, 0.06);
  --shadow: 0 14px 34px rgba(15, 19, 25, 0.09);
  --shadow-lg: 0 24px 58px rgba(15, 19, 25, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 680px at 8% -8%, #ffffff 0%, rgba(255, 255, 255, 0) 62%),
    radial-gradient(900px 540px at 100% 0%, rgba(200, 23, 30, 0.06) 0%, rgba(200, 23, 30, 0) 74%),
    linear-gradient(180deg, #f9fafc 0%, #f4f6f9 100%);
  line-height: 1.65;
  padding-top: 108px;
}

body.home-page {
  padding-top: 0;
}

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

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

ul {
  list-style: none;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 90px 0;
  position: relative;
}

main > .section:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(249, 251, 254, 0.9) 100%);
  border-top: 1px solid rgba(15, 19, 25, 0.04);
  border-bottom: 1px solid rgba(15, 19, 25, 0.04);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe8ea 0%, #ffdadd 100%);
  color: var(--brand);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.section-title {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 16px 0 12px;
  color: var(--ink);
}

.section-title span {
  color: var(--brand);
}

.section-sub {
  color: var(--muted);
  max-width: 740px;
  font-size: 1.01rem;
}

header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 28px));
  z-index: 40;
}

.navbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 10px 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(122deg, rgba(6, 11, 16, 0.8) 0%, rgba(11, 16, 23, 0.66) 100%);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 44px rgba(6, 8, 11, 0.28), 0 1px 0 rgba(255, 255, 255, 0.08) inset;
  transition: background 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease, min-height 0.26s ease;
}

header.scrolled .navbar {
  min-height: 66px;
  border-color: rgba(15, 19, 23, 0.09);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(15, 19, 23, 0.13), 0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 8px 13px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.97);
  transition: background 0.25s ease, padding 0.25s ease;
}

.brand img {
  height: 38px;
  width: auto;
}

header.scrolled .brand {
  background: transparent;
  padding: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: rgba(245, 248, 252, 0.88);
  font-weight: 700;
  font-size: 0.92rem;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff5f69 0%, #ff2f3b 100%);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.24s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a:hover,
.nav-links a.active {
  color: #ff7e85;
}

header.scrolled .nav-links a {
  color: #28323d;
}

header.scrolled .nav-links a:hover,
header.scrolled .nav-links a.active {
  color: var(--brand);
}

.actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 20px;
  font-weight: 800;
  font-size: 0.89rem;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  flex-shrink: 0;
}

.btn-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-primary {
  background: linear-gradient(180deg, #e3282f 0%, var(--brand) 100%);
  color: #fff;
  box-shadow: 0 12px 24px var(--brand-glow), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

.btn-primary:hover {
  background: linear-gradient(180deg, #cf1e25 0%, var(--brand-dark) 100%);
  box-shadow: 0 16px 28px rgba(200, 23, 30, 0.34);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.1);
}

header.scrolled .btn-outline {
  background: #fff;
  border-color: var(--line);
  color: #1b242d;
}

header.scrolled .btn-outline:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.btn-dark {
  background: #101316;
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-dark:hover {
  background: #232a31;
  box-shadow: var(--shadow);
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.45rem;
  line-height: 1;
  padding: 6px;
  cursor: pointer;
  color: #fff;
}

header.scrolled .menu-toggle {
  color: #1e2630;
}

.mobile-nav {
  display: none;
  margin-top: 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(10, 13, 17, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 42px rgba(6, 8, 11, 0.3);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav .container {
  display: grid;
  gap: 8px;
  padding: 14px 18px 18px;
}

.mobile-nav a {
  font-weight: 700;
  color: rgba(245, 248, 252, 0.88);
  padding: 9px 4px;
}

.home-page .hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 172px 0 110px;
  background-image: url("homebar.png");
  background-size: cover;
  background-position: center 44%;
  background-attachment: fixed;
  overflow: hidden;
}

.home-page .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(108deg, rgba(5, 8, 12, 0.92) 0%, rgba(5, 8, 12, 0.77) 42%, rgba(8, 12, 17, 0.42) 100%);
  z-index: 0;
}

.home-page .hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -200px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 23, 30, 0.3) 0%, rgba(200, 23, 30, 0) 72%);
  filter: blur(8px);
  z-index: 0;
  animation: heroGlow 8s ease-in-out infinite alternate;
}

.home-page .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.home-page .hero h1 {
  font-family: "Sora", sans-serif;
  color: #fff;
  font-size: clamp(2.5rem, 5.3vw, 4.9rem);
  line-height: 1.04;
  margin: 18px 0 16px;
  max-width: 640px;
  letter-spacing: -0.02em;
}

.home-page .hero h1 span {
  color: #ff4a55;
}

.home-page .hero p {
  color: rgba(238, 243, 248, 0.84);
  max-width: 620px;
  font-size: 1.02rem;
}

.home-page .hero .badge {
  background: rgba(214, 31, 38, 0.18);
  border: 1px solid rgba(214, 31, 38, 0.42);
  color: #ff7f86;
}

.hero-cta {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-panel {
  background: linear-gradient(155deg, rgba(9, 13, 18, 0.78) 0%, rgba(7, 10, 14, 0.72) 100%);
  color: #e7edf2;
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-lg), 0 1px 0 rgba(255, 255, 255, 0.1) inset;
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.panel-item {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.panel-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.panel-item strong {
  display: block;
  color: #fff;
  margin-bottom: 4px;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(248, 252, 255, 0.62);
}

.panel-item p,
.panel-item a {
  font-size: 0.93rem;
  color: #d0dae3;
}

.panel-item a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.grid-3 {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand) 0%, #f15960 100%);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200, 23, 30, 0.2);
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  font-family: "Sora", sans-serif;
  font-size: 1.08rem;
  margin-bottom: 8px;
  color: #11171f;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.service-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.service-group {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.service-group:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.service-group h3 {
  font-family: "Sora", sans-serif;
  color: #12181d;
  margin-bottom: 12px;
}

.service-group ul {
  list-style: disc;
  margin-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 7px;
}

.cta-band {
  margin-top: 36px;
  background: linear-gradient(110deg, #1b2229 0%, #101316 100%);
  border-radius: 20px;
  padding: 30px;
  color: #e8edf2;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-band p {
  color: #cdd8e3;
}

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

.contact-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.contact-row span {
  display: block;
  font-size: 0.8rem;
  color: #697380;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
}

.contact-row strong {
  font-family: "Sora", sans-serif;
  font-size: 1rem;
}

.contact-row a {
  font-weight: 800;
  color: var(--brand);
  border: 1px solid rgba(200, 23, 30, 0.2);
  border-radius: 999px;
  padding: 8px 14px;
}

.contact-row a:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.timeline {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.timeline article {
  border-left: 3px solid var(--brand);
  padding: 12px 0 12px 14px;
}

.timeline h3 {
  font-family: "Sora", sans-serif;
  margin-bottom: 6px;
  font-size: 1rem;
}

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

.footer {
  margin-top: 70px;
  background: linear-gradient(180deg, #101316 0%, #0b0e12 100%);
  color: #d4dee8;
  padding: 58px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 22px;
}

.footer h4 {
  color: rgba(255, 255, 255, 0.72);
  font-family: "Sora", sans-serif;
  margin-bottom: 10px;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer p,
.footer li {
  color: #a9b8c8;
  font-size: 0.92rem;
}

.footer ul {
  display: grid;
  gap: 8px;
}

.footer a {
  color: #dce6f0;
}

.footer a:hover {
  color: #ffd8da;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 16px;
  font-size: 0.84rem;
  color: #77889b;
}

.float-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 25;
}

.float-wa a {
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  box-shadow: 0 14px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.float-wa a svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.float-wa a:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 28px rgba(37, 211, 102, 0.44);
}

.reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 0.65s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.65s cubic-bezier(0.2, 0.6, 0.2, 1);
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes heroGlow {
  0% {
    transform: translate3d(0, 0, 0) scale(0.94);
    opacity: 0.6;
  }
  100% {
    transform: translate3d(-12px, 18px, 0) scale(1.08);
    opacity: 0.9;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  body {
    padding-top: 92px;
  }

  body.home-page {
    padding-top: 0;
  }

  header {
    top: 10px;
    width: calc(100% - 18px);
  }

  .nav-links,
  .actions {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .home-page .hero-grid,
  .service-groups,
  .footer-grid,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 70px 0;
  }

  .home-page .hero {
    background-attachment: scroll;
    padding: 150px 0 92px;
  }

  .cta-band {
    padding: 24px;
  }
}

@media (max-width: 520px) {
  .btn {
    width: 100%;
  }

  .home-page .hero {
    min-height: auto;
  }

  .contact-row {
    grid-template-columns: 1fr;
  }

  .contact-row a {
    width: fit-content;
  }
}
