/* =====================================================
   งานดี ดีเวลลอปเม้นท์ — Professional Design System
   ===================================================== */

/* --- Custom Properties --- */
:root {
  --primary: #0f4c81;
  --primary-dark: #0a3560;
  --primary-light: #e8f4fd;
  --accent: #00b894;
  --accent-dark: #00a381;
  --accent-glow: rgba(0, 184, 148, 0.12);
  --gold: #f9a825;
  --dark: #0f172a;
  --dark-soft: #1e293b;
  --text: #334155;
  --text-light: #64748b;
  --text-muted: #94a3b8;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow: 0 4px 24px rgba(15,23,42,0.06);
  --shadow-md: 0 8px 32px rgba(15,23,42,0.08);
  --shadow-lg: 0 16px 48px rgba(15,23,42,0.12);
  --shadow-accent: 0 8px 32px rgba(0,184,148,0.20);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Noto Sans Thai', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-heading: 'Noto Sans Thai', 'Segoe UI', system-ui, sans-serif;
  --max-w: 1200px;
  --max-w-sm: 900px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.75;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
ul, ol { list-style: none; }

/* --- Layout --- */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.wrap-sm { max-width: var(--max-w-sm); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: #fff; }
.section-dark .text-light { color: #cbd5e1; }
.text-center { text-align: center; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.3; color: var(--dark); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
.section-title { margin-bottom: 16px; }
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.8;
}
.section-dark .section-subtitle { color: #94a3b8; }
.accent-text { color: var(--accent); }
.highlight-bar {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: 2px;
  margin: 16px auto 24px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,184,148,0.30);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}
.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: #fff;
}
.btn-white {
  background: #fff;
  color: var(--primary);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--primary);
}
.btn-sm { padding: 10px 24px; font-size: 0.9rem; }
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }
.btn-group { display: flex; gap: 16px; flex-wrap: wrap; }

/* --- Header / Navbar --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
  text-decoration: none;
}
.brand:hover { color: var(--primary); }
.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: var(--radius-xs);
}
.brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
}
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a:hover { color: var(--primary); }
.nav-cta {
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff !important;
  border-radius: 50px;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  position: relative;
  z-index: 1;
  overflow: visible;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-accent); color: #fff !important; }

/* Mobile Nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero --- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--dark) 0%, #162447 40%, var(--primary-dark) 100%);
  padding: 160px 0 100px;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0,184,148,0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(15,76,129,0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-text { color: #fff; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(0, 184, 148, 0.15);
  border: 1px solid rgba(0, 184, 148, 0.3);
  border-radius: 50px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  color: #fff;
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.2;
}
.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent), #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.15rem;
  color: #94a3b8;
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-graphic {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(0,184,148,0.08), rgba(15,76,129,0.08));
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 32px;
  position: relative;
}
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 24px 16px;
  text-align: center;
  color: #fff;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}
.hero-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}
.hero-card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-card-icon svg { width: 24px; height: 24px; fill: #fff; }
.hero-card-title { font-size: 0.8rem; color: #cbd5e1; font-weight: 500; }

/* --- Stats Bar --- */
.stats-bar {
  background: var(--bg);
  padding: 0;
  margin-top: -50px;
  position: relative;
  z-index: 10;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.stat-item {
  padding: 36px 24px;
  text-align: center;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border);
}
.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  line-height: 1.2;
}
.stat-number .accent { color: var(--accent); }
.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* --- Services Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all var(--transition);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--accent), var(--primary));
}
.service-icon svg { width: 28px; height: 28px; transition: fill var(--transition); }
.service-card:hover .service-icon svg { fill: #fff; }
.service-card h3 { margin-bottom: 12px; font-size: 1.15rem; }
.service-card p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }
.service-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 14px;
  background: var(--accent-glow);
  color: var(--accent-dark);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* --- Why Choose Us --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.why-card {
  text-align: center;
  padding: 40px 24px;
}
.why-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary-light), #dbeafe);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-icon svg { width: 32px; height: 32px; fill: var(--primary); }
.why-card h3 { margin-bottom: 12px; }
.why-card p { color: var(--text-light); font-size: 0.95rem; }

