/* TensoTV Singapore - replace placeholder images in assets/images with final approved photography before publishing. */
:root {
  --navy: #073f78;
  --navy-dark: #052f5f;
  --blue-soft: #eaf3fb;
  --orange: #f26a21;
  --orange-dark: #d95512;
  --ink: #172033;
  --muted: #647184;
  --line: #dbe3ec;
  --bg: #f7f9fc;
  --white: #fff;
  --shadow: 0 18px 40px rgba(7, 63, 120, .12);
  --radius: 8px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: 0;
}

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

a:hover, a:focus-visible { color: var(--orange); }

:focus-visible {
  outline: 3px solid rgba(242, 106, 33, .42);
  outline-offset: 3px;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.1;
}

.brand-main { font-size: 1.28rem; }
.brand-sub { color: var(--muted); font-size: .78rem; font-weight: 600; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
}

.nav-toggle {
  flex-direction: column;
  gap: 5px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--ink);
  font-size: .94rem;
  font-weight: 700;
}

.site-nav a[aria-current="page"] { color: var(--navy); }

.nav-group {
  position: relative;
}

.nav-dropdown-toggle {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.nav-dropdown-toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.nav-dropdown-toggle[aria-current="page"] {
  color: var(--navy);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 40;
  min-width: 180px;
  display: none;
  transform: translateX(-50%);
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 36px rgba(7, 63, 120, .14);
}

.nav-dropdown a {
  display: flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--ink);
  white-space: nowrap;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  background: var(--blue-soft);
  color: var(--navy);
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown,
.nav-group.is-open .nav-dropdown {
  display: grid;
}

.nav-cta {
  padding: 10px 16px;
  border-radius: var(--radius);
  color: var(--white) !important;
  background: var(--orange);
}

.nav-cta:hover, .nav-cta:focus-visible { background: var(--orange-dark); }

.hero {
  background: linear-gradient(180deg, #f4f8fc 0%, #fff 100%);
  padding: 42px 0 48px;
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  padding: 10px 52px 42px;
}

.hero-track {
  position: relative;
  min-height: 410px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateX(26px);
  transition: opacity .38s ease, transform .38s ease;
}

.hero-slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1.08fr);
  gap: 36px;
  align-items: center;
}

.hero-copy {
  max-width: 560px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--navy);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--orange);
}

h1, h2, h3 {
  margin: 0;
  color: #0c1728;
  line-height: 1.22;
}

h1 { font-size: clamp(1.85rem, 3.5vw, 2.85rem); }
h2 { font-size: clamp(1.5rem, 2.1vw, 2rem); }
h3 { font-size: 1.12rem; }

.lead {
  margin: 14px 0 0;
  color: #445063;
  font-size: .98rem;
}

.price-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin: 22px 0 0;
  padding: 12px 16px;
  border: 1px solid #cfe0ef;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(7, 63, 120, .08);
}

.price-pill strong {
  color: var(--navy);
  font-size: 1.35rem;
}

.price-pill span { color: var(--muted); font-weight: 700; }

.price-pill-soft {
  background: #fff7f0;
  border-color: #ffd3b7;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover, .btn:focus-visible { transform: translateY(-1px); }
.btn-primary { color: var(--white); background: var(--orange); }
.btn-primary:hover, .btn-primary:focus-visible { color: var(--white); background: var(--orange-dark); }
.btn-secondary { color: var(--navy); border-color: #b9d0e5; background: var(--white); }
.btn-secondary:hover, .btn-secondary:focus-visible { background: var(--blue-soft); }
.btn-link { color: var(--navy); background: transparent; border-color: transparent; }

.hero-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(7, 63, 120, .12);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 1px solid #cfe0ef;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 30px rgba(7, 63, 120, .12);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.hero-arrow:hover,
.hero-arrow:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-50%) scale(1.04);
}

.hero-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--navy);
  border-right: 2px solid var(--navy);
}

.hero-arrow:hover::before,
.hero-arrow:focus-visible::before {
  border-color: var(--white);
}

.hero-arrow-prev { left: 4px; }
.hero-arrow-next { right: 4px; }
.hero-arrow-prev::before { transform: translate(-35%, -50%) rotate(-135deg); }
.hero-arrow-next::before { transform: translate(-65%, -50%) rotate(45deg); }

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 8px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #c6d8e9;
  cursor: pointer;
  transition: width .18s ease, background .18s ease;
}

