:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #1a1f2e;
  --text-muted: #5c6478;
  --primary: #0d5c63;
  --primary-dark: #094248;
  --accent: #e8a838;
  --accent-soft: #fff4dc;
  --border: #e2e6ef;
  --shadow: 0 12px 40px rgba(13, 92, 99, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --font: "DM Sans", "Noto Sans SC", "Noto Sans TC", system-ui, sans-serif;
  --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  padding-top: env(safe-area-inset-top, 0px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 40px; width: auto; max-width: 180px; object-fit: contain; }
.brand-text {
  display: flex;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
}

.nav-desktop {
  display: none;
  gap: 1.75rem;
  margin-left: auto;
  font-size: 0.95rem;
  font-weight: 500;
  flex-shrink: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
}

.lang-switch {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg);
}

.lang-btn {
  padding: 0.35rem 0.65rem;
  border: none;
  background: transparent;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1.2;
}

.lang-btn.is-active {
  background: var(--primary);
  color: #fff;
}

.nav-desktop a:hover { color: var(--primary); }

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: none;
  background: none;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  padding: 0 1rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.nav-mobile[hidden] { display: none; }
.nav-mobile a {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}

@media (min-width: 900px) {
  .nav-desktop { display: flex; margin-left: auto; margin-right: 0.5rem; }
  .nav-toggle { display: none; }
  .header-actions { margin-left: 0; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 0.85rem 1.75rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(13, 92, 99, 0.25);
}

.btn-primary:hover { background: var(--primary-dark); }

.btn-secondary {
  background: var(--text);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Hero carousel */
.hero-carousel {
  position: relative;
  min-height: clamp(560px, 88vh, 780px);
  background: var(--primary-dark);
}

.hero-slides {
  position: relative;
  min-height: inherit;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s ease, visibility 0.65s;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #094248 0%, #0d5c63 45%, #1a3a4a 100%);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(9, 66, 72, 0.88) 0%, rgba(13, 92, 99, 0.72) 45%, rgba(13, 92, 99, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 3.5rem 0 6.5rem;
  color: #fff;
  max-width: 700px;
}

.hero-tag {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
}

.hero-slide h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.85rem, 4.8vw, 3.1rem);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-slide h1 span { color: var(--accent); }

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  opacity: 0.92;
  max-width: 560px;
}

.hero-lead strong { color: #fff; font-weight: 600; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.hero-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.hero-ui {
  position: absolute;
  z-index: 5;
  bottom: 7.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(100% - 2rem, var(--max));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.hero-arrow {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.6);
}

.hero-dots {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.hero-dot.is-active {
  background: var(--accent);
  transform: scale(1.2);
}

.hero-stats-bar {
  position: absolute;
  z-index: 5;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100% - 2rem, var(--max));
  padding-bottom: 1.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}

.hero-stats li { text-align: left; }
.hero-stats strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
}

.hero-stats span {
  font-size: 0.78rem;
  opacity: 0.82;
}

@media (max-width: 640px) {
  .hero-content { padding-bottom: 7rem; }
  .hero-ui { bottom: 6.5rem; }
  .hero-arrow {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    font-size: 1.25rem;
  }
  .hero-dot {
    width: 12px;
    height: 12px;
    padding: 8px;
    box-sizing: content-box;
    background-clip: content-box;
  }
  .hero-stats { grid-template-columns: 1fr; gap: 0.65rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}

/* Sections */
section { padding: clamp(3.5rem, 8vw, 5.5rem) 0; }

.section-head { margin-bottom: 2.5rem; max-width: 640px; }
.section-head-center { text-align: center; margin-inline: auto; }
.section-head-center .section-desc { margin-inline: auto; }

/* Boss pain list */
.pains { background: var(--surface); border-block: 1px solid var(--border); }

.pains-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .pains-layout { grid-template-columns: 0.9fr 1.1fr; }
}

.pains-visual img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.pain-list {
  display: grid;
  gap: 0.85rem;
}

