/* =============================================
   シンエンM&A - style.css
   文字コード: UTF-8
   ============================================= */

/* ---- CSS Variables ---- */
:root {
  --color-dark:       #1a1a2e;
  --color-dark2:      #2d4263;
  --color-dark3:      #16213e;
  --color-accent:     #e63946;
  --color-accent-dk:  #c8102e;
  --color-bg-light:   #f8f9fa;
  --color-bg-white:   #ffffff;
  --color-text:       #333333;
  --color-text-sub:   #4b5563;
  --color-text-muted: #999999;
  --font-jp:  'Noto Sans JP', sans-serif;
  --font-en:  'Montserrat', sans-serif;
  --header-h: 70px;
  --radius:   8px;
  --shadow:   0 2px 16px rgba(0,0,0,0.08);
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-jp);
  color: var(--color-text);
  background: var(--color-bg-white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button { cursor: pointer; }

/* =============================================
   Utility
   ============================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Section header */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header h2 {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 900;
  color: var(--color-dark);
  margin-bottom: 18px;
  line-height: 1.3;
}
.accent-line {
  width: 80px;
  height: 4px;
  background: var(--color-accent);
  margin: 0 auto;
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 16px;
  border: none;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn:hover { opacity: 0.85; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.btn-primary { background: var(--color-accent); color: #fff; }
.btn-hero    { background: var(--color-accent); color: #fff; font-size: 18px; padding: 18px 56px; }

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   Header
   ============================================= */
#header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--header-h);
  background: var(--color-dark);
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: box-shadow var(--transition);
}
.header-inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}
.logo a {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* Nav */
.nav { flex: 1; }
.nav ul { display: flex; gap: 36px; }
.nav ul li a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: color var(--transition);
}
.nav ul li a:hover { color: #fff; }

.header-cta {
  font-size: 14px;
  padding: 10px 24px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  width: 100%;
  background: var(--color-dark);
  z-index: 999;
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.mobile-menu.active {
  max-height: 400px;
}
.mobile-menu ul li a {
  display: block;
  padding: 16px 32px;
  color: rgba(255,255,255,0.9);
  font-size: 15px;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition), padding-left var(--transition);
}
.mobile-menu ul li a:hover { background: rgba(255,255,255,0.07); padding-left: 40px; }
.mobile-menu ul li a.cta { color: var(--color-accent); }

/* =============================================
   Hero
   ============================================= */
.hero {
  position: relative;
  min-height: 760px;
  margin-top: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 32px 80px;
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark2) 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.8;
  mix-blend-mode: overlay;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 920px;
}
.hero-content h1 {
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 900;
  color: #fff;
  line-height: 1.55;
  margin-bottom: 28px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero-content p {
  font-size: clamp(14px, 1.8vw, 20px);
  color: rgba(255,255,255,0.88);
  line-height: 1.9;
  margin-bottom: 48px;
}

/* =============================================
   Problems
   ============================================= */
.problems {
  padding: 100px 0;
  background: var(--color-bg-light);
}
.problems-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
.problems-card {
  background: var(--color-bg-white);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow);
}
.problems-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-bg-light);
}
.problems-card ul li {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  padding: 11px 0 11px 26px;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
}
.problems-card ul li:last-child { border-bottom: none; }
.problems-card ul li::before {
  content: '●';
  position: absolute;
  left: 0;
  top: 14px;
  color: var(--color-accent);
  font-size: 9px;
}
.problems-bottom {
  font-size: clamp(15px, 1.8vw, 21px);
  font-weight: 700;
  text-align: center;
  color: var(--color-dark);
  background: var(--color-bg-white);
  padding: 32px 48px;
  border-radius: var(--radius);
  border-left: 5px solid var(--color-accent);
  box-shadow: var(--shadow);
  line-height: 1.7;
}

/* =============================================
   Services Overview
   ============================================= */
.services-overview {
  padding: 100px 0;
  background: var(--color-bg-white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}
.service-card {
  display: block;
  background: var(--color-bg-light);
  border-radius: var(--radius);
  padding: 36px 32px;
  border-top: 4px solid var(--color-accent);
  transition: box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
}
.service-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); transform: translateY(-4px); }
.service-icon {
  width: 60px;
  height: 60px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 900;
  color: var(--color-accent);
  margin-bottom: 16px;
  line-height: 1.5;
}
.service-card p {
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.85;
}
.services-bottom {
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 700;
  text-align: center;
  color: var(--color-dark);
  line-height: 1.7;
}

/* =============================================
   Service Details
   ============================================= */