.hero-dots button.is-active {
  width: 30px;
  background: var(--orange);
}

.hero-checks {
  margin-top: 18px;
}

.section { padding: 48px 0; }
.section-muted { background: var(--bg); }
.section-blue { background: var(--navy); color: var(--white); }
.section-blue h2, .section-blue h3 { color: var(--white); }
.section-blue .lead { color: rgba(255, 255, 255, .82); }

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

.section-head p {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 22px;
  box-shadow: 0 10px 28px rgba(14, 34, 58, .05);
}

.card-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 50%;
  color: var(--orange);
  background: #fff1e9;
  font-weight: 900;
}

.card-icon img {
  width: 34px;
  height: 34px;
}

.card p { margin: 14px 0 0; color: var(--muted); }

.campaign-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #bfd5e9;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff 0%, #f2f7fc 100%);
  box-shadow: var(--shadow);
}

.product-card {
  width: min(100%, 920px);
  margin-inline: auto;
}

.campaign-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--orange);
}

.campaign-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 22px;
  align-items: center;
  padding: 28px;
}

.campaign-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.campaign-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: .84rem;
  font-weight: 900;
}

.campaign-price {
  display: grid;
  place-items: center;
  min-height: 142px;
  border: 1px solid #c9dae9;
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
}

.campaign-price span {
  color: var(--muted);
  font-size: .85rem;
  font-weight: 800;
}

.campaign-price strong {
  color: var(--navy);
  font-size: 2.25rem;
  line-height: 1;
}

.campaign-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: .92rem;
}

.partner-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 26px;
  align-items: center;
  padding: 30px;
  border: 1px solid #c7d8e8;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(234, 243, 251, .72), rgba(255, 255, 255, .96)),
    var(--white);
  box-shadow: 0 16px 36px rgba(7, 63, 120, .1);
}

.partner-card.compact {
  margin-inline: auto;
}

.partner-content .lead {
  max-width: 720px;
}

.partner-panel {
  min-height: 190px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.partner-panel span {
  color: #ffd7c1;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.partner-panel strong {
  font-size: 2rem;
  line-height: 1.1;
}

.partner-panel em {
  color: rgba(255, 255, 255, .82);
  font-style: normal;
  font-weight: 700;
}

.testimonial-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.testimonial-controls {
  display: flex;
  gap: 8px;
}

.testimonial-controls button {
  position: relative;
  width: 38px;
  height: 38px;
  border: 1px solid #c8d9e8;
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.testimonial-controls button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--navy);
  border-right: 2px solid var(--navy);
}

.testimonial-controls button:first-child::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.testimonial-controls button:last-child::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

.testimonial-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.testimonial-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  min-height: 340px;
  display: grid;
  align-content: start;
  scroll-snap-align: start;
  border: 1px solid #d8e4ef;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 26px rgba(7, 63, 120, .06);
}

.testimonial-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px;
  border-bottom: 1px solid #f2d9cf;
}

.testimonial-profile h3 {
  font-size: 1rem;
}

.testimonial-profile p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  overflow: hidden;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff0e8, #f7cbbd);
  color: #7c3a24;
  font-weight: 900;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonial-body {
  position: relative;
  padding: 26px 24px 28px;
}

.testimonial-body::after {
  content: "”";
  position: absolute;
  top: -10px;
  right: 24px;
  color: #f7d8ca;
  font-size: 5rem;
  line-height: 1;
  font-weight: 900;
}

.stars {
  color: var(--orange);
  font-size: .95rem;
  letter-spacing: .08em;
  margin-bottom: 18px;
}

.testimonial-body p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #344153;
  line-height: 1.78;
  font-size: .94rem;
}

.testimonial-note {
  margin: 24px 0 0;
  color: #445063;
  font-size: .9rem;
}

.option-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 24px;
  border: 1px solid #c7d8e8;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(7, 63, 120, .07);
}

.option-strip h2 {
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
}

.option-strip p {
  margin: 10px 0 0;
  color: var(--muted);
}

.option-meta {
  display: grid;
  gap: 12px;
  justify-items: end;
}

.option-meta span {
  color: var(--navy);
  font-weight: 900;
}

