/* ============================================
   TRỌN VẸN - Dịch vụ mai táng thú cưng
   Design System & Main Stylesheet
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary-color: #a2e400;
  --primary-dark: #7ab300;
  --primary-light: #c8f54d;
  --primary-bg: #f4fce3;
  --secondary-color: #D96165;
  --secondary-dark: #b84448;
  --secondary-light: #e8888b;
  --accent-color: #f0f7da;
  --success-color: #2ECC71;
  --warning-color: #F39C12;
  --danger-color: #E74C3C;
  --dark-color: #1a1a2e;
  --light-color: #f8faf5;
  --text-color: #2d3436;
  --text-light: #636e72;
  --text-muted: #b2bec3;
  --white: #ffffff;
  --border-color: #e0e6d6;

  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  --gradient-hero: linear-gradient(135deg, #1a1a2e 0%, #2d3436 50%, #1a1a2e 100%);
  --gradient-warm: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
  --shadow-glow: 0 0 20px rgba(162, 228, 0, 0.3);
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 28px;
  --transition: all 0.3s ease;
  --font-primary: 'Quicksand', 'Be Vietnam Pro', sans-serif;
  --font-display: 'Dancing Script', cursive;
  --font-body: 'Be Vietnam Pro', sans-serif;
}

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

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

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-color);
  background: var(--white);
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

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

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

.section-title {
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--dark-color);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: var(--dark-color);
}

.btn-secondary {
  background: var(--secondary-color);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
  color: var(--white);
}

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

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--dark-color);
}

.btn-white {
  background: var(--white);
  color: var(--dark-color);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--dark-color);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  border-radius: var(--border-radius-lg);
}

.btn i {
  width: 20px;
  height: 20px;
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  border-bottom: 1px solid rgba(162, 228, 0, 0.1);
}

.site-header.scrolled {
  background: rgba(26, 26, 46, 0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  border-bottom-color: rgba(162, 228, 0, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-menu a {
  color: rgba(255,255,255,0.8);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-color);
  background: rgba(162, 228, 0, 0.1);
}

.nav-cta {
  margin-left: 0.5rem;
}

.nav-cta .btn {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle i {
  width: 24px;
  height: 24px;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23a2e400' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(162, 228, 0, 0.15);
  color: var(--primary-color);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(162, 228, 0, 0.2);
}

.hero h1 {
  color: var(--white);
  font-size: 3.2rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero h1 span {
  color: var(--primary-color);
}

.hero-slogan {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--primary-light);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  flex-shrink: 0;
  width: 400px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-circle {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(162, 228, 0, 0.1);
  border: 2px solid rgba(162, 228, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-15px) rotate(2deg); }
  75% { transform: translateY(-5px) rotate(-2deg); }
  50% { transform: translateY(-25px) rotate(0deg); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.animate-float-slow {
  animation: floatSlow 8s ease-in-out infinite;
}

/* Hero floating decorative elements */
.hero-decoration {
  position: absolute;
  opacity: 0.08;
  font-size: 2rem;
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}

.hero-decoration:nth-child(1) { top: 15%; left: 5%; animation-delay: 0s; font-size: 1.5rem; }
.hero-decoration:nth-child(2) { top: 70%; left: 10%; animation-delay: 2s; font-size: 2.5rem; }
.hero-decoration:nth-child(3) { top: 25%; right: 8%; animation-delay: 4s; font-size: 1.8rem; }
.hero-decoration:nth-child(4) { bottom: 20%; right: 15%; animation-delay: 1s; font-size: 2rem; }
.hero-decoration:nth-child(5) { top: 50%; left: 25%; animation-delay: 3s; font-size: 1.2rem; }

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

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

.hero-stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-display);
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* --- About / Intro Section --- */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  position: relative;
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--primary-bg), var(--accent-color));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  border-radius: var(--border-radius-lg);
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--primary-bg);
  border-radius: var(--border-radius);
}

.about-feature i {
  color: var(--primary-dark);
  flex-shrink: 0;
}

.about-feature span {
  font-weight: 500;
  font-size: 0.95rem;
}

/* --- Process Section --- */
.process-section {
  background: var(--light-color);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
  position: relative;
}

/* Connector line between steps (desktop) */
.process-timeline::before {
  content: '';
  position: absolute;
  top: 34px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
  opacity: 0.3;
  z-index: 0;
}

.process-step {
  position: relative;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2rem 1.5rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  border: 1px solid transparent;
  z-index: 1;
}

.process-step:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 40px rgba(162, 228, 0, 0.2);
  border-color: var(--primary-color);
}

.process-step:hover .process-step-icon i {
  transform: scale(1.2);
  color: var(--secondary-color);
}

