/* ============================================================
   ミランドオンラインクリニック - Main Stylesheet
   Design: elife.clinic inspired, clean medical aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Noto+Sans+JP:wght@300;400;500;600;700&display=swap');

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --primary:    #1D2939;
  --primary-80: rgba(29,41,57,0.8);
  --accent:     #508FF9;
  --accent-dark:#3a7de8;
  --accent-light:rgba(80,143,249,0.08);
  --teal:       #24AA8C;
  --teal-light: rgba(36,170,140,0.08);
  --light:      #F9FAFB;
  --light-2:    #F3F4F6;
  --text:       #344054;
  --text-muted: #667085;
  --text-faint: #98A2B3;
  --white:      #ffffff;
  --border:     #E4E7EC;
  --border-2:   #D0D5DD;
  --shadow-sm:  0 1px 3px rgba(16,24,40,0.06), 0 1px 2px rgba(16,24,40,0.04);
  --shadow-md:  0 4px 8px -2px rgba(16,24,40,0.10), 0 2px 4px -2px rgba(16,24,40,0.06);
  --shadow-lg:  0 12px 16px -4px rgba(16,24,40,0.08), 0 4px 6px -2px rgba(16,24,40,0.03);
  --shadow-xl:  0 20px 24px -4px rgba(16,24,40,0.08), 0 8px 8px -4px rgba(16,24,40,0.03);
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-2xl: 32px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans:  'Noto Sans JP', 'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Figtree', 'Noto Sans JP', sans-serif;
}

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

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

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

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

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

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.eyebrow.teal {
  color: var(--teal);
  background: var(--teal-light);
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--primary);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #3B82F6 100%);
  color: #fff;
  box-shadow: 0 1px 2px rgba(80,143,249,0.2), 0 4px 16px rgba(80,143,249,0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(80,143,249,0.25), 0 8px 24px rgba(80,143,249,0.35);
}

.btn-primary:active { transform: translateY(0); }

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

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: #fff;
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 70px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(228,231,236,0.8);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(16,24,40,0.06);
}

.header-inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--teal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(80,143,249,0.3);
}

.logo-icon svg { width: 20px; height: 20px; }

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.logo-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.logo-sub {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  font-family: var(--font-display);
}

/* Main Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: var(--light);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.hamburger:hover { background: var(--light); }

.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.open .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 20px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  box-shadow: var(--shadow-lg);
}

.mobile-nav.open { display: flex; }

.mobile-nav .nav-link {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 15px;
}

.mobile-nav .btn {
  margin-top: 8px;
  width: 100%;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  padding-top: 70px;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #F8FAFF 0%, #EFF4FF 40%, #F0FDF9 100%);
  overflow: hidden;
  position: relative;
}

/* Decorative background shapes */
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(80,143,249,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36,170,140,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0 100px;
  width: 100%;
}

/* Hero Left */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(80,143,249,0.1);
  color: var(--accent);
  border: 1px solid rgba(80,143,249,0.2);
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  font-family: var(--font-display);
}

.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

.hero-description {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  width: fit-content;
  box-shadow: var(--shadow-sm);
}

.hero-stat {
  padding: 16px 24px;
  text-align: center;
  position: relative;
}

.hero-stat + .hero-stat::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--border);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

/* Hero Right - Image */
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 32px 64px -12px rgba(16,24,40,0.18), 0 16px 32px -8px rgba(80,143,249,0.12);
}

.hero-img-wrap img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.4,0,0.2,1);
}

.hero-img-wrap:hover img { transform: scale(1.03); }

/* Floating cards */
.hero-float-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  box-shadow: 0 8px 32px rgba(16,24,40,0.12), 0 1px 3px rgba(16,24,40,0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float-card 4s ease-in-out infinite;
  min-width: 160px;
}

.hero-float-card:nth-child(2) { animation-delay: -2s; }

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.float-card-1 {
  bottom: 40px;
  left: -24px;
}

.float-card-2 {
  top: 32px;
  right: -24px;
}

.float-card-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.float-card-icon.blue { background: rgba(80,143,249,0.12); }
.float-card-icon.teal { background: rgba(36,170,140,0.12); }

.float-card-text { flex: 1; }
.float-card-label { font-size: 11px; color: var(--text-muted); margin-bottom: 2px; }
.float-card-value { font-size: 16px; font-weight: 700; color: var(--primary); line-height: 1.2; font-family: var(--font-display); }

/* ============================================================
   SECTION BASICS
   ============================================================ */
.section {
  padding: 100px 0;
}

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

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

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-title {
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.85;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--primary);
  padding: 20px 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 500;
}

.trust-item-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============================================================
   CATEGORIES
   ============================================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.cat-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  display: block;
  position: relative;
}