.rakulink-card {
  overflow: hidden;
  border: 1px solid #c7d8e8;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.rakulink-hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr);
  gap: 30px;
  align-items: center;
  padding: 30px;
  background: linear-gradient(135deg, #ffffff 0%, #eef6fc 100%);
}

.rakulink-price {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 18px;
  padding: 10px 14px;
  border: 1px solid #cfe0ef;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  font-weight: 900;
}

.rakulink-price strong {
  font-size: 1.55rem;
}

.content-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.content-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 26px rgba(14, 34, 58, .06);
}

.content-screen {
  min-height: 128px;
  padding: 18px;
  display: grid;
  align-content: end;
  gap: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 63, 120, .94), rgba(12, 23, 40, .86)),
    radial-gradient(circle at 20% 15%, rgba(242, 106, 33, .72), transparent 28%);
}

.content-screen.variety {
  background:
    linear-gradient(135deg, rgba(242, 106, 33, .92), rgba(12, 23, 40, .86)),
    radial-gradient(circle at 78% 20%, rgba(255, 255, 255, .3), transparent 24%);
}

.content-screen.plus {
  background:
    linear-gradient(135deg, rgba(12, 23, 40, .94), rgba(100, 113, 132, .78)),
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, .28), transparent 24%);
}

.screen-label {
  width: max-content;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  font-size: .78rem;
  font-weight: 900;
}

.screen-title {
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.35;
}

.content-card-body {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
}

.content-card-body img {
  width: 72px;
  height: 48px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.content-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.55;
}

.service-logo-rail {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 14px;
  padding: 20px 30px 30px;
  background: #eef2f6;
}

.service-logo-rail img {
  width: 100%;
  height: 66px;
  object-fit: contain;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.rakulink-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: .9rem;
}

.addon-card {
  border-color: #b8d3ea;
  background: linear-gradient(135deg, #ffffff 0%, #f2f8fd 100%);
}

.addon-price {
  margin-top: 14px;
  color: var(--navy);
  font-size: 1.7rem;
  font-weight: 900;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 900;
}

.price-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 30px;
  border: 1px solid #c9dae9;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.price-main {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.price-number {
  color: var(--navy);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-top: 22px;
}

.page-hero {
  padding: 52px 0 38px;
  background: var(--bg);
}

.page-hero .lead { max-width: 780px; }

.service-block {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  align-items: start;
  padding: 26px 20px;
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background .18s ease, box-shadow .18s ease;
}

.service-block:last-child { border-bottom: 0; }

.service-block.is-package {
  background: linear-gradient(90deg, rgba(234, 243, 251, .78), rgba(255, 255, 255, 0));
}

.service-block.is-optional {
  background: linear-gradient(90deg, rgba(255, 247, 240, .88), rgba(255, 255, 255, 0));
}

.service-number {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--navy);
  font-weight: 900;
  font-size: 1.2rem;
}

.service-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: .78rem;
  font-weight: 900;
}

.service-tag.optional {
  background: #fff1e9;
  color: var(--orange-dark);
  border: 1px solid #ffd3bd;
}

.service-tag.support {
  background: var(--blue-soft);
  color: var(--navy);
  border: 1px solid #cfe0ef;
}

.visual-split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: 34px;
  align-items: center;
}

.visual-split.reverse {
  grid-template-columns: minmax(360px, 1.05fr) minmax(0, .95fr);
}

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

.visual-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.image-card {
  overflow: hidden;
  padding: 0;
}

.image-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.image-card-body {
  padding: 22px;
}

.channel-section {
  margin-top: 26px;
  border: 1px solid #c8d9e8;
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(7, 63, 120, .06);
}

.channel-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px 18px;
  border: 0;
  border-bottom: 1px solid #e4edf5;
  background: linear-gradient(180deg, #fbfdff 0%, #f6faff 100%);
  color: var(--ink);
  text-align: left;
  font: inherit;
  font-weight: 900;
  cursor: default;
}

.channel-head > span:first-child {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--navy-dark);
  font-size: 1.45rem;
  line-height: 1.15;
}

.channel-head > span:first-child::before {
  content: "";
  width: 32px;
  height: 3px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: none;
}

.count {
  min-width: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: var(--white);
  border: 1px solid #c9dcec;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: .95rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(7, 63, 120, .08);
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 22px 24px 26px;
  background:
    linear-gradient(180deg, rgba(247, 251, 255, .76), rgba(255, 255, 255, 0) 80px);
}