.pain-list li {
  position: relative;
  padding: 1rem 1rem 1rem 2.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

.pain-list li::before {
  content: "✓";
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.35rem;
  height: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: #8a5a00;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

.footer-fine { font-size: 0.8rem; opacity: 0.55; }
.section-label {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-desc {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
}

/* Personas */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.persona-card {
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  overflow: hidden;
}

.persona-thumb {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.persona-card .persona-icon,
.persona-card h3,
.persona-card p {
  margin-left: 1.25rem;
  margin-right: 1.25rem;
}

.persona-card .persona-icon { margin-top: 1rem; }
.persona-card p { margin-bottom: 1.25rem; }

.persona-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.persona-icon { font-size: 1.75rem; display: block; margin-bottom: 0.75rem; }
.persona-card h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.persona-card p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }

/* Scenario blocks */
.featured-scenarios { background: var(--surface); }

.scenario-block {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border);
}

.scenario-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

@media (min-width: 860px) {
  .scenario-block {
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
  }
  .scenario-block.reverse .scenario-visual { order: 2; }
  .scenario-block.reverse .scenario-body { order: 1; }
}

.scenario-visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(145deg, #dce8ea, #b8d4d8);
}

.scenario-visual.fallback,
.scenario-visual:has(img[style*="display: none"]) {
  background: linear-gradient(145deg, var(--primary) 0%, #1a3a4a 100%);
}

.scenario-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.scenario-badge {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.65rem;
  background: var(--accent-soft);
  color: #8a5a00;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.scenario-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.65rem;
}

.scenario-tagline {
  margin: 0 0 1.25rem;
  color: var(--primary);
  font-weight: 500;
}

.scenario-pains {
  margin-bottom: 1.25rem;
}

.scenario-pains li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.scenario-pains li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.scenario-includes {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.scenario-includes strong { color: var(--primary); margin-right: 0.35rem; }

.scenario-price {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.scenario-price em {
  font-style: normal;
  font-weight: 700;
  color: var(--text);
}

/* Scenario grid */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.scenario-chip {
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
}

.scenario-chip span {
  display: inline-block;
  margin-right: 0.35rem;
  color: var(--primary);
  font-weight: 700;
}

.scenario-chip.highlight {
  border-color: var(--primary);
  background: rgba(13, 92, 99, 0.06);
}

/* Packages */
.packages { background: linear-gradient(180deg, var(--bg) 0%, #eef2f4 100%); }

.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

/* Gallery */
.gallery { background: var(--bg); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}

.gallery-grid img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* Packages with photos */
.package-card {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}

.package-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.package-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.package-card.featured .package-badge {
  top: 140px;
  z-index: 2;
}

.package-card .package-body ul { flex: 1; }

/* Contact with photo */
.contact-visual {
  display: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

@media (min-width: 1100px) {
  .contact-inner {
    grid-template-columns: 0.85fr 1fr 1fr;
    align-items: stretch;
  }
  .contact-visual { display: block; }
}

@media (min-width: 860px) and (max-width: 1099px) {
  .contact-inner { grid-template-columns: 1fr 1fr; }
}

.package-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: scale(1.02);
}

.package-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.75rem;
  background: var(--accent);
  color: #3d2a00;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
}

.package-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
}

.package-for {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.package-card ul {
  flex: 1;
  margin-bottom: 1.25rem;
}

.package-card li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
}

.package-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.package-note {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Trust */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.trust-item {
  padding: 1.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.trust-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.trust-item h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.trust-item p { margin: 0; font-size: 0.92rem; color: var(--text-muted); }

/* Regions */
.region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.region-card {
  padding: 0;
  background: var(--surface);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.region-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.region-card h3,
.region-card p {
  margin-left: 1.75rem;
  margin-right: 1.75rem;
}

.region-card h3 { margin-top: 1rem; }
.region-card p { margin-bottom: 1.75rem; }

/* Contact */
.contact {
  background: var(--primary-dark);
  color: #fff;
}

.contact-inner {
  display: grid;
  gap: 2.5rem;
}

.contact .section-label { color: var(--accent); }
.contact h2 { margin: 0 0 1rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.contact-copy > p { opacity: 0.9; margin: 0 0 1.5rem; }

.contact-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.contact-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
}

.contact-form label { display: grid; gap: 0.35rem; }
.contact-form span { font-size: 0.85rem; opacity: 0.85; }

.contact-form input,
.contact-form select {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  font: inherit;
}

.form-note {
  margin: 0;
  font-size: 0.75rem;
  opacity: 0.65;
  text-align: center;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 calc(2.5rem + env(safe-area-inset-bottom, 0px));
  background: #0a2e33;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.footer-brand p { margin: 0.75rem 0 0; line-height: 1.5; }
.footer-links p { margin: 0 0 0.35rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: 0.9rem;
}

.footer-col a {
  display: block;
  margin-bottom: 0.45rem;
  opacity: 0.75;
  font-size: 0.88rem;
}

.footer-col a:hover { opacity: 1; color: var(--accent); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 1.5rem;
  font-size: 0.85rem;
}

.nav-desktop a.is-active,
.nav-mobile a.is-active {
  color: var(--primary);
  font-weight: 700;
}

/* Inner pages */
.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 66, 72, 0.55) 0%, rgba(9, 66, 72, 0.92) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 3rem 0 2.5rem;
}

.page-hero-tag {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.75rem;
  background: rgba(232, 168, 56, 0.2);
  border: 1px solid rgba(232, 168, 56, 0.45);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--accent);
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
}

.page-hero-lead {
  margin: 0;
  max-width: 640px;
  opacity: 0.92;
  font-size: 1.05rem;
}

.breadcrumb {
  padding: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a:hover { color: var(--primary); }

.page-section {
  padding: 3.5rem 0;
}

.page-section.alt { background: var(--surface); }

.page-section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.page-section > .container > p.section-desc {
  margin: 0 0 2rem;
  color: var(--text-muted);
  max-width: 720px;
}

.two-col {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.split-card {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.info-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.65rem;
  color: var(--text-muted);
}

.info-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.tier-card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.tier-card h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.tier-card p { margin: 0; font-size: 0.92rem; color: var(--text-muted); }

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.link-card {
  display: block;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.link-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.link-card h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.link-card p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }

.link-card .arrow {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
}

.faq-list details {
  margin-bottom: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list p {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cta-band {
  padding: 3rem 0;
  background: var(--primary-dark);
  color: #fff;
  text-align: center;
}

.cta-band h2 { margin: 0 0 0.75rem; font-size: clamp(1.35rem, 3vw, 1.85rem); }
.cta-band p { margin: 0 0 1.5rem; opacity: 0.9; }

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.case-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.case-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.case-body { padding: 1.25rem 1.5rem 1.5rem; }
.case-body h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.case-body p { margin: 0; font-size: 0.92rem; color: var(--text-muted); }
.case-tag {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
}

.product-block {
  display: grid;
  gap: 1.5rem;
  padding: 2rem;
  margin-bottom: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.product-block h3 { margin: 0 0 0.5rem; }
.product-block p { margin: 0 0 1rem; color: var(--text-muted); }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip-row span {
  padding: 0.35rem 0.75rem;
  background: var(--accent-soft);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--primary-dark);
}

.contact-page.contact {
  padding: 5rem 0 3rem;
  min-height: 70vh;
}

.page-hero-compact { min-height: 240px; }

.blog-section { padding-top: 2rem; }

.blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.blog-search {
  flex: 1;
  min-width: 220px;
  max-width: 420px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
}

.blog-count {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.blog-chip {
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.82rem;
  cursor: pointer;
  color: var(--text-muted);
}

.blog-chip.is-active,
.blog-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--accent-soft);
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.blog-card {
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.blog-card-cat {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
}

.blog-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  line-height: 1.35;
}

.blog-card h2 a:hover { color: var(--primary); }

.blog-card p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-read {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
}

.blog-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.blog-page-num {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: 2rem;
}

.blog-article-inner {
  max-width: 720px;
}

.blog-lead {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.blog-article-body p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.blog-article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.blog-article-actions .btn {
  flex: 1 1 auto;
  min-width: min(100%, 200px);
}

@media (min-width: 768px) {
  .two-col { grid-template-columns: 1fr 1fr; }
  .split-card { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
}

@media (max-width: 899px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ========== Mobile / responsive ========== */
@media (max-width: 899px) {
  .header-cta { display: none; }

  .nav-mobile {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    max-height: calc(100dvh - var(--header-h, 72px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 16px 32px rgba(13, 92, 99, 0.12);
    z-index: 101;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }

  .nav-mobile a {
    min-height: 48px;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 767px) {
  .blog-article-actions {
    flex-direction: column;
  }

  .blog-article-actions .btn {
    width: 100%;
    min-width: 0;
  }

  :root {
    --max: 100%;
  }

  .container {
    width: min(100% - 1.25rem, var(--max));
  }

  section { padding: clamp(2.5rem, 6vw, 4rem) 0; }

  .header-inner {
    min-height: 64px;
    gap: 0.75rem;
  }

  .brand-logo { height: 34px; max-width: 140px; }

  .nav-toggle {
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .lang-btn {
    min-width: 40px;
    min-height: 36px;
  }

  .hero-carousel {
    min-height: clamp(460px, 88svh, 640px);
  }

  .hero-content {
    padding: 2.25rem 0 7.5rem;
    max-width: none;
  }

  .hero-slide h1 {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-ui {
    bottom: 6rem;
    gap: 0.5rem;
  }

  .hero-stats-bar {
    width: min(100% - 1.25rem, var(--max));
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }

  .section-head { margin-bottom: 1.75rem; }

  .persona-grid {
    grid-template-columns: 1fr;
  }

  .scenario-block {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .scenario-body h3 { font-size: 1.35rem; }

  .scenario-visual img { min-height: 200px; }

  .scenario-grid {
    grid-template-columns: 1fr 1fr;
  }

  .package-grid {
    grid-template-columns: 1fr;
  }

  .package-card.featured {
    transform: none;
  }

  .package-card.featured .package-badge {
    top: 132px;
  }

  .trust-grid,
  .region-grid,
  .case-grid,
  .link-grid,
  .tier-grid {
    grid-template-columns: 1fr;
  }

  .product-block {
    padding: 1.25rem;
  }

  .split-card {
    padding: 1.25rem;
  }

  .split-card img {
    height: 180px;
  }

  .page-hero {
    min-height: 260px;
  }

  .page-hero-compact { min-height: 200px; }

  .page-hero-content {
    padding: 2rem 0 1.75rem;
  }

  .page-section { padding: 2.5rem 0; }

  .breadcrumb {
    font-size: 0.8rem;
    word-break: break-word;
  }

  .contact-page.contact {
    padding: 3rem 0 2rem;
    min-height: auto;
  }

  .contact-form {
    padding: 1.25rem;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-search {
    max-width: none;
    width: 100%;
    font-size: 16px;
  }

  .blog-list {
    grid-template-columns: 1fr;
  }

  .blog-filters {
    gap: 0.4rem;
  }

  .blog-chip {
    min-height: 36px;
  }

  .blog-pager {
    flex-wrap: wrap;
  }

  .cta-band {
    padding: 2.5rem 0;
  }

  .chip-row {
    gap: 0.4rem;
  }
}

@media (max-width: 480px) {
  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .hero-carousel {
    min-height: clamp(420px, 86svh, 560px);
  }

  .hero-stats strong { font-size: 1.05rem; }

  .pain-list li {
    padding: 0.85rem 0.85rem 0.85rem 2.5rem;
    font-size: 0.95rem;
  }
}

body.menu-open {
  overflow: hidden;
  touch-action: none;
}

body.menu-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(9, 46, 51, 0.45);
  z-index: 90;
  pointer-events: auto;
}

@media (hover: none) {
  .btn:hover,
  .persona-card:hover,
  .link-card:hover,
  .gallery-grid img:hover {
    transform: none;
  }
}