.process-step-number {
  width: 44px;
  height: 44px;
  background: var(--dark-color);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary-color);
  margin: 0 auto 1.2rem;
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.process-step:hover .process-step-number {
  background: var(--primary-color);
  color: var(--dark-color);
  box-shadow: 0 0 0 6px rgba(162, 228, 0, 0.2);
  transform: scale(1.1);
}

.process-step-icon {
  margin-bottom: 0.75rem;
  transition: all 0.4s ease;
}

.process-step-icon i {
  transition: all 0.4s ease;
}

.process-step h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
  transition: color 0.3s ease;
}

.process-step:hover h3 {
  color: var(--primary-dark);
}

.process-step p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Process step actions (buttons & tags) */
.process-step-action {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
  justify-content: center;
}

.process-step-action .btn {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  border-radius: 50px;
}

.process-step-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-bg);
  color: var(--primary-dark);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}

.process-step:hover .process-step-tag {
  background: var(--primary-color);
  color: var(--dark-color);
}

/* Arrow connector between steps */
.process-step::after {
  content: '';
  position: absolute;
  top: 33px;
  right: -1.2rem;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--primary-color);
  border-top: 2px solid var(--primary-color);
  transform: rotate(45deg);
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.process-step:last-child::after,
.process-step:nth-child(3)::after {
  display: none;
}

.process-step:hover::after {
  opacity: 1;
}

/* Process CTA */
.process-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 2.5rem;
  background: var(--white);
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-md);
  border: 2px dashed var(--primary-color);
  transition: var(--transition);
}

.process-cta:hover {
  border-style: solid;
  box-shadow: var(--shadow-glow);
}

.process-cta h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--dark-color);
  margin-bottom: 0.75rem;
}

.process-cta p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.process-cta .btn {
  animation: bounceGentle 2s ease-in-out infinite;
}

/* --- Services / Pricing Section --- */
.pricing-section {
  background: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.pricing-card {
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  background: var(--white);
}

.pricing-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.pricing-card:hover .pricing-icon {
  transform: scale(1.15);
  transition: transform 0.3s ease;
}

.pricing-icon {
  transition: transform 0.3s ease;
}

.pricing-card.featured {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-glow);
}

.pricing-card.featured::before {
  content: 'Phổ biến nhất';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-warm);
  color: var(--white);
  padding: 0.3rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

.pricing-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.pricing-card h3 {
  margin-bottom: 0.5rem;
}

.pricing-card .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.3rem;
  font-family: var(--font-display);
}

.pricing-card.featured .price {
  color: var(--primary-dark);
}

.pricing-card .price-note {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.pricing-features {
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--text-light);
}

.pricing-features li i {
  color: var(--primary-dark);
  flex-shrink: 0;
  margin-top: 3px;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

/* --- Testimonials --- */
.testimonials-section {
  background: var(--dark-color);
  color: var(--white);
}

.testimonials-section .section-title {
  color: var(--white);
}

.testimonials-section .section-title::after {
  background: var(--primary-color);
}

.testimonials-section .section-subtitle {
  color: rgba(255,255,255,0.6);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.testimonial-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(162, 228, 0, 0.3);
}

.testimonial-stars {
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  color: rgba(255,255,255,0.85);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--dark-color);
  font-size: 1.1rem;
}

.testimonial-name {
  font-weight: 600;
  color: var(--white);
}

