/* ============================================
   ธ.ศิริเทศ จำกัด — Premium Dark Theme
   Design System + Components + Pages
   ============================================ */

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

/* ---------- CSS Variables ---------- */
:root {
  /* Brand Colors */
  --primary: #FEC711;
  --primary-light: #FFD54F;
  --primary-dark: #F9A825;
  --primary-glow: rgba(254, 199, 17, 0.25);

  /* Dark Theme */
  --bg-dark: #0F172A;
  --bg-surface: #1E293B;
  --bg-lighter: #334155;
  --bg-card: rgba(30, 41, 59, 0.7);

  /* Text */
  --text-light: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dark: #212121;

  /* Accents */
  --accent-red: #EF4444;
  --accent-green: #22C55E;
  --line-green: #06C755;

  /* Glassmorphism */
  --glass-bg: rgba(30, 41, 59, 0.6);
  --glass-border: rgba(254, 199, 17, 0.15);
  --glass-blur: 12px;

  /* Typography */
  --font-thai: 'IBM Plex Sans Thai', sans-serif;
  --font-en: 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 4px 20px rgba(254, 199, 17, 0.3);
  --shadow-glow: 0 0 30px rgba(254, 199, 17, 0.15);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Container */
  --container-max: 1280px;
  --container-narrow: 960px;

  /* Header */
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-thai);
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--primary-light);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: var(--font-thai);
}

input, textarea, select {
  font-family: var(--font-thai);
  outline: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-light);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: var(--space-sm);
  font-family: var(--font-en);
}

.section-title {
  margin-bottom: var(--space-lg);
}

.section-desc {
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
  font-size: 1.05rem;
}

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

.container-narrow {
  max-width: var(--container-narrow);
}

section {
  padding: var(--space-4xl) 0;
}

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

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

.text-center { text-align: center; }
.text-left { text-align: left; }

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(254, 199, 17, 0.1);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-light);
  text-decoration: none;
}

.nav-logo .logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--bg-dark);
  font-family: var(--font-en);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-base);
  border-radius: 1px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-light);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 60%;
}

.nav-links a.active {
  color: var(--primary);
}

.nav-cta {
  margin-left: var(--space-sm);
}

.nav-cta .btn-primary {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--text-light);
  border-radius: 2px;
  transition: all var(--transition-base);
}

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

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

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  font-family: var(--font-thai);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--bg-dark);
  border-color: var(--primary);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(254, 199, 17, 0.45);
  color: var(--bg-dark);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--bg-dark);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(254, 199, 17, 0.1);
  color: var(--primary);
  border-color: transparent;
}

.btn-ghost:hover {
  background: rgba(254, 199, 17, 0.2);
  transform: translateY(-2px);
}

.btn-line {
  background: var(--line-green);
  color: #fff;
  border-color: var(--line-green);
}

.btn-line:hover {
  background: #05b04a;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(6, 199, 85, 0.4);
  color: #fff;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

.btn-icon {
  font-size: 1.2em;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.92) 0%,
    rgba(15, 23, 42, 0.75) 50%,
    rgba(15, 23, 42, 0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding-top: var(--header-height);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(254, 199, 17, 0.12);
  border: 1px solid rgba(254, 199, 17, 0.3);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: var(--space-lg);
}

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

.hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 900;
  margin-bottom: var(--space-lg);
  line-height: 1.2;
}

.hero h1 .highlight {
  color: var(--primary);
  position: relative;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: var(--space-2xl);
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-phone {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-phone a {
  color: var(--primary);
  font-weight: 600;
  font-family: var(--font-en);
  font-size: 1.1rem;
}

/* Decorative elements */
.hero-decor {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 199, 17, 0.08) 0%, transparent 70%);
  z-index: 1;
}

