/* ===== CHAOWANG GROUP - MAIN STYLESHEET ===== */
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700;800&family=Kanit:wght@300;400;500;600;700&display=swap');

:root {
  --navy: #0d1b3e;
  --navy-light: #162347;
  --navy-dark: #080f20;
  --navy-mid: #1a2f5e;
  --gold: #c8a84b;
  --gold-light: #e0c06a;
  --gold-dark: #a8892e;
  --gold-pale: #f5e9c4;
  --white: #ffffff;
  --off-white: #f9f7f2;
  --gray-light: #f0eee8;
  --gray: #b0a898;
  --gray-dark: #5a5248;
  --text-dark: #1a1610;
  --shadow: 0 4px 20px rgba(13,27,62,0.15);
  --shadow-lg: 0 8px 40px rgba(13,27,62,0.25);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Prompt', 'Kanit', sans-serif;
  color: var(--white);
  background: var(--navy-dark);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy-dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.3; }
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(200, 168, 75, 0.12);
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(200, 168, 75, 0.3);
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--white);
  margin-bottom: 1rem;
}
.section-title span { color: var(--gold); }
.section-subtitle {
  font-size: 1rem;
  color: var(--gray-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy-dark);
  box-shadow: 0 4px 15px rgba(200, 168, 75, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 168, 75, 0.6);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy-dark);
}
.btn-line {
  background: linear-gradient(135deg, #00b300, #06c755);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(6, 199, 85, 0.35);
}
.btn-line:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 199, 85, 0.55);
}
.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200, 168, 75, 0.25);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  height: 50px;
  width: auto;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
}
.nav-logo-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-dark);
  letter-spacing: 0.05em;
  line-height: 1.1;
}
.nav-logo-sub {
  font-size: 0.65rem;
  color: var(--gold-dark);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
}
.nav-links a:first-child {
  margin-left: auto;
}
.nav-links a {
  color: var(--navy-dark);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 6px 0;
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  background: linear-gradient(135deg, #c8a84b, #f5e9c4, #a8892e);
  color: var(--navy-dark) !important;
  padding: 10px 24px !important;
  border-radius: 50px;
  font-weight: 700 !important;
  margin-left: auto;
  box-shadow: 0 4px 15px rgba(200,168,75,0.25), inset 0 2px 5px rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}
.nav-cta::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  animation: shineNav 3s infinite;
}
@keyframes shineNav {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}
.nav-cta:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 6px 20px rgba(200,168,75,0.4), inset 0 2px 5px rgba(255,255,255,0.6); 
}
.nav-cta::after { display: none; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--navy-dark);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.98);
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  z-index: 999;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--navy-dark);
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: color 0.3s;
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--gold); }
.mobile-menu .nav-cta {
  text-align: center;
  border-radius: 50px;
  padding: 12px 24px !important;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-dark) !important;
  font-weight: 700 !important;
  border: none;
}

/* ===== SECTIONS ===== */
.section { padding: 90px 0; }
.section-dark { background: var(--navy-dark); }
.section-navy { background: var(--navy); }
.section-light { background: var(--navy-light); }
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.text-center { text-align: center; }
.section-header { margin-bottom: 3.5rem; text-align: center; }
.section-dark .section-title,
.section-navy .section-title,
.section-light .section-title { color: var(--white); }
.section-dark .section-subtitle,
.section-navy .section-subtitle,
.section-light .section-subtitle { color: var(--gray-light); }

/* ===== GOLD DIVIDER ===== */
.gold-divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 1rem auto;
}

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* ===== PRODUCT GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(200,168,75,0.15);
  transition: var(--transition);
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200,168,75,0.45);
}
.product-img-wrap {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--off-white), var(--gray-light));
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img-wrap img {
  height: 200px;
  width: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.08); }
.product-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: linear-gradient(135deg, #c8a84b, #f5e9c4, #a8892e);
  color: var(--navy-dark);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(200, 168, 75, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  z-index: 2;
}
.product-badge::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  animation: shineNav 3s infinite 1s; /* delay นิดหน่อยให้เหลื่อมจังหวะกับปุ่ม CTA */
}
.product-body { padding: 1.5rem; }
.product-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.product-desc {
  font-size: 0.875rem;
  color: var(--gray-dark);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.product-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold-dark);
  margin-bottom: 1.2rem;
}
.product-price .unit { font-size: 0.8rem; font-weight: 400; color: var(--gray); }
.product-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ===== REVIEWS ===== */
.reviews-slider-wrap {
  position: relative;
  width: 100%;
  margin: 0 auto;
}
.reviews-slider-window {
  overflow: hidden;
  padding: 10px;
  margin: -10px;
}
.reviews-slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 1.5rem;
}
.review-card {
  flex: 0 0 calc(33.333% - 1rem);
  background: var(--navy-light);
  border: 1px solid rgba(200,168,75,0.15);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
  box-shadow: 0 8px 30px rgba(0,0,0,0.20);
}
.review-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gold);
  color: var(--navy-dark);
  border: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(200,168,75,0.4);
  transition: var(--transition);
}
.review-slider-btn:hover {
  background: var(--gold-light);
  transform: translateY(-50%) scale(1.1);
}
.review-slider-btn.prev-btn { left: -22px; }
.review-slider-btn.next-btn { right: -22px; }