.cat-card:hover {
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(80,143,249,0.15), 0 8px 16px rgba(16,24,40,0.06);
}

.cat-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.cat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.cat-card:hover .cat-img-wrap img {
  transform: scale(1.08);
}

.cat-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(29,41,57,0.55) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}

.cat-card:hover .cat-img-overlay { opacity: 1; }

.cat-emoji-badge {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.95);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}

.cat-card:hover .cat-emoji-badge { transform: scale(1.1); }

.cat-body {
  padding: 16px;
}

.cat-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
  line-height: 1.3;
}

.cat-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

.cat-arrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.cat-link {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  opacity: 0;
  transform: translateX(-4px);
  transition: all var(--transition);
}

.cat-card:hover .cat-link {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-img-main img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
}

.about-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}

.about-badge-icon {
  width: 44px; height: 44px;
  background: var(--teal-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-badge-text { }
.about-badge-label { font-size: 11px; color: var(--text-muted); margin-bottom: 2px; }
.about-badge-value { font-size: 18px; font-weight: 800; color: var(--primary); font-family: var(--font-display); }

/* About Content */
.about-content { }

.about-title {
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.about-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 32px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-icon.blue { background: var(--accent-light); }

.feature-body { }
.feature-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}
.feature-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

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

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

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

.why-icon {
  width: 72px; height: 72px;
  border-radius: 20px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}

.why-card:hover .why-icon { transform: scale(1.08); }

.why-icon-blue {
  background: linear-gradient(135deg, rgba(80,143,249,0.12) 0%, rgba(80,143,249,0.06) 100%);
}
.why-icon-teal {
  background: linear-gradient(135deg, rgba(36,170,140,0.12) 0%, rgba(36,170,140,0.06) 100%);
}
.why-icon-amber {
  background: linear-gradient(135deg, rgba(245,158,11,0.12) 0%, rgba(245,158,11,0.06) 100%);
}

.why-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.why-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.85;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process-wrapper {
  position: relative;
}

.process-line {
  position: absolute;
  top: 44px;
  left: calc(100%/6);
  right: calc(100%/6);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  opacity: 0.3;
  pointer-events: none;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}

.process-step {
  text-align: center;
  padding: 0 16px;
}

.step-circle {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--teal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 8px 24px rgba(80,143,249,0.28);
  transition: all var(--transition);
  position: relative;
}

.step-circle::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(80,143,249,0.15);
  transition: all var(--transition);
}

.process-step:hover .step-circle {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(80,143,249,0.35);
}

.process-step:hover .step-circle::after {
  border-color: rgba(80,143,249,0.3);
  inset: -8px;
}

.step-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.step-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.85;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item.is-open {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(80,143,249,0.1);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: background var(--transition);
}

.faq-trigger:hover { background: var(--light); }

.faq-question {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  flex: 1;
  line-height: 1.5;
}

.faq-icon-wrap {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.faq-item.is-open .faq-icon-wrap {
  background: var(--accent);
  transform: rotate(45deg);
}

.faq-icon-wrap svg { transition: inherit; }
.faq-item.is-open .faq-icon-wrap svg { stroke: #fff; }

.faq-answer {
  display: none;
  padding: 0 24px 22px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.9;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* ============================================================
   NEWS
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.news-thumb {
  overflow: hidden;
  aspect-ratio: 16/9;
}

.news-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.news-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

.news-tag.blue { background: var(--accent-light); color: var(--accent); }
.news-tag.teal { background: var(--teal-light); color: var(--teal); }
.news-tag.amber { background: rgba(245,158,11,0.08); color: #D97706; }

.news-date {
  font-size: 12px;
  color: var(--text-faint);
  font-family: var(--font-display);
}

.news-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.55;
  flex: 1;
}

.news-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 8px;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 14px;
  opacity: 0;
  transform: translateY(4px);
  transition: all var(--transition);
}

.news-card:hover .news-link {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #162032 50%, #0f2339 100%);
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  text-align: center;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(80,143,249,0.12) 0%, transparent 70%);
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36,170,140,0.1) 0%, transparent 70%);
}

.cta-banner .container { position: relative; z-index: 1; }

.cta-title {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.25;
}