.service-details {
  padding: 100px 0;
  background: var(--color-bg-light);
}
.detail-card {
  background: var(--color-bg-white);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
}
.detail-card:last-child { margin-bottom: 0; }
.detail-header {
  background: linear-gradient(90deg, var(--color-dark) 0%, var(--color-dark3) 100%);
  padding: 28px 40px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.detail-number {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 900;
  color: var(--color-accent);
  background: rgba(255,255,255,0.1);
  border: 2px solid var(--color-accent);
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}
.detail-tag {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 2px;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.detail-title h3 {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 900;
  color: #fff;
}
.detail-body { padding: 40px 48px; }
.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}
.checklist li {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text-sub);
  padding: 11px 0 11px 30px;
  position: relative;
  border-bottom: 1px solid #f2f2f2;
}
.checklist li:last-child { border-bottom: none; }
.checklist li:nth-last-child(2):nth-child(odd) { border-bottom: none; }
.checklist li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 11px;
  color: var(--color-accent);
  font-size: 13px;
}
.detail-highlight {
  margin-top: 28px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-dark);
  background: var(--color-bg-light);
  padding: 20px 28px;
  border-left: 4px solid var(--color-accent);
  border-radius: 0 4px 4px 0;
  line-height: 1.85;
}

/* =============================================
   Features
   ============================================= */
.features {
  padding: 100px 0;
  background: var(--color-bg-white);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-card {
  background: var(--color-bg-light);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); transform: translateY(-4px); }
.feature-number {
  font-family: var(--font-en);
  font-size: 64px;
  font-weight: 600;
  color: var(--color-accent);
  display: block;
  margin-bottom: 16px;
  line-height: 1;
  opacity: 0.9;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 14px;
  line-height: 1.55;
}
.feature-card p {
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.9;
}

/* =============================================
   Pricing
   ============================================= */
.pricing {
  padding: 100px 0;
  background: var(--color-bg-light);
}
.pricing-block {
  background: var(--color-bg-white);
  border-radius: 12px;
  padding: 48px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
}
.pricing-block:last-of-type { margin-bottom: 0; }
.pricing-block h3 {
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-bg-light);
}
.pricing-badge {
  display: inline-block;
  background: none;
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 700;
  padding: 0;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.pricing-table-wrap {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 400px;
}
.pricing-table thead tr {
  background: linear-gradient(90deg, var(--color-dark) 0%, var(--color-dark3) 100%);
}
.pricing-table th {
  background: transparent;
  color: rgba(255,255,255,0.8);
  padding: 16px 32px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pricing-table th:last-child { text-align: right; }
.pricing-table tbody tr {
  border-bottom: 1px solid #f0f0f0;
  transition: background var(--transition);
}
.pricing-table tbody tr:last-child { border-bottom: none; }
.pricing-table tbody tr:hover { background: #fafafa; }
.pricing-table td {
  padding: 18px 32px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-dark);
  background: transparent;
  border: none;
}
.pricing-table td:first-child {
  font-size: 18px;
}
.pricing-table .rate {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-text-sub);
  text-align: right;
}
.pricing-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--color-text-sub);
}
.pricing-note strong { color: var(--color-dark); }
.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.pricing-card {
  background: var(--color-bg-light);
  border-radius: var(--radius);
  padding: 28px 32px;
  border-top: 4px solid var(--color-accent);
}
.pricing-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
}
.pricing-card p {
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.85;
}
.pricing-footer {
  text-align: center;
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 700;
  color: var(--color-dark);
  margin-top: 40px;
  line-height: 1.7;
}

/* =============================================
   Flow
   ============================================= */
.flow {
  padding: 100px 0;
  background: var(--color-bg-white);
}
.flow-steps {
  max-width: 820px;
  margin: 0 auto 56px;
}
.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: var(--color-bg-light);
  border-radius: var(--radius);
  padding: 24px 32px;
  transition: box-shadow var(--transition);
}
.flow-step:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.step-icon {
  width: 52px;
  height: 52px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 20px;
  margin-left: auto;
  order: 3;
  opacity: 0.5;
}
.step-number {
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 500;
  color: var(--color-accent);
  line-height: 1;
  flex-shrink: 0;
  width: 52px;
  text-align: center;
  padding-top: 2px;
}
.step-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 6px;
}
.step-content p {
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.7;
}
.step-optional {
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-left: 6px;
}
.flow-arrow {
  text-align: center;
  color: var(--color-accent);
  font-size: 18px;
  padding: 4px 0;
  line-height: 1;
  margin: 2px 0;
}
.flow-footer {
  text-align: center;
  font-size: clamp(15px, 1.8vw, 20px);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.7;
}

/* =============================================
   Message
   ============================================= */
.message {
  padding: 100px 0;
  background: var(--color-bg-light);
}
.message-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.message-content p {
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 28px;
  line-height: 1.95;
}
.message-content p:last-child { margin-bottom: 0; }

/* =============================================
   Contact
   ============================================= */
.contact {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark2) 100%);
}
.contact .section-header h2 {
  color: #fff;
  font-size: clamp(20px, 3vw, 36px);
}
.contact-sub {
  color: rgba(255,255,255,0.82);
  font-size: clamp(14px, 1.5vw, 18px);
  text-align: center;
  margin-top: 10px;
  line-height: 1.7;
}

/* Error message */
.form-error-msg {
  background: #fff3f3;
  border: 1.5px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 16px 24px;
  margin: 0 auto 32px;
  max-width: 900px;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-line;
}

