/* ============================================
   Mana Works - Design System & Global Styles
   ============================================ */

/* --- CSS Variables (Design Tokens) --- */
:root {
  /* Color Palette - Navy / Dark Blue */
  --color-primary: #1B2E4B;
  --color-primary-light: #2C4A72;
  --color-primary-dark: #0F1D33;
  --color-accent: #3B7DD8;
  --color-accent-light: #5A9AEF;
  --color-accent-hover: #2A6BC6;

  /* Neutrals */
  --color-white: #FFFFFF;
  --color-bg: #FAFBFC;
  --color-bg-alt: #F0F3F7;
  --color-border: #D8DEE6;
  --color-text: #2D3748;
  --color-text-light: #5A6577;
  --color-text-muted: #8896A6;

  /* CTA */
  --color-cta: #E8740C;
  --color-cta-hover: #D06400;

  /* Typography */
  --font-primary: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-en: 'Inter', 'Noto Sans JP', sans-serif;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --max-width: 1120px;
  --header-height: 72px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(27,46,75,0.06);
  --shadow-md: 0 4px 12px rgba(27,46,75,0.08);
  --shadow-lg: 0 8px 30px rgba(27,46,75,0.1);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Transitions */
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent-hover);
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-primary);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p {
  margin-bottom: var(--space-md);
}

.en {
  font-family: var(--font-en);
  letter-spacing: 0.04em;
}

.section-label {
  font-family: var(--font-en);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

.section-lead {
  font-size: var(--text-lg);
  color: var(--color-text-light);
  max-width: 640px;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-5xl) 0;
}

.section--bg {
  background-color: var(--color-bg-alt);
}

.section--dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-white);
}

.section--dark .section-label {
  color: var(--color-accent-light);
}

.section--dark .section-lead {
  color: rgba(255,255,255,0.7);
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.header__logo {
  font-family: var(--font-en);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

.header__logo span {
  color: var(--color-accent);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.header__nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding-bottom: 4px;
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.header__nav a:hover {
  color: var(--color-primary);
}

.header__nav a:hover::after {
  width: 100%;
}

/* Mobile Menu */
.header__menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header__menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn--primary {
  background: var(--color-cta);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-cta-hover);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232,116,12,0.3);
}

.btn--secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--white {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn--white:hover {
  background: var(--color-bg);
  color: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn--sm {
  padding: 10px 20px;
  font-size: var(--text-sm);
}

.btn--lg {
  padding: 18px 40px;
  font-size: var(--text-lg);
}

.btn--arrow::after {
  content: '\2192';
  margin-left: 4px;
  transition: transform var(--transition);
}

.btn--arrow:hover::after {
  transform: translateX(4px);
}

/* --- Cards --- */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

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

.card__icon {
  width: 48px;
  height: 48px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  color: var(--color-accent);
  font-size: var(--text-2xl);
}

.card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.card__text {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: 1.7;
}

.card__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent);
  background: rgba(59,125,216,0.08);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: var(--space-md);
}

/* --- Grid --- */
.grid {
  display: grid;
  gap: var(--space-2xl);
}

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

/* --- Hero / First View --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background: linear-gradient(135deg, #0A1628 0%, var(--color-primary) 60%, #1E3A5F 100%);
  color: var(--color-white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(59,125,216,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--space-3xl);
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero__catch {
  font-size: var(--text-5xl);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.01em;
  color: #FFFFFF;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero__sub {
  font-size: var(--text-xl);
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* --- Hero Visual (Flow Chart) --- */
.hero__visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-flow {
  width: 100%;
  max-width: 420px;
  height: auto;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.2));
}

/* Step entrance animations */
.hero-flow__step--1 { animation: flowStepIn 0.6s ease-out 0.3s both; }
.hero-flow__step--2 { animation: flowStepIn 0.6s ease-out 0.6s both; }
.hero-flow__step--3 { animation: flowStepIn 0.6s ease-out 0.9s both; }
.hero-flow__step--4 { animation: flowStepIn 0.6s ease-out 1.2s both; }

.hero-flow__line--1 { animation: flowLineIn 0.4s ease-out 0.5s both; }
.hero-flow__line--2 { animation: flowLineIn 0.4s ease-out 0.8s both; }
.hero-flow__line--3 { animation: flowLineIn 0.4s ease-out 1.1s both; }

