/* ============================================================
   ひなたコンサルティング — Design System & Styles (Bright & Warm)
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+JP:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors */
  --color-primary: #0f2744;          /* 信頼感のあるディープネイビー */
  --color-primary-light: #1e3a5f;
  --color-accent: #0284c7;           /* 爽快で知的なスカイブルー */
  --color-accent-light: #38bdf8;
  --color-accent-hover: #0369a1;
  --color-gold: #f59e0b;             /* 温もりと活気を与えるひなたのサンシャインゴールド */
  --color-gold-dark: #b45309;
  --color-gold-light: #fef3c7;
  --color-gold-gradient: linear-gradient(135deg, #f59e0b, #fbbf24);

  --color-bg: #fbfcfe;              /* 透明感のある澄んだホワイト */
  --color-bg-alt: #f0f6fc;          /* 爽やかなペールブルーグレー */
  --color-text: #1e293b;            /* 視認性の高いスレートチャコール */
  --color-text-sub: #475569;        /* 落ち着きのあるサブテキスト */
  --color-text-light: #94a3b8;
  --color-white: #ffffff;
  --color-border: #e2e8f0;
  --color-border-subtle: #edf2f7;
  --color-card-bg: #ffffff;
  
  /* Typography */
  --font-heading: 'Noto Sans JP', 'Inter', sans-serif;
  --font-body: 'Noto Sans JP', 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 96px 0;
  --container-width: 1200px;
  --container-padding: 0 24px;

  /* Borders & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(15, 39, 68, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 39, 68, 0.06);
  --shadow-lg: 0 10px 32px rgba(15, 39, 68, 0.08);
  --shadow-card: 0 4px 20px rgba(15, 39, 68, 0.05);
  --shadow-card-hover: 0 14px 36px rgba(2, 132, 199, 0.12);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-sub);
  max-width: 660px;
  line-height: 1.85;
}

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

.section-header.center {
  text-align: center;
}

.section-header.center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

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

section {
  padding: var(--section-padding);
  position: relative;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), #0369a1);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.38);
  color: var(--color-white);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-primary);
  border: 1.5px solid #cbd5e1;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-outline:hover {
  background: var(--color-white);
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.15);
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: var(--color-white);
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.32);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(245, 158, 11, 0.42);
  color: var(--color-white);
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all var(--transition-base);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(15, 39, 68, 0.08);
  border-bottom-color: rgba(226, 232, 240, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-primary);
  text-decoration: none;
}

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

.logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  color: var(--color-text-sub);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
  transition: all var(--transition-fast);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
  background: rgba(2, 132, 199, 0.08);
}

.nav-cta {
  margin-left: 16px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.mobile-nav-overlay.active {
  display: flex;
  opacity: 1;
}

.mobile-nav-overlay a {
  color: var(--color-primary);
  font-size: 1.25rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 50px;
  transition: all var(--transition-fast);
}

.mobile-nav-overlay a:hover {
  background: rgba(2, 132, 199, 0.08);
  color: var(--color-accent);
}

/* ---------- Hero (Bright & Uplifting) ---------- */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fbff 0%, #eaf4fd 50%, #fefcf6 100%);
  padding-top: 100px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(255, 255, 255, 0.65) 50%,
    rgba(255, 255, 255, 0.82) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 740px;
  padding: 80px 0 100px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 50px;
  color: #b45309;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.08);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  color: #d97706;
}

.hero-title {
  font-size: clamp(2.1rem, 5.2vw, 3.4rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.32;
  margin-bottom: 22px;
  letter-spacing: -0.025em;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-description {
  font-size: 1.125rem;
  color: #334155;
  line-height: 1.95;
  margin-bottom: 38px;
  max-width: 620px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid rgba(15, 39, 68, 0.12);
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--color-primary);
  font-family: 'Inter', sans-serif;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 4px;
}

.hero-stat-label {
  font-size: 0.84rem;
  color: var(--color-text-sub);
  margin-top: 6px;
  font-weight: 500;
}

/* ---------- Section Wave Divider ---------- */
.wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 50px;
}

/* ---------- About (会社案内) ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

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

.about-info-table tr:last-child {
  border-bottom: none;
}

.about-info-table th {
  padding: 18px 20px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-primary);
  text-align: left;
  white-space: nowrap;
  width: 120px;
  vertical-align: top;
  background: #f8fafc;
}

.about-info-table td {
  padding: 18px 24px;
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.7;
}

.profile-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  position: relative;
}

.profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-gold));
  border-radius: 0 0 4px 4px;
}

.profile-card h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-primary);
}

.profile-card h3 svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
}

.profile-text {
  color: var(--color-text-sub);
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 24px;
}

.qualifications {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.qualification-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #166534;
}

.qualification-tag:nth-child(even) {
  background: #f0f9ff;
  border-color: #bae6fd;
  color: #0369a1;
}

/* Strengths Cards */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.strength-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  text-align: center;
  position: relative;
}

.strength-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: #bae6fd;
}

.strength-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: linear-gradient(135deg, #e0f2fe, #f0fdf4);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
}

.strength-icon svg {
  width: 30px;
  height: 30px;
  color: var(--color-accent);
}

.strength-card h4 {
  font-size: 1.15rem;
  margin-bottom: 14px;
  color: var(--color-primary);
}

.strength-card p {
  font-size: 0.9rem;
  color: var(--color-text-sub);
  line-height: 1.85;
}

/* Philosophy (Warm Sunshine & Radiance) */
.philosophy-block {
  margin-top: 56px;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 40%, #ffffff 100%);
  border: 1px solid #fde68a;
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.08);
}