/* ---------- Stats Section ---------- */
.stats {
  padding: var(--space-3xl) 0;
  background: var(--bg-surface);
  border-top: 1px solid rgba(254, 199, 17, 0.1);
  border-bottom: 1px solid rgba(254, 199, 17, 0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.stat-item {
  text-align: center;
  padding: var(--space-lg);
}

.stat-number {
  font-family: var(--font-en);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-number .suffix {
  font-size: 0.6em;
  color: var(--primary-light);
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ---------- Glass Card ---------- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.glass-card:hover {
  border-color: rgba(254, 199, 17, 0.35);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.glass-card:hover::before {
  opacity: 1;
}

/* ---------- Service Cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.service-card {
  text-align: center;
}

.service-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-lg);
  background: linear-gradient(135deg, rgba(254, 199, 17, 0.15), rgba(254, 199, 17, 0.05));
  border: 1px solid rgba(254, 199, 17, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: all var(--transition-base);
}

.glass-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  margin-bottom: var(--space-md);
  font-size: 1.2rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.service-card .btn {
  margin-top: var(--space-lg);
}

/* ---------- Service Detail (Services Page) ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  padding: var(--space-3xl) 0;
  border-bottom: 1px solid var(--bg-lighter);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail.reverse {
  direction: rtl;
}

.service-detail.reverse > * {
  direction: ltr;
}

.service-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.service-detail-img img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-detail-img:hover img {
  transform: scale(1.05);
}

.service-detail-content h3 {
  font-size: 1.6rem;
  margin-bottom: var(--space-md);
  color: var(--primary);
}

.service-detail-content p {
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.service-list li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.service-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  min-width: 20px;
}

/* ---------- Why Choose Us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
}

.why-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
}

.why-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-lg);
  display: block;
}

.why-card h4 {
  margin-bottom: var(--space-md);
  color: var(--primary);
}

.why-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ---------- About / Timeline ---------- */
.timeline {
  position: relative;
  padding: var(--space-2xl) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--bg-lighter));
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 30px);
  position: relative;
  margin-bottom: var(--space-3xl);
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 30px);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  background: var(--primary);
  border: 3px solid var(--bg-dark);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(254, 199, 17, 0.2);
}

.timeline-content {
  padding: var(--space-lg) var(--space-xl);
}

.timeline-year {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.timeline-content h4 {
  margin-bottom: var(--space-sm);
}

.timeline-content p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ---------- Portfolio / Gallery ---------- */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  color: var(--text-muted);
  border: 1px solid var(--bg-lighter);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: var(--bg-dark);
  border-color: var(--primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  font-size: 1.05rem;
  margin-bottom: var(--space-xs);
}

.gallery-overlay p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: var(--bg-surface);
  border: 1px solid var(--bg-lighter);
  border-radius: 50%;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 10001;
}

.lightbox-close:hover {
  background: var(--primary);
  color: var(--bg-dark);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: var(--bg-surface);
  border: 1px solid var(--bg-lighter);
  border-radius: 50%;
  color: var(--text-light);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.lightbox-nav:hover {
  background: var(--primary);
  color: var(--bg-dark);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-caption {
  text-align: center;
  padding: var(--space-md);
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- Pricing ---------- */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-2xl);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.pricing-table thead th {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--bg-dark);
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  font-weight: 700;
  font-size: 0.95rem;
}

.pricing-table tbody td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--bg-lighter);
  font-size: 0.92rem;
  color: var(--text-muted);
}

.pricing-table tbody tr {
  background: var(--bg-surface);
  transition: background var(--transition-fast);
}

.pricing-table tbody tr:hover {
  background: var(--bg-lighter);
}

.pricing-table tbody tr:nth-child(even) {
  background: rgba(30, 41, 59, 0.5);
}

.pricing-table tbody tr:nth-child(even):hover {
  background: var(--bg-lighter);
}

.price-tag {
  color: var(--primary);
  font-weight: 700;
  font-family: var(--font-en);
  font-size: 1.05rem;
}

.pricing-note {
  background: rgba(254, 199, 17, 0.08);
  border: 1px solid rgba(254, 199, 17, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-xl);
  margin-top: var(--space-xl);
}

.pricing-note h4 {
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.pricing-note p,
.pricing-note li {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---------- Forms ---------- */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-light);
}

.form-label .required {
  color: var(--accent-red);
  margin-left: 2px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--bg-lighter);
  border-radius: var(--radius-md);
  color: var(--text-light);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

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

.form-textarea {
  min-height: 130px;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394A3B8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-error {
  color: var(--accent-red);
  font-size: 0.8rem;
  margin-top: var(--space-xs);
  display: none;
}

.form-group.error .form-input,
.form-group.error .form-textarea,
.form-group.error .form-select {
  border-color: var(--accent-red);
}

.form-group.error .form-error {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

/* Multi-step form */
.form-steps {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
  position: relative;
}

.form-steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: var(--bg-lighter);
}

.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  position: relative;
  z-index: 1;
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--bg-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--text-muted);
  transition: all var(--transition-base);
}

.step-indicator.active .step-number {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--bg-dark);
  box-shadow: var(--shadow-gold);
}

.step-indicator.completed .step-number {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: #fff;
}

.step-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.step-indicator.active .step-label {
  color: var(--primary);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeInUp 0.4s ease;
}

/* ---------- CTA Section ---------- */
.cta-section {
  position: relative;
  padding: var(--space-4xl) 0;
  background: linear-gradient(135deg, rgba(254, 199, 17, 0.08) 0%, rgba(15, 23, 42, 1) 50%, rgba(254, 199, 17, 0.05) 100%);
  border-top: 1px solid rgba(254, 199, 17, 0.15);
  border-bottom: 1px solid rgba(254, 199, 17, 0.15);
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 199, 17, 0.06) 0%, transparent 70%);
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  margin-bottom: var(--space-md);
}

.cta-content p {
  color: var(--text-muted);
  margin-bottom: var(--space-2xl);
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.cta-phone {
  margin-top: var(--space-xl);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-light);
  font-family: var(--font-en);
}

.cta-phone a {
  color: var(--primary);
}

/* ---------- Page Header / Banner ---------- */
.page-header {
  position: relative;
  padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-3xl);
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-surface) 100%);
  text-align: center;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -30%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 199, 17, 0.06) 0%, transparent 70%);
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.page-header h1 {
  position: relative;
  z-index: 2;
  margin-bottom: var(--space-md);
}

.breadcrumb {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
}

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