/* Form wrap */
.contact-form-wrap {
  background: var(--color-bg-white);
  border-radius: 12px;
  padding: 52px 60px;
  max-width: 900px;
  margin: 0 auto 52px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form-group {
  margin-bottom: 22px;
}
.form-row .form-group { margin-bottom: 0; }

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}
.required {
  color: var(--color-accent);
  font-size: 11px;
  font-weight: 700;
  margin-left: 6px;
  background: rgba(230,57,70,0.08);
  padding: 2px 7px;
  border-radius: 2px;
}
.optional-label {
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 400;
  margin-left: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-jp);
  font-size: 15px;
  color: var(--color-text);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--color-text-muted); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(230,57,70,0.12);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--color-accent);
}
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23666' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
  padding-right: 40px;
}
.form-group textarea {
  resize: vertical;
  min-height: 150px;
}
.form-submit {
  text-align: center;
  margin-top: 36px;
}
.btn-submit {
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 700;
  border: none;
  padding: 18px 0;
  border-radius: 4px;
  width: 100%;
  max-width: 400px;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  letter-spacing: 0.05em;
}
.btn-submit:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230,57,70,0.35);
}

/* Contact email link */
.contact-email {
  text-align: center;
}
.contact-email p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin-bottom: 10px;
}
.contact-email a {
  color: #fff;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity var(--transition);
}
.contact-email a:hover { opacity: 0.75; }

/* =============================================
   Company
   ============================================= */
.company {
  padding: 100px 0;
  background: var(--color-bg-white);
}
.company-table-wrap {
  overflow-x: auto;
}
.company-table {
  width: 100%;
  border-collapse: collapse;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid #ddd;
}
.company-table th {
  background: var(--color-dark);
  color: #fff;
  padding: 20px 32px;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  width: 220px;
  vertical-align: top;
  white-space: nowrap;
}
.company-table td {
  background: var(--color-bg-white);
  color: var(--color-text);
  padding: 20px 32px;
  font-size: 15px;
  border-bottom: 1px solid #eee;
  line-height: 1.85;
}
.company-table tr:last-child td { border-bottom: none; }

/* =============================================
   Footer
   ============================================= */
.footer {
  background: var(--color-dark);
  padding: 36px 32px;
  text-align: center;
}
.footer p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 400;
}

/* =============================================
   Responsive
   ============================================= */

/* Tablet */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }

  .services-grid,
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-block { padding: 40px 36px; }
  .contact-form-wrap { padding: 44px 40px; }

  .detail-body { padding: 32px 36px; }
  .detail-header { padding: 24px 32px; }
}

/* Mobile large */
@media (max-width: 768px) {
  /* Header */
  .nav       { display: none; }
  .header-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }

  .header-inner { gap: 16px; padding: 0 20px; }

  /* Hero */
  .hero { min-height: 580px; padding: 80px 24px 60px; }
  .hero-content h1 { font-size: clamp(22px, 6vw, 32px); }
  .hero-content p  { font-size: 14px; }
  .btn-hero { font-size: 16px; padding: 15px 36px; }

  /* Sections */
  .problems      { padding: 72px 0; }
  .services-overview { padding: 72px 0; }
  .service-details   { padding: 72px 0; }
  .features      { padding: 72px 0; }
  .pricing       { padding: 72px 0; }
  .flow          { padding: 72px 0; }
  .message       { padding: 72px 0; }
  .contact       { padding: 72px 0; }
  .company       { padding: 72px 0; }

  .section-header { margin-bottom: 48px; }

  /* Grids → 1 column */
  .problems-grid  { grid-template-columns: 1fr; }
  .services-grid  { grid-template-columns: 1fr; }
  .features-grid  { grid-template-columns: 1fr; }
  .pricing-cards  { grid-template-columns: 1fr; }

  .problems-bottom { padding: 24px 28px; }

  /* Detail card */
  .detail-header { padding: 20px 24px; gap: 18px; }
  .detail-number { width: 52px; height: 52px; font-size: 26px; }
  .detail-body   { padding: 28px 24px; }
  .checklist { grid-template-columns: 1fr; }

  /* Pricing */
  .pricing-block { padding: 32px 24px; }

  /* Form */
  .contact-form-wrap { padding: 36px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-row .form-group { margin-bottom: 22px; }

  /* Company table */
  .company-table th { width: 130px; padding: 16px 20px; }
  .company-table td { padding: 16px 20px; }
}

/* Mobile small */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero-content h1 { font-size: 22px; }

  .flow-steps { margin-bottom: 40px; }
  .flow-step  { padding: 18px 20px; gap: 16px; }
  .step-number { font-size: 28px; width: 42px; }

  /* Responsive company table */
  .company-table,
  .company-table tbody,
  .company-table tr,
  .company-table th,
  .company-table td { display: block; width: 100%; }
  .company-table tr  { margin-bottom: 16px; }
  .company-table th  {
    border-radius: 4px 4px 0 0;
    white-space: normal;
  }
  .company-table td  {
    border-radius: 0 0 4px 4px;
    border-bottom: none;
    border: 1px solid #eee;
    border-top: none;
  }

  .problems-card  { padding: 28px 24px; }
  .service-card   { padding: 28px 24px; }
  .feature-card   { padding: 28px 24px; }
}