.philosophy-block::before {
  content: '\201C';
  position: absolute;
  top: 10px;
  left: 28px;
  font-size: 9rem;
  color: rgba(245, 158, 11, 0.12);
  font-family: Georgia, serif;
  line-height: 1;
}

.philosophy-title {
  color: #b45309;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.philosophy-title svg {
  color: #d97706;
}

.philosophy-keyword {
  font-size: 2rem;
  font-weight: 700;
  color: #92400e;
  display: block;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.philosophy-text {
  color: #451a03;
  font-size: 1rem;
  line-height: 2;
  position: relative;
  z-index: 1;
  opacity: 0.92;
}

/* ---------- Services (サービス) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), #38bdf8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: #bae6fd;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin-bottom: 22px;
  background: #f0f9ff;
  border: 1px solid #e0f2fe;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-accent);
}

.service-card h4 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--color-primary);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--color-text-sub);
  line-height: 1.85;
}

.service-sub-list {
  margin-top: 14px;
  padding-left: 0;
}

.service-sub-list li {
  font-size: 0.85rem;
  color: var(--color-text-sub);
  padding: 5px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.service-sub-list li::before {
  content: '✓';
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.8rem;
  margin-top: 2px;
}

/* ---------- Flow (ご相談の流れ) ---------- */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.flow-steps::before {
  content: '';
  position: absolute;
  top: 46px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 2px;
  background: linear-gradient(90deg, #bae6fd, #fde68a);
  z-index: 0;
}

.flow-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.flow-step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), #0369a1);
  color: var(--color-white);
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.28);
}

.flow-step:nth-child(even) .flow-step-number {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.28);
}

.flow-step h4 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: var(--color-primary);
}

.flow-step p {
  font-size: 0.85rem;
  color: var(--color-text-sub);
  line-height: 1.8;
}

/* ---------- Pricing (料金) ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pricing-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 38px 26px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  text-align: center;
  position: relative;
}

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

.pricing-card.featured {
  border-color: #38bdf8;
  box-shadow: 0 6px 28px rgba(2, 132, 199, 0.14);
}

.pricing-card.featured::after {
  content: 'おすすめ';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-accent), #0284c7);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
}

.pricing-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.pricing-card h4 {
  font-size: 1.15rem;
  margin-bottom: 18px;
  color: var(--color-primary);
}

.pricing-amount {
  margin-bottom: 20px;
}

.pricing-amount .yen {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
}

.pricing-amount .number {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--color-primary);
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.02em;
}

.pricing-amount .unit {
  font-size: 0.9rem;
  color: var(--color-text-sub);
}

.pricing-amount .from {
  font-size: 0.78rem;
  color: var(--color-text-light);
  display: block;
  margin-top: 4px;
}

.pricing-desc {
  font-size: 0.85rem;
  color: var(--color-text-sub);
  line-height: 1.8;
}

/* ---------- Cases (実績) ---------- */
.cases-placeholder {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 70px 40px;
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 2px dashed #cbd5e1;
}

.cases-placeholder svg {
  width: 56px;
  height: 56px;
  color: var(--color-accent-light);
  margin-bottom: 20px;
}

.cases-placeholder h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--color-primary);
}

.cases-placeholder p {
  font-size: 0.95rem;
  color: var(--color-text-sub);
}

/* ---------- News (お知らせ) ---------- */
.news-list {
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 12px 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

.news-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

.news-item:last-child {
  border-bottom: none;
}

.news-date {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-accent);
  white-space: nowrap;
}

.news-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
}

/* ---------- Contact (お問合せ - Bright Style) ---------- */
.contact-section {
  background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 50%, #fefcf6 100%);
  padding: var(--section-padding);
  border-top: 1px solid #e0f2fe;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  color: var(--color-text);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
  background: var(--color-white);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.contact-info-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
}

.contact-info-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-sub);
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
}

.contact-form {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.form-group label .required {
  color: #ef4444;
  margin-left: 4px;
  font-size: 0.8rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94a3b8;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  background: var(--color-white);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
}

.form-privacy {
  font-size: 0.78rem;
  color: var(--color-text-sub);
  text-align: center;
  margin-top: 16px;
}

.form-message {
  margin-top: 16px;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 0.95rem;
  text-align: center;
  animation: fadeIn 0.3s ease;
}

.form-message--success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.form-message--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

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

/* ---------- Footer (Light & Clean) ---------- */
.site-footer {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-primary);
  text-decoration: none;
}

.footer-logo:hover {
  color: var(--color-primary);
}

.footer-logo-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--color-text-sub);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

.footer-copyright {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid #edf2f7;
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid #cbd5e1;
  box-shadow: 0 4px 16px rgba(15, 39, 68, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--transition-base);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.22);
  color: var(--color-accent-hover);
  background: #f0f9ff;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

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

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .flow-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .flow-steps::before {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 72px 0;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-content {
    padding: 60px 0 60px;
  }

  .hero-title {
    font-size: clamp(1.85rem, 6vw, 2.5rem);
  }

  .hero-stats {
    gap: 28px;
    flex-wrap: wrap;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .strengths-grid {
    grid-template-columns: 1fr;
  }

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

  .flow-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .philosophy-block {
    padding: 36px 24px;
  }

  .section-title {
    font-size: clamp(1.6rem, 5vw, 2rem);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

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

  .profile-card {
    padding: 28px 20px;
  }

  .contact-form {
    padding: 28px 20px;
  }
}