/* --- Process / Steps --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary), var(--accent));
  opacity: 0.3;
}
.process-step {
  text-align: center;
  position: relative;
  z-index: 2;
}
.process-num {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.process-step h3 { margin-bottom: 8px; font-size: 1.05rem; }
.process-step p { color: var(--text-light); font-size: 0.9rem; }

/* --- FAQ --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item:hover { border-color: var(--accent); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--dark);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1rem;
  font-family: var(--font);
  transition: all var(--transition);
}
.faq-q:hover { color: var(--accent); }
.faq-arrow {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition);
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner {
  padding: 0 24px 20px;
  color: var(--text-light);
  line-height: 1.8;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 50%, var(--primary) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,184,148,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-banner h2 { color: #fff; margin-bottom: 16px; position: relative; z-index: 2; }
.cta-banner p { color: #94a3b8; margin-bottom: 32px; font-size: 1.1rem; position: relative; z-index: 2; }
.cta-banner .btn-group { justify-content: center; position: relative; z-index: 2; }

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info-card {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.contact-info-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0,184,148,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.contact-info-card h3 { color: #fff; margin-bottom: 24px; font-size: 1.4rem; }
.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(0,184,148,0.15);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-detail-icon svg { width: 20px; height: 20px; fill: var(--accent); }
.contact-detail-text span { display: block; color: #94a3b8; font-size: 0.85rem; }
.contact-detail-text strong { color: #fff; font-weight: 600; }
.contact-detail-text a { color: var(--accent); }

.contact-form {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.contact-form h3 { margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  transition: all var(--transition);
  background: var(--bg);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* --- About Page --- */
.about-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
  padding: 140px 0 80px;
  color: #fff;
}
.about-hero h1 { color: #fff; margin-bottom: 16px; }
.about-hero p { color: #94a3b8; font-size: 1.15rem; max-width: 640px; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.info-list { margin-top: 24px; }
.info-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.info-item:last-child { border-bottom: none; }
.info-label { font-weight: 600; color: var(--dark); min-width: 160px; flex-shrink: 0; }
.info-value { color: var(--text-light); }

/* --- Page Hero (subpages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
  padding: 140px 0 60px;
  color: #fff;
}
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: #94a3b8; font-size: 1.1rem; }
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
  font-size: 0.9rem;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb span { color: #64748b; }

/* --- Success Page --- */
.success-section { text-align: center; padding: 160px 0 80px; }
.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--accent-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.success-icon svg { width: 40px; height: 40px; fill: var(--accent); }

/* --- Footer --- */
.site-footer {
  background: var(--dark);
  color: #cbd5e1;
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: 16px; }
.footer-desc { font-size: 0.9rem; line-height: 1.8; color: #94a3b8; margin-bottom: 16px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col a { display: block; color: #94a3b8; padding: 4px 0; font-size: 0.9rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--accent); }
.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: #94a3b8;
}
.footer-contact-item svg { width: 18px; height: 18px; fill: var(--accent); flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

/* --- Floating CTA --- */
.float-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-accent);
  transition: all var(--transition);
  color: #fff;
}
.float-cta:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(0,184,148,0.40);
  color: #fff;
}
.float-cta svg { width: 24px; height: 24px; fill: #fff; }

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

/* --- Map --- */
.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 24px;
  border: 1px solid rgba(255,255,255,0.1);
}
.map-wrapper iframe { display: block; width: 100%; height: 200px; border: 0; }

/* --- Services Detail Page --- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail:nth-child(even) .service-detail-visual { order: -1; }
.service-detail-visual {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}
.service-detail-visual .service-icon-lg {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-detail-visual .service-icon-lg svg { width: 48px; height: 48px; fill: #fff; }
.service-detail-text h3 { font-size: 1.5rem; margin-bottom: 16px; }
.service-detail-text p { color: var(--text-light); margin-bottom: 16px; line-height: 1.8; }
.service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}
.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.95rem;
}
.check-icon { color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .hero { min-height: auto; padding: 140px 0 80px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail:nth-child(even) .service-detail-visual { order: 0; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    transition: transform var(--transition);
    z-index: 999;
  }
  .main-nav.open { transform: translateY(0); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; align-items: flex-start; }
  .hero { padding: 120px 0 64px; }
  .hero-desc { font-size: 1rem; }
  .cta-banner { padding: 56px 0; }
  .float-cta { bottom: 16px; right: 16px; width: 48px; height: 48px; }
  .float-cta svg { width: 20px; height: 20px; }
}