.testimonial-pet {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* --- Contact / CTA Section --- */
.cta-section {
  background: var(--gradient-primary);
  text-align: center;
  padding: 4rem 0;
}

.cta-section h2 {
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(0,0,0,0.7);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Contact Form --- */
.contact-section {
  background: var(--light-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info-card {
  background: var(--dark-color);
  color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
}

.contact-info-card h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item .icon {
  width: 44px;
  height: 44px;
  background: rgba(162, 228, 0, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item .icon i {
  color: var(--primary-color);
}

.contact-info-item .label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.2rem;
}

.contact-info-item .value {
  font-weight: 500;
}

.contact-info-item .value a {
  color: var(--white);
}

.contact-info-item .value a:hover {
  color: var(--primary-color);
}

.contact-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.contact-social a {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.contact-social a:hover {
  background: var(--primary-color);
  color: var(--dark-color);
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-form-card h3 {
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--white);
  color: var(--text-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(162, 228, 0, 0.15);
}

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

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

/* --- Footer --- */
.site-footer {
  background: var(--dark-color);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.footer-column h4 {
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-color);
}

.footer-column a {
  display: block;
  color: rgba(255,255,255,0.6);
  padding: 0.35rem 0;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--primary-color);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 5rem 1.5rem 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a {
  color: var(--primary-color);
}

/* --- Modal --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
  padding: 0.5rem;
}

.modal-close:hover {
  color: var(--secondary-color);
}

.modal h3 {
  margin-bottom: 0.5rem;
}

.modal .modal-subtitle {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* --- FAQ Section --- */
.faq-section {
  background: var(--white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 1px var(--primary-color);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary-dark);
}

.faq-question i {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--primary-dark);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-light);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* --- Floating Actions --- */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 900;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.floating-btn.zalo {
  background: #0068ff;
  color: white;
  font-weight: 700;
  font-size: 0.75rem;
}

.floating-btn.messenger {
  background: var(--dark-color);
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
}

.floating-btn.messenger:hover {
  background: var(--secondary-color);
  color: var(--white);
}

.floating-btn.phone {
  background: var(--primary-color);
  color: var(--dark-color);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(162, 228, 0, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(162, 228, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(162, 228, 0, 0); }
}

.scroll-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 44px;
  height: 44px;
  background: var(--dark-color);
  color: var(--primary-color);
  border: 1px solid rgba(162, 228, 0, 0.3);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 900;
}

.scroll-top.visible {
  display: flex;
}

.scroll-top:hover {
  background: var(--primary-color);
  color: var(--dark-color);
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.9rem;
}

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

.breadcrumb span {
  color: var(--text-muted);
  margin: 0 0.5rem;
}

/* --- Page Header --- */
.page-header {
  background: var(--gradient-hero);
  padding: 8rem 0 4rem;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-header p {
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* --- Blog Cards --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.blog-card-image {
  height: 200px;
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.blog-card h3 a {
  color: var(--dark-color);
}

.blog-card h3 a:hover {
  color: var(--primary-dark);
}

.blog-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* --- Loading Screen --- */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--dark-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-spinner {
  text-align: center;
}

.loading-spinner .logo-text {
  font-size: 2rem;
  color: var(--white);
  font-family: var(--font-display);
  margin-bottom: 1rem;
}

.loading-spinner .logo-text span {
  color: var(--primary-color);
}

.loading-bar {
  width: 120px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
  margin: 0 auto;
}

.loading-bar::after {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: var(--primary-color);
  border-radius: 3px;
  animation: loadingSlide 1.2s ease infinite;
}

@keyframes loadingSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* --- Font Display (Dancing Script) --- */
.font-display {
  font-family: var(--font-display);
}

.font-body {
  font-family: var(--font-body);
}

/* --- Scroll Animations --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; }

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

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

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

.animate-slide-in-left {
  animation: fadeInLeft 0.8s ease-out forwards;
}

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

.animate-slide-in-right {
  animation: fadeInRight 0.8s ease-out forwards;
}

@keyframes bounceGentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.animate-bounce-gentle {
  animation: bounceGentle 2s ease-in-out infinite;
}

@keyframes pulseGentle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.animate-pulse-gentle {
  animation: pulseGentle 3s ease-in-out infinite;
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

.animate-scale-in {
  animation: scaleIn 0.6s ease-out forwards;
}

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

.animate-shimmer {
  background: linear-gradient(90deg, transparent, rgba(162,228,0,0.15), transparent);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

/* Delay utilities */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* --- Spinner --- */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Success state --- */
.btn.success {
  background: var(--success-color) !important;
  color: white !important;
}

/* --- SEO Only --- */
.seo-only {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.8rem; }

  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero h1 { font-size: 2.5rem; }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image { display: none; }

  .hero-stats {
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  section { padding: 3.5rem 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--dark-color);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 0.5rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 30px rgba(0,0,0,0.3);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-menu a {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1.05rem;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 1rem;
  }

  .nav-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero { min-height: auto; padding: 7rem 0 4rem; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }

  .process-timeline {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .process-timeline::before {
    top: 0;
    bottom: 0;
    left: 34px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .process-step {
    text-align: left;
    padding: 1.5rem 1.5rem 1.5rem 5rem;
  }

  .process-step-number {
    position: absolute;
    left: 1rem;
    top: 1.5rem;
    margin: 0;
  }

  .process-step-icon {
    display: inline-block;
    margin-bottom: 0.5rem;
  }

  .process-step::after {
    display: none !important;
  }

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

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

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

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

  .floating-actions {
    bottom: 1rem;
    right: 1rem;
  }

  .floating-btn {
    width: 48px;
    height: 48px;
  }

  .page-header {
    padding: 6rem 0 3rem;
  }

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

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  h1 { font-size: 1.7rem; }
  .hero h1 { font-size: 1.7rem; }
  .btn-lg { padding: 0.85rem 1.5rem; font-size: 1rem; }
  .pricing-card { padding: 2rem 1.5rem; }
}