.breadcrumb .sep {
  color: var(--bg-lighter);
}

/* ---------- Contact Info Cards ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.contact-card {
  text-align: center;
  padding: var(--space-2xl);
}

.contact-icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  display: block;
}

.contact-card h4 {
  margin-bottom: var(--space-sm);
  color: var(--primary);
}

.contact-card p,
.contact-card a {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

/* Google Map */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  margin-top: var(--space-2xl);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid rgba(254, 199, 17, 0.1);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer-about h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-md);
}

.footer-about h3 span {
  color: var(--primary);
}

.footer-about p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--bg-dark);
  transform: translateY(-3px);
}

.footer-links h4 {
  font-size: 1rem;
  margin-bottom: var(--space-lg);
  color: var(--text-light);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-contact-info p {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

.footer-contact-info .icon {
  color: var(--primary);
  font-size: 1rem;
  min-width: 20px;
  margin-top: 2px;
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--bg-lighter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ---------- Floating LINE Button ---------- */
.float-line {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: var(--line-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(6, 199, 85, 0.4);
  transition: all var(--transition-base);
  animation: float-bounce 3s ease-in-out infinite;
  text-decoration: none;
}

.float-line:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(6, 199, 85, 0.55);
}

.float-line svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

.float-line-tooltip {
  position: absolute;
  right: 72px;
  background: var(--bg-surface);
  color: var(--text-light);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.float-line:hover .float-line-tooltip {
  opacity: 1;
  visibility: visible;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 998;
  width: 44px;
  height: 44px;
  background: var(--bg-surface);
  border: 1px solid var(--bg-lighter);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary);
  color: var(--bg-dark);
  border-color: var(--primary);
  transform: translateY(-3px);
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

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

@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: 200px 0;
  }
}

@keyframes countUp {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

/* Scroll-triggered animation classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

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

/* ---------- Utility ---------- */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.mb-3 { margin-bottom: var(--space-2xl); }
.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-xl); }
.pt-0 { padding-top: 0; }

.gold { color: var(--primary); }
.muted { color: var(--text-muted); }

/* ---------- Responsive ---------- */

/* Tablet */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .service-detail.reverse {
    direction: ltr;
  }

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

  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    padding-left: 55px;
    padding-right: 0;
    justify-content: flex-start;
  }

  .timeline-dot {
    left: 20px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --header-height: 65px;
  }

  .container {
    padding: 0 var(--space-md);
  }

  section {
    padding: var(--space-3xl) 0;
  }

  /* Mobile Nav */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
    transition: right var(--transition-base);
    border-left: 1px solid rgba(254, 199, 17, 0.1);
    gap: 0;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.05rem;
    padding: var(--space-md) 0;
    width: 100%;
    border-bottom: 1px solid var(--bg-lighter);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: var(--space-lg);
    width: 100%;
  }

  .nav-cta .btn-primary {
    width: 100%;
    text-align: center;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  .mobile-overlay.active {
    display: block;
  }

  /* Hero Mobile */
  .hero {
    min-height: 85vh;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .hero-desc {
    font-size: 1rem;
  }

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

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

  .hero-decor {
    display: none;
  }

  /* Stats Mobile */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .stat-number {
    font-size: 2rem;
  }

  /* Services Mobile */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Gallery Mobile */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  /* Why Grid Mobile */
  .why-grid {
    grid-template-columns: 1fr;
  }

  /* Form Mobile */
  .form-row {
    grid-template-columns: 1fr;
  }

  .form-steps {
    gap: var(--space-md);
  }

  .step-label {
    display: none;
  }

  /* Footer Mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* CTA Mobile */
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 320px;
  }

  /* Floating */
  .float-line {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }

  .back-to-top {
    bottom: 82px;
    right: 20px;
    width: 38px;
    height: 38px;
  }

  /* Page Header */
  .page-header {
    padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-2xl);
  }

  /* Pricing */
  .pricing-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .map-container iframe {
    height: 280px;
  }

  /* Lightbox */
  .lightbox-nav {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

/* Small Mobile */
@media (max-width: 375px) {
  .stat-item {
    padding: var(--space-sm);
  }

  .glass-card {
    padding: var(--space-lg);
  }

  .btn-lg {
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
  }
}

/* ---------- Google Reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
}

.review-card {
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.review-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--bg-dark);
  flex-shrink: 0;
}

.review-info h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.review-info .review-source {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.review-stars {
  display: flex;
  gap: 2px;
  color: var(--primary);
  font-size: 1rem;
}

.review-text {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  font-style: italic;
}

.review-text::before {
  content: '"';
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 0;
  margin-right: 4px;
}

.review-text::after {
  content: '"';
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 0;
  margin-left: 4px;
}

.reviews-summary {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.reviews-summary .big-rating {
  font-family: var(--font-en);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.reviews-summary .review-stars {
  justify-content: center;
  font-size: 1.3rem;
  margin: var(--space-sm) 0;
}

.reviews-summary .review-count {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bg-lighter);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: var(--space-md);
}

.google-badge img {
  height: 18px;
  width: auto;
  display: inline;
}

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