.hero-flow__arrow--1 { animation: flowArrowIn 0.3s ease-out 0.7s both; }
.hero-flow__arrow--2 { animation: flowArrowIn 0.3s ease-out 1.0s both; }
.hero-flow__arrow--3 { animation: flowArrowIn 0.3s ease-out 1.3s both; }

@keyframes flowStepIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes flowLineIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes flowArrowIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Subtle hover glow on steps */
.hero-flow__step rect {
  transition: filter 0.3s ease;
}
.hero-flow__step:hover rect {
  filter: drop-shadow(0 0 8px rgba(90,154,239,0.4));
}

/* --- About Section --- */
.about-intro {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.about-intro__photo {
  width: 280px;
  height: 340px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  border: 1px solid var(--color-border);
}

/* Initial Icon (no photo) */
.initial-icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.initial-icon--lg {
  width: 160px;
  height: 160px;
  font-size: var(--text-5xl);
}

/* No-photo layout variant */
.about-intro--no-photo {
  grid-template-columns: 1fr;
}

.about-intro--no-photo .about-intro__visual {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  margin-bottom: var(--space-lg);
}

.about-intro__name {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-xs);
}

.about-intro__title {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.about-intro__bio {
  font-size: var(--text-base);
  line-height: 2;
  color: var(--color-text-light);
}

/* --- Company Info Table --- */
.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table tr {
  border-bottom: 1px solid var(--color-border);
}

.info-table th {
  text-align: left;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-primary);
  padding: var(--space-lg) var(--space-xl) var(--space-lg) 0;
  width: 160px;
  vertical-align: top;
}

.info-table td {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  padding: var(--space-lg) 0;
}

/* --- Works Cards --- */
.works-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--transition);
}

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

.works-card__header {
  padding: var(--space-lg) var(--space-2xl) 0;
}

.works-card__body {
  padding: var(--space-md) var(--space-2xl) var(--space-2xl);
}

.works-card__category {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent);
  background: rgba(59,125,216,0.08);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: var(--space-sm);
}

.works-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}

.works-card__meta {
  display: flex;
  gap: var(--space-lg);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.works-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: 1.7;
}

/* Works Filter */
.works-filter {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.works-filter__btn {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-light);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-primary);
}

.works-filter__btn:hover,
.works-filter__btn.active {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* --- Service Detail --- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.service-detail__content h3 {
  margin-bottom: var(--space-md);
}

.service-detail__content p {
  color: var(--color-text-light);
  line-height: 1.9;
}

.service-detail__list {
  margin-top: var(--space-lg);
}

.service-detail__list li {
  padding: var(--space-sm) 0;
  padding-left: var(--space-xl);
  position: relative;
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

.service-detail__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
}

/* --- Price Table --- */
.price-table {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.price-table__header {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-lg) var(--space-2xl);
}

.price-table__header h4 {
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.price-table__header p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  margin: 0;
}

.price-table__body {
  padding: var(--space-2xl);
}

.price-table__price {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.price-table__price small {
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-text-muted);
}

/* --- Contact Form --- */
.form-group {
  margin-bottom: var(--space-xl);
}

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.form-group label .required {
  color: var(--color-cta);
  font-size: var(--text-xs);
  margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(59,125,216,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

/* Checkbox Group */
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 400;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-accent);
}

/* Form Success Message */
.form-success {
  text-align: center;
  padding: var(--space-3xl) var(--space-2xl);
  background: var(--color-white);
  border-radius: var(--radius-xl);
  animation: fadeIn 0.4s ease-out;
}

.form-success p:first-child {
  font-size: var(--text-xl);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.form-success p:last-child {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Legal Content (Privacy Policy etc.) --- */
.legal-content h2 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-primary);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
}

.legal-content p {
  font-size: var(--text-sm);
  line-height: 1.9;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.legal-content ul {
  margin: var(--space-md) 0;
  padding-left: var(--space-xl);
}

.legal-content li {
  font-size: var(--text-sm);
  line-height: 1.9;
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

.legal-content a {
  color: var(--color-accent);
}

/* --- Blog Article --- */
.blog-article {
  max-width: 720px;
  margin: 0 auto;
  font-size: var(--text-base);
  line-height: 2;
  color: var(--color-text-light);
}
.blog-article h2 {
  font-size: var(--text-xl);
  color: var(--color-text);
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-primary);
}
.blog-article h3 {
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}
.blog-article p {
  margin-bottom: var(--space-lg);
}
.blog-article ul, .blog-article ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}
.blog-article li {
  margin-bottom: var(--space-sm);
}
.blog-article .blog-meta {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2xl);
}
.blog-article .blog-cta {
  background: var(--color-bg-muted);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
  margin-top: var(--space-3xl);
  text-align: center;
}
.blog-article .blog-cta p {
  margin-bottom: var(--space-md);
  font-size: var(--text-lg);
  color: var(--color-text);
  font-weight: 600;
}
.blog-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}
@media (max-width: 768px) {
  .blog-list { grid-template-columns: 1fr; }
}
.blog-list__item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  transition: box-shadow 0.2s;
}
.blog-list__item:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.blog-list__item h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}
.blog-list__item h3 a {
  color: var(--color-text);
  text-decoration: none;
}
.blog-list__item h3 a:hover {
  color: var(--color-primary);
}
.blog-list__date {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}
.blog-list__desc {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: 1.7;
}

