/* Global styles */
:root {
  --primary: #1e3a8a;
  --primary-dark: #111b4b;
  --accent: #06b6d4;
  --accent-muted: #38bdf8;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --text: #0f172a;
  --text-light: #334155;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  font-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background-color: #eef2ff;
  line-height: 1.6;
}

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

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

h1,
h2,
h3 {
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1rem;
}

p {
  margin: 0 0 0.875rem;
}

.top-bar {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  color: #f8fafc;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand span {
  display: inline-block;
}


.hero {
  position: relative;
  background: #0f172a;
  color: #f8fafc;
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("image/hero.png") center / cover no-repeat;
  opacity: 0.5;
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-text {
  max-width: 540px;
}

.hero h1 {
  color: #f8fafc;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.9), 1px -1px 0 rgba(0, 0, 0, 0.9), -1px 1px 0 rgba(0, 0, 0, 0.9), 1px 1px 0 rgba(0, 0, 0, 0.9);
}

.hero p {
  color: rgba(248, 250, 252, 0.95);
  max-width: 32rem;
  margin-bottom: 2rem;
  text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.7), 1px -1px 0 rgba(0, 0, 0, 0.7), -1px 1px 0 rgba(0, 0, 0, 0.7), 1px 1px 0 rgba(0, 0, 0, 0.7);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: linear-gradient(160deg, var(--primary), var(--accent-muted));
  color: #0f172a;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(8, 145, 178, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.18);
}

.cta-button.ghost {
  background: #ffffff;
  color: #0f172a;
  border: 2px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button.ghost:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.18);
}

.cta-button.primary {
  margin-top: 2.5rem;
}

.step-icon,
.service-icon {
  display: block;
  width: 96px;
  height: auto;
  margin: 0 auto 1rem;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(15, 23, 42, 0.12));
}

.step-icon {
  width: 104px;
}

.service-icon {
  width: 100px;
}

.steps {
  background: var(--surface);
  padding: 3.5rem 0;
  box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.05);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.8rem;
  text-align: center;
}

.step-grid article {
  background: var(--surface-alt);
  border-radius: 1.25rem;
  padding: 1.75rem 1.4rem;
  box-shadow: var(--shadow);
}

.pricing {
  background: var(--surface-alt);
  padding: 4rem 0;
}

.pricing h2 {
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--primary-dark);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.pricing-card {
  background: var(--surface);
  border-radius: 1.5rem;
  padding: 2.2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-card h3 {
  color: var(--primary);
  font-size: 1.1rem;
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}

.card-icon img {
  width: clamp(240px, 78%, 320px);
  max-width: 320px;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(15, 23, 42, 0.1));
}

.price {
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.about {
  background: var(--surface);
  padding: 4.5rem 0;
}

.content-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.about p {
  color: var(--text-light);
}

.about .note {
  font-size: 0.9rem;
  color: rgba(15, 23, 42, 0.6);
  font-style: italic;
}

.helpers {
  background: linear-gradient(160deg, var(--primary), var(--accent-muted));
  color: #f8fafc;
  padding: 4rem 0;
  text-align: center;
}

.helpers h2 {
  color: #e0f2fe;
  margin-bottom: 2.5rem;
}

.helpers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.helpers article {
  background: rgba(248, 250, 252, 0.85);
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
  color: var(--text);
}

.helpers .cta-button {
  margin: 0 auto;
  margin-top: 2.5rem;
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
}
.helpers .service-icon {
  width: 112px;
  filter: drop-shadow(0 18px 30px rgba(14, 165, 233, 0.25));
}

.details {
  background: var(--surface);
  padding: 4rem 0;
}

.details-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.details h2 {
  color: var(--primary);
}

.details p {
  color: var(--text-light);
  max-width: 60ch;
}

.details-visual img {
  width: 100%;
  max-width: 520px;
  border-radius: 0;
  object-fit: cover;
  box-shadow: none;
  background: transparent;
}

.cities {
  background: var(--surface-alt);
  padding: 4rem 0;
}

.city-grid {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.85rem 1.5rem;
  font-weight: 600;
  color: var(--primary);
}

.about-illustration {
  display: flex;
  justify-content: center;
}

.about-illustration img {
  width: 100%;
  max-width: 520px;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
  background: transparent;
}

.site-footer {
  position: relative;
  background: linear-gradient(160deg, var(--primary), var(--accent-muted));
  color: #e2e8f0;
  overflow: hidden;
}

.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.site-footer::before {
  background: url("image/footer.png") center / cover no-repeat;
  opacity: 0.9;
  z-index: 2;
}

.site-footer::after {
  display: none;
}

.footer-content {
  padding: 3rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 3;
}

.footer-content h3,
.footer-content p:first-of-type {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.55);
}

.footer-content h3 {
  font-size: 2rem;
  letter-spacing: 0.04em;
}

.footer-content p:first-of-type {
  font-size: 1.15rem;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-weight: 700;
}

.footer-bottom {
  background: linear-gradient(90deg, #facc15, #f97316);
  text-align: center;
  padding: 1rem 0;
  font-size: 0.85rem;
  color: rgba(15, 23, 42, 0.9);
}

.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  z-index: 999;
  padding: 0;
  display: grid;
  place-items: center;
}

.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28);
}

.scroll-top.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.scroll-top img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

.call-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 4.55rem;
  height: 4.55rem;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 998;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.call-float img {
  width: 120%;
  height: 120%;
  object-fit: contain;
  animation: call-buzz 2.8s infinite;
}

.call-float.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

@media (max-width: 640px) {
  .hero-text {
    text-align: center;
  }

  .hero::before {
    background-image: url("image/hero-mobile.png");
  }

  .hero {
    padding: 3rem 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-button {
    width: 100%;
  }

  .steps {
    padding: 2.5rem 0;
  }

  .step-grid {
    gap: 1.2rem;
  }

  .step-grid article {
    padding: 1.5rem 1.1rem;
  }

  .step-icon,
  .service-icon {
    width: 72px;
  }

  .call-float {
    display: flex;
    bottom: 1rem;
    right: 1rem;
  }
}

@keyframes call-buzz {
  0% {
    transform: rotate(0deg) scale(1);
  }
  20% {
    transform: rotate(-12deg) scale(1.03);
  }
  40% {
    transform: rotate(12deg) scale(1.06);
  }
  60% {
    transform: rotate(-8deg) scale(1.03);
  }
  80% {
    transform: rotate(360deg) scale(1.08);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

@media (max-width: 480px) {
  .top-bar .container {
    flex-direction: column;
    gap: 0.5rem;
  }

  .step-grid article,
  .pricing-card,
  .helpers article {
    padding: 1.75rem 1.25rem;
  }

  .card-icon img {
    width: min(220px, 70vw);
  }

  .step-icon,
  .service-icon {
    width: 80px;
  }

  .footer-content {
    text-align: center;
  }

  .footer-contacts {
    align-items: center;
  }

  .site-footer::before {
    background-position: 70% center;
  }
}