.cta-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-white {
  background: #fff;
  color: var(--accent);
  border: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.2fr;
  gap: 56px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Brand col */
.footer-brand { }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-logo-text .logo-name { color: #fff; }
.footer-logo-text .logo-sub { color: rgba(255,255,255,0.4); }

.footer-tagline {
  font-size: 14px;
  line-height: 1.85;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
}

.footer-disclaimer-small {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  line-height: 1.7;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.06);
}

/* Footer nav columns */
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 18px;
  font-family: var(--font-display);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover { color: #fff; }

/* Footer bottom */
.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}

.footer-legal a:hover { color: rgba(255,255,255,0.65); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding-top: 70px;
  background: linear-gradient(135deg, var(--primary) 0%, #243552 100%);
  padding-bottom: 64px;
  padding-top: calc(70px + 64px);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(80,143,249,0.12) 0%, transparent 70%);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
}

.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.page-hero-breadcrumb a {
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}

.page-hero-breadcrumb a:hover { color: rgba(255,255,255,0.8); }

.page-hero-breadcrumb span { color: var(--accent); }

/* ============================================================
   PRODUCTS PAGE
   ============================================================ */
.tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 48px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tabs-nav::-webkit-scrollbar { display: none; }

.tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  font-family: inherit;
}

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

.tab-btn.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.tab-pane { display: none; }
.tab-pane.is-active { display: block; }

/* Products category header */
.cat-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.cat-section-img {
  width: 64px; height: 64px;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.cat-section-info h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.cat-section-info p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Product grid */
.products-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}

.product-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all var(--transition);
}

.product-card:hover {
  border-color: var(--accent);
  background: rgba(80,143,249,0.02);
  transform: translateX(2px);
  box-shadow: var(--shadow-sm);
}

.product-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.product-name {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.5;
}

.products-note {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
  text-align: center;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.company-info-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1.5px solid var(--border);
}

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

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

.company-info-table th {
  width: 220px;
  padding: 20px 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  background: var(--light);
  text-align: left;
  vertical-align: top;
  border-right: 1px solid var(--border);
}

.company-info-table td {
  padding: 20px 24px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.8;
  background: #fff;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.contact-info-title {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.3;
}

.contact-info-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 36px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.contact-info-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-card-icon.blue { background: var(--accent-light); }
.contact-info-card-icon.teal { background: var(--teal-light); }

.contact-info-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.contact-info-card-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.contact-emergency {
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(239,68,68,0.05);
  border: 1px solid rgba(239,68,68,0.15);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: #991B1B;
  line-height: 1.7;
}

.contact-emergency strong { color: #DC2626; }

/* Contact Form */
.contact-form-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 44px;
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

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

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

.form-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-required {
  font-size: 11px;
  background: #EF4444;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
  line-height: 1;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-family: var(--font-sans);
  color: var(--text);
  background: #fff;
  transition: all var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-faint);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(80,143,249,0.1);
  background: rgba(80,143,249,0.01);
}

.form-select-wrap {
  position: relative;
}

.form-select-wrap::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--text-muted);
  pointer-events: none;
}

.form-textarea {
  resize: vertical;
  min-height: 148px;
  line-height: 1.7;
}

.form-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-checkbox {
  width: 18px; height: 18px;
  border: 1.5px solid var(--border-2);
  border-radius: 5px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}

.form-checkbox-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.form-checkbox-label a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-submit-note {
  font-size: 12px;
  color: var(--text-faint);
  text-align: center;
  margin-top: 14px;
  line-height: 1.6;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.animate-up {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1),
              transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

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

.animate-fade {
  opacity: 1;
  transition: opacity 0.7s ease;
}

.animate-fade.is-visible { opacity: 1; }

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

/* ============================================================
   RESPONSIVE — TABLET (1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-grid { gap: 40px; }
}

/* ============================================================
   RESPONSIVE — MOBILE (768px)
   ============================================================ */
@media (max-width: 768px) {
  /* Header */
  .main-nav { display: none; }
  .header-cta { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 0 64px;
  }

  .hero-visual { order: -1; }

  .hero-float-card { display: none; }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn { width: 100%; justify-content: center; }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }

  .hero-stat { padding: 14px 16px; }
  .stat-value { font-size: 22px; }

  /* Sections */
  .section { padding: 72px 0; }

  /* Categories */
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img-badge { right: 12px; bottom: 12px; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Process */
  .process-line { display: none; }
  .process-grid { grid-template-columns: 1fr; gap: 28px; }

  /* News */
  .news-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Products */
  .products-list { grid-template-columns: 1fr; }
  .tabs-nav { gap: 0; }
  .tab-btn { padding: 12px 16px; font-size: 13px; }

  /* About page */
  .company-info-table th { width: 110px; padding: 14px 16px; font-size: 13px; }
  .company-info-table td { padding: 14px 16px; font-size: 13px; }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-card { padding: 28px 24px; }
  .form-row { grid-template-columns: 1fr; }

  /* CTA */
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (480px)
   ============================================================ */
@media (max-width: 480px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 32px; }
  .trust-bar-inner { gap: 24px; }
}
