/* ========== RESET & BASE ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "DM Sans", sans-serif;
  color: #1A2744;
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ========== VARIABLES ========== */
:root {
  --navy: #1A2744;
  --amber: #F59E0B;
  --warm-gray: #F5F3F0;
  --white: #FFFFFF;
  --text: #1A2744;
  --text-muted: #64748B;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "DM Sans", sans-serif;
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.header--scrolled {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
/* 非ホームページでは常に Navy 背景（透過ヒーローが存在しないため） */
body:not(.home) .header {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 0.05em;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.header-nav a {
  color: rgba(255,255,255,0.8);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: color 0.2s;
}
.header-nav a:hover { color: var(--amber); }
/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { cursor: pointer; }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 0.5rem 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  margin-top: 0.75rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.8rem !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  white-space: nowrap;
  color: rgba(255,255,255,0.7) !important;
}
.nav-dropdown-menu a:hover {
  color: var(--amber) !important;
  background: rgba(255,255,255,0.04);
}

.header-cta-btn {
  background: var(--amber);
  color: var(--navy) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--navy);
}
.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 3rem 4rem 4rem;
}
.hero-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.15em;
  margin-bottom: 1.25rem;
}
.hero-h1 {
  font-family: var(--sans);
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.hero-accent { color: var(--amber); }
.br-desktop { display: block; }
.hero-sub {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.hero-cta-wrap { margin-top: 0.5rem; }
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 4rem 4rem 2rem;
}
.hero-visual-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #2a3a5c 0%, #1A2744 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  overflow: hidden;
}
.hero-visual img,
.hero-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.875rem;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.btn-amber { background: var(--amber); color: var(--navy); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: var(--amber); color: var(--amber); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn svg { width: 16px; height: 16px; }

/* ========== SECTION SHARED ========== */
.section {
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}
.container {
  max-width: 1120px;
  margin: 0 auto;
}
.section-label {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 6rem);
  color: rgba(26,39,68,0.04);
  position: absolute;
  top: 2rem;
  left: 2rem;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}
.section-h2 {
  font-family: var(--sans);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}
.section-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 3rem;
}

/* ========== PROBLEM ========== */
.problem { background: var(--white); }
.problem-scroll {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1rem 0 2rem;
}
.problem-card {
  background: var(--warm-gray);
  border-radius: 8px;
  padding: 2rem;
  transition: transform 0.2s;
}
.problem-card:hover { transform: translateY(-4px); }
.problem-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}
.problem-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
}
.problem-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.problem-icon svg { stroke: var(--amber); }

/* ========== SOLUTION ========== */
.solution {
  background: var(--amber);
  padding: 5rem 2rem;
  text-align: center;
}
.solution h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 1rem;
}
.solution p {
  color: var(--navy);
  opacity: 0.8;
  font-size: 1rem;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ========== FEATURES ========== */
.features { background: var(--warm-gray); }
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse .feature-content { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }
.feature-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber);
  margin-bottom: 0.75rem;
}
.feature-content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.4;
}
.feature-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}
.feature-visual {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #e2ddd8 0%, #d4cec8 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  overflow: hidden;
}
.feature-visual img,
.feature-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== STEPS ========== */
.steps { background: var(--white); }
.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1rem;
  align-items: start;
}
.step-card {
  position: relative;
  padding: 2.5rem 1.5rem 2rem;
  text-align: center;
}
.step-number {
  font-family: var(--serif);
  font-size: 120px;
  line-height: 1;
  color: var(--amber);
  opacity: 0.12;
  position: absolute;
  top: -0.2em;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
}
.step-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  position: relative;
}
.step-detail {
  margin-top: 0.25rem;
  font-size: 0.8rem !important;
  opacity: 0.7;
}
.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 3rem;
}
.step-arrow svg { stroke: var(--amber); width: 40px; height: 40px; }

