@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #eef3f9;
  --surface: #ffffff;
  --text: #1a2744;
  --muted: #7a869c;
  --blue: #2f7bff;
  --blue-dark: #1a5fe0;
  --blue-soft: #e8f1ff;
  --radius: 28px;
  --shadow: 0 12px 32px rgba(40, 70, 130, 0.08);
  --shadow-soft: 0 6px 18px rgba(40, 70, 130, 0.06);
  --font: 'Prompt', 'Sarabun', 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: auto; }

.section.section-arrive {
  animation: sectionArrive 0.7s ease both;
}

@keyframes sectionArrive {
  from {
    opacity: 0.55;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(238, 243, 249, 0.85);
  border-bottom: 1px solid rgba(226, 232, 242, 0.8);
}

.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 4px 4px;
  box-sizing: content-box;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 4px 10px rgba(47, 123, 255, 0.28));
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  gap: 1px;
  padding-right: 0;
}

.brand-name {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.brand-name .b {
  color: var(--blue);
}

.brand-name .m {
  color: #15233f;
}

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

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.nav a:hover { color: var(--blue); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: 0.18s ease;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(47, 123, 255, 0.28);
}

.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }

.btn-ghost {
  background: var(--surface);
  color: var(--blue);
  box-shadow: var(--shadow-soft);
}

.btn-ghost:hover { box-shadow: var(--shadow); }

.btn svg { width: 16px; height: 16px; }

/* Hero */
.hero {
  padding: 56px 0 40px;
}

.hero-panel {
  background: var(--surface);
  border-radius: 36px;
  box-shadow: var(--shadow);
  padding: 48px 48px 44px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 123, 255, 0.12), transparent 70%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--blue);
}

.hero-lead {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 46ch;
  display: grid;
  gap: 10px;
}

.hero-lead li {
  position: relative;
  padding-left: 1.15em;
  line-height: 1.55;
}

.hero-lead li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45em;
  height: 0.45em;
  border-radius: 50%;
  background: var(--blue);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  position: relative;
  min-height: 360px;
}

.hero-mosaic {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 1.2fr 0.9fr;
  gap: 12px;
  height: 100%;
  min-height: 360px;
}

.hero-mosaic figure {
  margin: 0;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.hero-mosaic figure:first-child {
  grid-row: 1 / 3;
}

.hero-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.hero-mosaic figure:hover img {
  transform: scale(1.04);
}

.hero-mosaic figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

/* Photo cards */
.photo-card {
  padding: 0;
  overflow: hidden;
}

.photo-card .photo {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.photo-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.photo-card:hover .photo img {
  transform: scale(1.05);
}

.photo-card .body {
  padding: 18px 20px 22px;
}

.band-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.band-visual .shot {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 220px;
  box-shadow: var(--shadow);
}

.band-visual .shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.band-visual .shot .overlay {
  position: relative;
  z-index: 1;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  color: #fff;
  background: linear-gradient(to top, rgba(16, 30, 60, 0.78), rgba(16, 30, 60, 0.15));
}

.band-visual .shot h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  color: #fff;
}

.band-visual .shot p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
}

/* Sections */
.section {
  padding: 28px 0;
  scroll-margin-top: 96px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0 0 4px;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

.card-ico {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.card-ico svg { width: 22px; height: 22px; }

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
}

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

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.step {
  background: var(--surface);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  padding: 18px 16px;
  text-align: center;
  border: 2px solid transparent;
}

.step:hover {
  border-color: var(--blue);
}

.step-num {
  width: 32px;
  height: 32px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.step h4 {
  margin: 0 0 6px;
  font-size: 0.9rem;
}

.step p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

/* CTA footer panel */
.cta-panel {
  position: relative;
  overflow: hidden;
  margin: 20px 0 48px;
  color: #fff;
  border-radius: 36px;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  box-shadow: 0 18px 40px rgba(47, 123, 255, 0.28);
}

.cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(26, 95, 224, 0.92), rgba(47, 123, 255, 0.78)),
    url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1600&q=80') center/cover;
  z-index: 0;
}

.cta-panel > * {
  position: relative;
  z-index: 1;
}

.cta-panel h2 {
  margin: 0 0 8px;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}

.cta-panel p {
  margin: 0;
  opacity: 0.9;
  max-width: 46ch;
}

.cta-panel .btn-primary {
  background: #fff;
  color: var(--blue);
  box-shadow: none;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta-actions .btn-ghost {
  background: rgba(255,255,255,0.14);
  color: #fff;
  box-shadow: none;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 32px;
}

.contact-card:hover {
  transform: none;
}

.contact-copy {
  display: grid;
  justify-items: start;
  gap: 0;
}

.contact-copy .card-ico { margin-bottom: 14px; }

.contact-copy p {
  margin: 0 0 18px;
  max-width: 42ch;
}

.contact-copy strong { color: var(--text); font-weight: 700; }

.contact-qr {
  margin: 0;
  flex-shrink: 0;
  text-align: center;
}

.contact-qr img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid #06c755;
  padding: 8px;
}

.contact-qr figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

.site-foot {
  padding: 0 0 36px;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
}

.site-foot a { color: var(--blue); font-weight: 600; }
.site-foot a:hover { text-decoration: underline; }

@media (max-width: 980px) {
  .nav { display: none; }
  .hero-panel,
  .band-visual,
  .grid-3,
  .grid-2,
  .grid-4,
  .steps,
  .cta-panel {
    grid-template-columns: 1fr;
    display: grid;
  }
  .cta-panel { text-align: center; justify-items: center; }
  .hero-panel { padding: 28px; }
  .hero-mosaic {
    min-height: 280px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 120px;
  }
  .hero-mosaic figure:first-child { grid-row: auto; grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .brand-text { display: none; }
  .top-inner { gap: 12px; }
  .top .btn { padding: 10px 16px; flex-shrink: 0; }
}

@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .contact-card {
    flex-direction: column;
    text-align: center;
    padding: 28px 22px;
  }
  .contact-copy { justify-items: center; }
  .contact-copy p { margin-bottom: 16px; }
}