.channel-card {
  min-height: 124px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  color: var(--navy-dark);
  font-weight: 800;
  text-align: center;
  line-height: 1.35;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.channel-card:hover {
  border-color: #b8d3ea;
  box-shadow: 0 10px 24px rgba(7, 63, 120, .09);
  transform: translateY(-1px);
}

.channel-logo {
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.channel-logo img {
  max-width: 100%;
  width: min(168px, 96%);
  max-height: 58px;
  object-fit: contain;
}

.channel-logo-text {
  min-width: 54px;
  max-width: 100%;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border: 1px solid #d8e2ec;
  border-radius: 6px;
  background: var(--white);
  color: var(--navy);
  font-size: .84rem;
  font-weight: 900;
  line-height: 1.1;
}

.channel-name {
  font-size: .94rem;
}

.form {
  display: grid;
  gap: 15px;
  max-width: 820px;
}

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

label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 800;
}

.label-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
}

.hint-button {
  position: relative;
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid #c8d9e8;
  border-radius: 50%;
  background: #f6faff;
  color: var(--navy);
  font: inherit;
  font-size: .8rem;
  font-weight: 900;
  cursor: pointer;
}

.hint-popover {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  z-index: 5;
  width: max-content;
  max-width: min(280px, 82vw);
  padding: 10px 12px;
  border: 1px solid #c8d9e8;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 26px rgba(7, 63, 120, .14);
  color: #314156;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity .16s ease, transform .16s ease;
}

.hint-button:hover .hint-popover,
.hint-button:focus-visible .hint-popover {
  opacity: 1;
  transform: translate(-50%, 0);
}

input, select, textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfd9e3;
  border-radius: var(--radius);
  padding: 10px 13px;
  font: inherit;
  background: var(--white);
}

input[type="file"] {
  padding: 9px 12px;
  color: #445063;
}

textarea { min-height: 130px; resize: vertical; }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 700;
  line-height: 1.6;
}

.checkbox-label input {
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  margin-top: 3px;
  accent-color: var(--orange);
}

.form-note { color: var(--muted); margin: 10px 0 0; }
.field-note {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 600;
}
.custom-file-upload {
  display: flex;
  align-items: center;
  gap: 10px;
}

.custom-file-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid #cfd9e3;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}

.custom-file-btn:hover,
.custom-file-btn:focus-visible {
  border-color: var(--orange);
  background: #fff7f0;
}

.custom-file-text {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
}

.custom-file-text.has-file {
  color: var(--navy);
}

.error-text { display: none; color: #b42318; font-weight: 700; }
.is-invalid + .error-text { display: block; }
.checkbox-label.is-invalid + .error-text { display: block; }
.is-invalid ~ .error-text { display: block; }

.form-help {
  margin: 0;
  padding: 12px 14px;
  border-left: 4px solid var(--navy);
  border-radius: var(--radius);
  background: var(--blue-soft);
  color: #314156;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.faq-nav a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  font-size: .9rem;
}

.faq-category {
  scroll-margin-top: 90px;
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.faq-category:first-of-type {
  margin-top: 0;
}

.faq-category-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.faq-category-title::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--orange);
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border: 0;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.faq-question::after { content: "+"; color: var(--navy); font-size: 1.35rem; line-height: 1; }
.faq-item.is-open .faq-question::after { content: "−"; }
.faq-answer { display: none; padding: 0 22px 20px; color: var(--muted); }
.faq-item.is-open .faq-answer { display: block; }

.faq-answer p {
  margin: 0 0 12px;
}

.faq-answer ul {
  margin: 10px 0 0;
  padding-left: 1.25rem;
}

.faq-answer li + li {
  margin-top: 6px;
}

.thanks-card {
  max-width: 720px;
}

.steps {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 18px 20px 18px 58px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
}

.steps strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
}

.notice-box {
  margin-top: 24px;
  padding: 22px;
  border-left: 5px solid var(--orange);
  border-radius: var(--radius);
  background: #fff7f0;
  color: #38465a;
}

.notice-box p {
  margin: 0 0 10px;
}

.notice-box p:last-child {
  margin-bottom: 0;
}

.visual-split > .notice-box {
  grid-column: 1 / -1;
}

.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, .82);
  padding: 42px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
}

