:root {
  --bg: #ffffff;
  --text: #16324a;
  --muted: #587087;
  --blue-1: #dff0ff;
  --blue-2: #7db9ea;
  --blue-3: #2f7bc1;
  --line: #d7e8f7;
  --card: #ffffff;
  --shadow: 0 18px 50px rgba(47, 123, 193, 0.12);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-wrap, .hero-grid, .intro-box, .contact-grid, .footer-wrap {
  display: grid;
}
.header-wrap {
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
}
.brand-pill, .section-chip {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
}
.brand-pill {
  background: linear-gradient(135deg, var(--blue-3), var(--blue-2));
  color: #fff;
  box-shadow: var(--shadow);
}
.brand-tag {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.header-phone {
  padding: 12px 18px;
  border-radius: 999px;
  background: #f4faff;
  border: 1px solid var(--line);
  color: var(--blue-3);
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 52px 0 32px;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 320px;
  height: 320px;
  right: -100px;
  top: -80px;
  background: radial-gradient(circle, rgba(125,185,234,0.35), rgba(125,185,234,0));
}
.hero::after {
  width: 240px;
  height: 240px;
  left: -80px;
  bottom: 0;
  background: radial-gradient(circle, rgba(47,123,193,0.18), rgba(47,123,193,0));
}
.hero-grid {
  grid-template-columns: 1.02fr 0.98fr;
  gap: 34px;
  align-items: center;
}
.section-chip {
  background: var(--blue-1);
  color: var(--blue-3);
  margin-bottom: 18px;
}
.hero h1,
.section-heading h2,
.intro-box h2,
.message-box h2,
.contact-card h2 {
  margin: 0;
}
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--blue-3);
}
.hero-text {
  margin: 22px 0 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
  max-width: 650px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn:hover, .header-phone:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-3), var(--blue-2));
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-secondary {
  background: #fff;
  color: var(--blue-3);
  border: 1px solid var(--line);
}
.art-card, .service-card, .intro-box, .message-box, .contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.art-card {
  padding: 18px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}
.art-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 20px;
}

.intro-strip,
.services,
.message-section,
.contact-section {
  padding: 34px 0 80px;
}
.intro-box {
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: center;
  border-radius: var(--radius-lg);
  padding: 28px;
}
.intro-box h2,
.section-heading h2,
.message-box h2,
.contact-card h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.1;
}
.intro-box p,
.section-heading p,
.message-box p,
.contact-card p,
.site-footer p {
  color: var(--muted);
  line-height: 1.8;
}
.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.service-card {
  border-radius: var(--radius-lg);
  padding: 24px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-number {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-1), #ffffff);
  color: var(--blue-3);
  border: 1px solid var(--line);
}
.service-card h3 {
  margin: 18px 0 0;
  font-size: 1.3rem;
  line-height: 1.35;
}
.message-box {
  border-radius: var(--radius-xl);
  padding: 34px;
  text-align: center;
}
.contact-grid {
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
}
.contact-card {
  border-radius: var(--radius-lg);
  padding: 28px;
}
.contact-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}
.site-footer {
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  background: #fbfdff;
}
.footer-wrap {
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}
.site-footer strong,
.site-footer a {
  color: var(--blue-3);
}

.reveal-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-up.delay-1 { transition-delay: .08s; }
.reveal-up.delay-2 { transition-delay: .16s; }
.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .intro-box,
  .contact-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-wrap,
  .footer-wrap {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 34px;
  }
  .hero-text {
    font-size: 16px;
  }
  .service-card {
    min-height: auto;
  }
  .message-box,
  .contact-card,
  .intro-box,
  .art-card,
  .service-card {
    padding: 22px;
  }
}