/* ========== GALLERY ========== */
.gallery { background: var(--warm-gray); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}
.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item:first-child {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}
.gallery-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #2a3a5c 0%, #1A2744 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item:first-child .gallery-thumb { aspect-ratio: auto; height: 100%; min-height: 320px; }
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumb span {
  color: rgba(255,255,255,0.3);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(26,39,68,0.9));
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.gallery-item:hover .gallery-overlay { transform: translateY(0); }
.gallery-title {
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}
.gallery-tag {
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ========== TESTIMONIALS ========== */
.testimonials { background: var(--white); }
.testimonial-block {
  max-width: 720px;
  margin: 0 auto 4rem;
  text-align: center;
}
.testimonial-block:last-child { margin-bottom: 0; }
.testimonial-quote {
  font-family: var(--serif);
  font-size: 4rem;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.testimonial-text {
  font-size: 1.15rem;
  line-height: 2;
  color: var(--text);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.testimonial-name {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}
.testimonial-role {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ========== PRICING ========== */
.pricing { background: var(--warm-gray); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pricing-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  transition: transform 0.2s;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto auto;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card--featured {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem 2rem;
}
.pricing-badge {
  display: inline-block;
  background: var(--amber);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  grid-row: 1;
  justify-self: start;
}
.pricing-name {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  grid-row: 2;
}
.pricing-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  grid-row: 3;
}
.pricing-card--featured .pricing-desc { color: rgba(255,255,255,0.6); }
.pricing-price {
  font-family: var(--serif);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  grid-row: 4;
  align-self: end;
}
.pricing-card--featured .pricing-price { color: var(--amber); }
.pricing-card .btn { margin-bottom: 1.5rem; grid-row: 5; align-self: start; justify-content: center; }
.pricing-list {
  margin-top: 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  grid-row: 6;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.pricing-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
}
.pricing-card--featured .pricing-list { border-top-color: rgba(255,255,255,0.1); }
.pricing-card--featured .pricing-list li { color: rgba(255,255,255,0.7); }
.pricing-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
}

/* ========== FAQ ========== */
.faq { background: var(--white); }
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid rgba(26,39,68,0.08);
}
.faq-row {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  cursor: pointer;
}
.faq-number {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--amber);
}
.faq-question {
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-toggle {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
}
.faq-toggle::before, .faq-toggle::after {
  content: "";
  position: absolute;
  background: var(--navy);
  border-radius: 1px;
  transition: transform 0.3s;
}
.faq-toggle::before {
  width: 14px; height: 2px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-toggle::after {
  width: 2px; height: 14px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-item.open .faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-answer {
  grid-column: 2;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 600px; padding-bottom: 1.5rem; }
.faq-answer p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ========== CTA ========== */
.cta {
  background: var(--navy);
  padding: 6rem 2rem;
  text-align: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-inner { max-width: 640px; }
.cta h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.cta p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.cta-badges {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  font-weight: 600;
}
.cta-badge svg { stroke: var(--amber); }

/* ========== CONTACT FORM (Contact Form 7 調整) ========== */
.contact-form-wrap { text-align: left; margin-bottom: 2rem; }
.contact-form-wrap p { margin: 0 0 1.25rem; }
.contact-form-wrap label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.4rem;
}
.contact-form-wrap .req { color: var(--amber); font-size: 0.75rem; margin-left: 0.25rem; }
.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap input[type="tel"],
.contact-form-wrap input[type="url"],
.contact-form-wrap select,
.contact-form-wrap textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}
.contact-form-wrap input::placeholder,
.contact-form-wrap textarea::placeholder {
  color: rgba(255,255,255,0.25);
}
.contact-form-wrap input:focus,
.contact-form-wrap select:focus,
.contact-form-wrap textarea:focus {
  outline: none;
  border-color: var(--amber);
}
.contact-form-wrap select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23fff' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.contact-form-wrap select option {
  color: var(--navy);
  background: var(--white);
}
.contact-form-wrap textarea { resize: vertical; min-height: 120px; }
.contact-form-wrap .wpcf7-submit {
  width: 100%;
  background: var(--amber);
  color: var(--navy);
  padding: 1rem 2rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.contact-form-wrap .wpcf7-submit:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.contact-form-wrap .wpcf7-response-output {
  margin: 1rem 0 0;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  color: var(--white);
  font-size: 0.85rem;
}
.contact-form-wrap .wpcf7-not-valid-tip { color: #ff9999; font-size: 0.75rem; margin-top: 0.25rem; }

/* ========== CONTACT FORM — LIGHT THEME（明るい背景向け override） ========== */
.contact-form-wrap--light p { margin: 0 0 1rem; }
.contact-form-wrap--light label {
	color: var(--navy);
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 0.4rem;
}
.contact-form-wrap--light .req { color: #e01e5a; font-size: 0.75rem; margin-left: 0.25rem; }
.contact-form-wrap--light input[type="text"],
.contact-form-wrap--light input[type="email"],
.contact-form-wrap--light input[type="tel"],
.contact-form-wrap--light input[type="url"],
.contact-form-wrap--light select,
.contact-form-wrap--light textarea {
	background: var(--white);
	border: 1px solid #E5E1DB;
	color: var(--navy);
}
.contact-form-wrap--light input::placeholder,
.contact-form-wrap--light textarea::placeholder { color: rgba(26,39,68,0.35); }
.contact-form-wrap--light input:focus,
.contact-form-wrap--light select:focus,
.contact-form-wrap--light textarea:focus {
	border-color: var(--amber);
	outline: none;
}
.contact-form-wrap--light textarea { min-height: 96px; }
.contact-form-wrap--light .wpcf7-list-item {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0 0.75rem 0.4rem 0;
	font-size: 0.875rem;
	color: var(--navy);
}
.contact-form-wrap--light .wpcf7-list-item input[type="checkbox"] {
	width: 16px; height: 16px;
	accent-color: var(--amber);
	margin: 0;
}
.contact-form-wrap--light .wpcf7-list-item-label { line-height: 1.4; }
.contact-form-wrap--light .wpcf7-submit {
	background: var(--amber);
	color: var(--navy);
	padding: 1rem 2rem;
	border-radius: 4px;
	font-weight: 700;
	font-size: 0.875rem;
	border: none;
	cursor: pointer;
	width: 100%;
	transition: transform 0.2s, box-shadow 0.2s;
	margin-top: 0.5rem;
}
.contact-form-wrap--light .wpcf7-submit:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.contact-form-wrap--light .wpcf7-response-output {
	margin: 1rem 0 0;
	padding: 0.75rem 1rem;
	border: 1px solid rgba(26,39,68,0.15);
	border-radius: 4px;
	font-size: 0.85rem;
	color: var(--navy);
}
.contact-form-wrap--light .wpcf7-not-valid-tip { color: #e01e5a; font-size: 0.75rem; margin-top: 0.25rem; }

/* ========== FOOTER ========== */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2.5rem 2rem;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  font-family: var(--serif);
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.footer-tagline {
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
}
.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-nav a {
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--white); }
.footer-copy {
  width: 100%;
  text-align: center;
  color: rgba(255,255,255,0.25);
  font-size: 0.7rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ========== MOBILE NAV OVERLAY ========== */
.mobile-nav {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-nav.active { opacity: 1; pointer-events: all; }
.mobile-nav a {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ========== GENERIC PAGE (Company / Privacy / Terms / Creators / Resources) ========== */
.page-hero {
  background: var(--navy);
  padding: 9rem 2rem 4rem;
  text-align: center;
}
.page-hero h1 {
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
}
.page-hero p { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.page-body {
  background: var(--warm-gray);
  padding: 4rem 2rem;
}
.page-body .container { max-width: 880px; margin: 0 auto; }
.page-body h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 2.5rem 0 1rem;
  line-height: 1.4;
}
.page-body h2:first-child { margin-top: 0; }
.page-body h3 { font-size: 1.1rem; font-weight: 700; margin: 1.5rem 0 0.75rem; }
.page-body p { margin-bottom: 1.25rem; line-height: 1.9; font-size: 0.95rem; }
.page-body ul, .page-body ol { margin: 0 0 1.25rem 1.5rem; }
.page-body ul { list-style: disc; }
.page-body ol { list-style: decimal; }
.page-body li { margin-bottom: 0.5rem; line-height: 1.8; font-size: 0.95rem; }

/* Company table */
.company-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  overflow: hidden;
}
.company-table th, .company-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 0.9rem;
  vertical-align: top;
  line-height: 1.8;
}
.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: none; }
.company-table th {
  background: var(--warm-gray);
  font-weight: 700;
  width: 200px;
}

/* ========== CREATORS BENEFIT CARDS ========== */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}
.benefit-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  border: 1px solid rgba(0,0,0,0.06);
}
.benefit-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.benefit-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ========== RESOURCES CARDS ========== */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.resource-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}
.resource-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #2a3a5c 0%, #1A2744 100%);
  overflow: hidden;
}
.resource-thumb img { width: 100%; height: 100%; object-fit: cover; }
.resource-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.resource-tag {
  display: inline-block;
  background: var(--warm-gray);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
  align-self: flex-start;
}
.resource-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.resource-card p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.8; margin-bottom: 1rem; flex: 1; }
.resource-card .btn { align-self: flex-start; font-size: 0.8rem; padding: 0.7rem 1.25rem; }