@media (max-width: 900px) {
  .review-card { flex: 0 0 calc(50% - 0.75rem); }
}
@media (max-width: 600px) {
  .review-card { flex: 0 0 100%; }
}
.review-card::before {
  content: '\201C';
  font-size: 5rem;
  line-height: 0;
  position: absolute;
  top: 2rem; left: 1.75rem;
  color: rgba(200, 168, 75, 0.18);
  font-family: Georgia, serif;
}
.review-card:hover {
  border-color: rgba(200,168,75,0.4);
  background: var(--navy-mid);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(200,168,75,0.15);
}
.review-stars { color: var(--gold-dark); font-size: 1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.review-text {
  font-size: 0.9rem;
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
}
.review-author { display: flex; align-items: center; gap: 0.75rem; }
.review-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-mid), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.review-author-info { flex: 1; }
.review-name { font-size: 0.9rem; font-weight: 700; color: var(--gold-dark); margin-bottom: 2px; }
.review-location { font-size: 0.75rem; color: var(--gray); }

/* ===== WHY US ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.why-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: block;
}
.why-img:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(13,27,62,0.3);
}

/* ===== STEPS ===== */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}
.step-number {
  width: 55px; height: 55px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFE893 0%, var(--gold) 50%, #9C7D25 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--navy-dark);
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(200, 168, 75, 0.5), inset 0 2px 5px rgba(255, 255, 255, 0.7), inset 0 -3px 5px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}
.step-number::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  transform: skewX(-25deg);
  animation: shineStep 3s infinite 1s;
}
@keyframes shineStep {
  0% { left: -100%; }
  15% { left: 200%; }
  100% { left: 200%; }
}
.step-content { flex: 1; padding-top: 6px; }
.step-title { font-size: 1rem; font-weight: 700; color: var(--gold-light); margin-bottom: 4px; }
.step-text { font-size: 0.875rem; color: var(--gray-light); }

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-img {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery-img:hover img { transform: scale(1.07); }
.gallery-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,27,62,0.5);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-img:hover .gallery-img-overlay { opacity: 1; }
.gallery-img-overlay span { font-size: 2rem; }

/* ===== STATS ===== */
.stats-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.stat-card {
  flex: 0 1 240px;
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--navy-light);
  border: 1px solid rgba(200, 168, 75, 0.15);
  box-shadow: 0 8px 30px rgba(13,27,62,0.04);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
  transform: skewX(-25deg);
  transition: 0.7s ease;
}
.stat-card:hover::before { left: 150%; }
.stat-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 15px 40px rgba(200, 168, 75, 0.15);
}
.stat-number {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.75rem;
  text-shadow: none;
}
.stat-label { 
  font-size: 1rem; 
  font-weight: 600;
  color: var(--gray-light); 
  letter-spacing: 0.5px;
}

/* ===== FOOTER ===== */
footer {
  background: #ffffff;
  border-top: 1px solid rgba(200,168,75,0.25);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand { }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}
.footer-logo img { height: 45px; }
.footer-logo-text .nav-logo-title { font-size: 1rem; color: var(--gold-dark); }
.footer-desc {
  font-size: 0.875rem;
  color: var(--navy-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.footer-social { display: flex; gap: 0.75rem; }
.social-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(13, 27, 62, 0.05);
  border: 1px solid rgba(13, 27, 62, 0.15);
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.social-btn:hover {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
  font-size: 0.875rem;
  color: #4a5568;
  transition: color 0.3s;
  padding: 3px 0;
}
.footer-links a:hover { color: var(--gold-dark); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.footer-contact-icon { color: var(--gold-dark); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.footer-contact-text { font-size: 0.875rem; color: #4a5568; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid rgba(200, 168, 75, 0.15);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--navy-light);
  background: #f6f8fd;
}
.footer-bottom a { color: var(--gold-dark); }


/* ===== FLOATING CONTACT ===== */
.float-contact {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
}
.float-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  position: relative;
}
.float-btn:hover { transform: scale(1.15); }
.float-btn-line { background: #06c755; color: var(--white); }
.float-btn-phone { background: var(--gold); color: var(--navy-dark); }
.float-btn-label {
  position: absolute;
  right: 62px;
  background: var(--navy-dark);
  color: var(--white);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
}
.float-btn:hover .float-btn-label { opacity: 1; transform: translateX(0); }

/* ===== PAGE HEADER (inner pages) ===== */
.page-header {
  background: linear-gradient(135deg, #ffffff 0%, #f6f8fd 50%, #e9effd 100%);
  padding: 130px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(200, 168, 75, 0.15);
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(66, 153, 225, 0.08) 0%, transparent 70%);
}
.page-header-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--navy-dark);
  position: relative;
  z-index: 1;
}
.page-header-title span { color: var(--gold-dark); }
.page-header-sub {
  font-size: 1rem;
  color: var(--navy-light);
  margin-top: 0.75rem;
  position: relative;
  z-index: 1;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: var(--navy-light);
  position: relative;
  z-index: 1;
}
.breadcrumb a { color: var(--gold-dark); }
.breadcrumb-separator { color: var(--gray); }

/* ===== MODAL / LIGHTBOX ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.modal-overlay.open { display: flex; }
.modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gray-light);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: var(--navy); color: var(--white); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pulseGold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,168,75,0.6); }
  50% { box-shadow: 0 0 0 14px rgba(200,168,75,0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
.animate-fade-up { animation: fadeUp 0.7s ease forwards; }
.animate-fade-in { animation: fadeIn 0.7s ease forwards; }
.float-anim { animation: float 4s ease-in-out infinite; }
.pulse-anim { animation: pulseGold 2.5s ease-in-out infinite; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .navbar { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .float-btn-label { display: none; }
  .products-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .steps-list { padding: 0 1rem; }
}
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 1rem; }
  .stat-card { flex: 0 1 calc(50% - 0.5rem); }
}