.site-footer h2, .site-footer h3 { color: var(--white); }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--white); }
.footer-links, .footer-contact {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.copyright {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .9rem;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
  inset: 66px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 22px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px rgba(7, 63, 120, .08);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }
  .nav-group {
    border-bottom: 1px solid var(--line);
  }
  .nav-dropdown-toggle {
    width: 100%;
    min-height: 46px;
    justify-content: space-between;
  }
  .nav-dropdown {
    position: static;
    min-width: 0;
    display: none;
    transform: none;
    padding: 0 0 10px 14px;
    border: 0;
    box-shadow: none;
  }
  .nav-group.is-open .nav-dropdown {
    display: grid;
  }
  .nav-group:hover .nav-dropdown,
  .nav-group:focus-within .nav-dropdown {
    display: none;
  }
  .nav-group.is-open .nav-dropdown,
  .nav-group.is-open:focus-within .nav-dropdown {
    display: grid;
  }
  .nav-dropdown a {
    min-height: 40px;
    border-bottom: 0;
  }
  .nav-cta { margin-top: 12px; justify-content: center; border-bottom: 0 !important; }
  .hero-carousel { padding: 0 44px 40px; }
  .hero-track { min-height: 0; }
  .hero-grid, .split, .footer-grid { grid-template-columns: 1fr; }
  .visual-split,
  .visual-split.reverse { grid-template-columns: 1fr; }
  .partner-card { grid-template-columns: 1fr; }
  .option-strip { grid-template-columns: 1fr; }
  .option-meta { justify-items: start; }
  .rakulink-hero { grid-template-columns: 1fr; }
  .content-showcase { grid-template-columns: 1fr; }
  .service-logo-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .campaign-inner { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 48px; }
  .hero-grid { gap: 28px; }
  .hero-copy { max-width: none; }
  .hero-media img { aspect-ratio: 16 / 9; }
  .testimonial-track {
    grid-template-columns: none;
    grid-auto-columns: minmax(300px, 58vw);
  }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .channel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .container { width: min(100% - 28px, var(--max)); }
  .section { padding: 40px 0; }
  .section-head { display: block; }
  .testimonial-head {
    display: grid;
    align-items: start;
  }
  .testimonial-controls {
    justify-content: end;
  }
  .testimonial-track {
    grid-auto-columns: minmax(260px, 86vw);
    gap: 14px;
  }
  .testimonial-card {
    min-height: 0;
  }
  .hero { padding: 28px 0 34px; }
  .hero-carousel { padding: 0 0 34px; }
  .hero-arrow {
    top: auto;
    bottom: 0;
    width: 36px;
    height: 36px;
    transform: none;
  }
  .hero-arrow:hover,
  .hero-arrow:focus-visible {
    transform: scale(1.03);
  }
  .hero-arrow-prev { left: 0; }
  .hero-arrow-next { right: 0; }
  .hero-dots { bottom: 11px; }
  .hero-slide { transform: translateX(16px); }
  .hero-slide.is-active { transform: translateX(0); }
  .grid-3, .grid-4, .form-row { grid-template-columns: 1fr; }
  .button-row .btn { width: 100%; }
  .price-pill { display: grid; width: 100%; }
  .price-main { display: block; }
  .price-main .btn { margin-top: 20px; width: 100%; }
  .price-card { padding: 26px 20px; }
  .campaign-inner { padding: 26px 20px; }
  .rakulink-hero { padding: 24px 18px; }
  .service-logo-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 18px; }
  .service-logo-rail img { height: 58px; }
  .service-block { grid-template-columns: 1fr; gap: 14px; }
  .channel-head {
    cursor: pointer;
    display: grid;
    grid-template-columns: 1fr auto auto;
    text-align: left;
  }
  .channel-head::after {
    content: "+";
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: var(--navy);
    border: 1px solid #d4e2ef;
    border-radius: 50%;
    background: var(--white);
    font-size: 1.1rem;
    line-height: 1;
  }
  .channel-section.is-open .channel-head::after { content: "-"; }
  .channel-grid { display: none; grid-template-columns: 1fr; padding: 16px; }
  .channel-section.is-open .channel-grid { display: grid; }
  .channel-head { padding: 18px 16px; }
  .channel-head > span:first-child {
    font-size: 1.2rem;
  }
  .channel-head > span:first-child::before {
    width: 24px;
    height: 3px;
  }
  .count {
    min-width: 54px;
    padding: 6px 11px;
    font-size: .88rem;
  }
  .footer-grid { gap: 18px; }
}