/* ========== BLOG ========== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.blog-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #2a3a5c 0%, #1A2744 100%);
  overflow: hidden;
}
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; font-size: 0.75rem; color: var(--text-muted); }
.blog-tag { background: var(--warm-gray); color: var(--navy); padding: 0.15rem 0.5rem; border-radius: 2px; font-weight: 700; }
.blog-card h2, .blog-card h3 { font-size: 1rem; font-weight: 700; line-height: 1.5; margin-bottom: 0.5rem; }
.blog-card p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.8; }

.single-article { background: var(--warm-gray); padding: 9rem 2rem 5rem; }
.single-article .container { max-width: 760px; margin: 0 auto; }
.single-article-header { margin-bottom: 2rem; }
.single-article-meta { display: flex; gap: 0.75rem; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.single-article-header h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}
.single-article-content { background: var(--white); padding: 2.5rem; border-radius: 8px; border: 1px solid rgba(0,0,0,0.06); }
.single-article-content h2 { font-size: 1.25rem; font-weight: 800; margin: 2rem 0 1rem; }
.single-article-content h2:first-child { margin-top: 0; }
.single-article-content h3 { font-size: 1.05rem; font-weight: 700; margin: 1.5rem 0 0.75rem; }
.single-article-content p { margin-bottom: 1.25rem; line-height: 1.9; font-size: 0.95rem; }
.single-article-content ul, .single-article-content ol { margin: 0 0 1.25rem 1.5rem; }
.single-article-content ul { list-style: disc; }
.single-article-content ol { list-style: decimal; }
.single-article-content li { margin-bottom: 0.5rem; line-height: 1.8; font-size: 0.95rem; }
.single-article-content table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: 0.9rem; }
.single-article-content th, .single-article-content td { padding: 0.75rem 1rem; border: 1px solid rgba(0,0,0,0.08); text-align: left; }
.single-article-content th { background: var(--warm-gray); font-weight: 700; }
.single-article-cta {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  text-align: center;
}
.single-article-cta h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 0.75rem; }
.single-article-cta p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 1.25rem; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 40vh; padding: 5rem 2rem 1.5rem; }
  .hero-text { padding: 1.5rem 2rem 3rem; }
  .hero-h1 { font-size: clamp(1.5rem, 5vw, 2rem); }
  .br-desktop { display: none; }
  .hero-text::after { display: none; }
  .feature-row { grid-template-columns: 1fr; gap: 2rem; }
  .feature-row.reverse .feature-content { order: 0; }
  .feature-row.reverse .feature-visual { order: 0; }
  .feature-visual { aspect-ratio: 16/9; }
  .steps-grid { grid-template-columns: 1fr; gap: 0; }
  .step-arrow { transform: rotate(90deg); padding: 1rem 0; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .problem-scroll { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:first-child { grid-column: 1 / -1; grid-row: auto; }
  .benefit-grid { grid-template-columns: 1fr; }
  .resource-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .section { padding: 4rem 1.5rem; }
  .problem-scroll { grid-template-columns: 1fr; }
  .section-label { font-size: clamp(2rem, 12vw, 4rem); }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
  .company-table th { width: 120px; font-size: 0.85rem; }
}
@media (max-width: 375px) {
  .hero-h1 { font-size: 1.75rem; }
  .problem-card { padding: 1.5rem; }
}