/* --- FAQ --- */
.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-xl) 0;
}

.faq-item__q {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item__q::before {
  content: 'Q.';
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--color-accent);
  margin-right: var(--space-md);
  flex-shrink: 0;
}

.faq-item__q::after {
  content: '+';
  font-size: var(--text-xl);
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-item__q::after {
  transform: rotate(45deg);
}

.faq-item__a {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  padding: var(--space-md) 0 0 var(--space-2xl);
  line-height: 1.8;
  display: none;
}

.faq-item.open .faq-item__a {
  display: block;
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding: var(--space-5xl) 0;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: var(--color-white);
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.cta-section p {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-lg);
  margin-bottom: var(--space-2xl);
}

/* --- Footer --- */
.footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.6);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: var(--space-2xl);
}

.footer__logo {
  font-family: var(--font-en);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.footer__desc {
  font-size: var(--text-sm);
  max-width: 320px;
}

.footer__links {
  display: flex;
  gap: var(--space-3xl);
}

.footer__links-group h4 {
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.footer__links-group a {
  display: block;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-sm);
}

.footer__links-group a:hover {
  color: var(--color-white);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
}

.footer__bottom a {
  color: rgba(255,255,255,0.5);
}

.footer__bottom a:hover {
  color: var(--color-white);
}

/* --- Utilities --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-xl); }
.mt-3 { margin-top: var(--space-2xl); }
.mt-4 { margin-top: var(--space-3xl); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.mb-3 { margin-bottom: var(--space-2xl); }
.mb-4 { margin-bottom: var(--space-3xl); }

/* --- Page Header (sub pages) --- */
.page-header {
  padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-3xl);
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.page-header .section-label {
  margin-bottom: var(--space-sm);
}

.page-header .section-title {
  margin-bottom: var(--space-md);
}

/* --- LP Specific --- */
.lp-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 0;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
  color: var(--color-white);
  overflow: hidden;
}

.lp-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 70%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(59,125,216,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.lp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: rgba(15,29,51,0.9);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-xl);
}

.lp-header__logo {
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--color-white);
  font-size: var(--text-base);
}

.lp-trust {
  display: flex;
  gap: var(--space-xl);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  margin-top: var(--space-xl);
}

.lp-trust span::before {
  content: '\2713';
  margin-right: 6px;
  color: var(--color-accent-light);
}

/* Check List (LP Problem) */
.check-list li {
  padding: var(--space-md) 0;
  padding-left: var(--space-2xl);
  position: relative;
  font-size: var(--text-base);
  border-bottom: 1px solid var(--color-border);
}

.check-list li::before {
  content: '\2610';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: var(--text-xl);
}

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .about-intro { grid-template-columns: 1fr; }
  .about-intro__photo { margin: 0 auto; }
  .service-detail { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root {
    --text-5xl: 2.25rem;
    --text-4xl: 1.875rem;
    --text-3xl: 1.5rem;
    --space-5xl: 4rem;
    --space-4xl: 3rem;
  }

  .header__nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: var(--space-xl);
    gap: var(--space-md);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
  }

  .header__nav.open {
    display: flex;
  }

  .header__menu-btn {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .hero__visual {
    max-width: 320px;
    margin: 0 auto;
  }

  .hero__catch {
    font-size: var(--text-3xl);
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    gap: var(--space-2xl);
  }

  .footer__links {
    flex-direction: column;
    gap: var(--space-xl);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .lp-hero {
    min-height: auto;
    padding: calc(56px + var(--space-3xl)) 0 var(--space-3xl);
  }

  .lp-trust {
    flex-direction: column;
    gap: var(--space-sm);
  }
}
