/* ─── สไตล์ชีทหลักหน้าแรก: template-main-company ─── */

:root {
  --primary-color: #15519d;
  --secondary-color: #111;
  --bg-color: #fff;
  --text-color: #333;
  --light-gray: #f8f9fa;
  --border-color: #e5e7eb;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Prompt', sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
  line-height: 1.6;
}

button, input, select, textarea {
  font-family: inherit;
}

/* ─── Hero Section ─── */
.hero-section {
  position: relative;
  height: 80vh;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 0 20px;
  animation: fadeInUp 1s ease-out forwards;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0 0 20px;
  line-height: 1.2;
}

.hero h1 .highlight {
  color: #55b3ff;
}

.hero p {
  font-size: 1.2rem;
  color: #e2e8f0;
  margin-bottom: 30px;
}

.hero-trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.trust-item-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f8fafc;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.trust-item-chip .material-icons {
  font-size: 1.15rem;
  color: #4ade80;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--secondary-color);
  color: #fff;
}

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

.btn-outline {
  background: transparent;
  color: var(--secondary-color);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: #f0f5fc;
}

.btn-white {
  background: #fff;
  color: #111;
  font-weight: 600;
}

.btn-white:hover {
  background: #f1f5f9;
}

.btn-white-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn-white-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ─── Features Section ─── */
.features-section {
  padding: 80px 20px;
  background: var(--light-gray);
  text-align: center;
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature-item {
  background: #fff;
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: #eff6ff;
  color: var(--primary-color);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-icon .material-icons {
  font-size: 30px;
}

.feature-item h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.feature-item p {
  color: #666;
  font-size: 0.95rem;
}

/* ─── Stats Section ─── */
.stats-section {
  padding: 60px 20px;
  background: var(--secondary-color);
  color: #fff;
  text-align: center;
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.stat-item .stat-label {
  color: #94a3b8;
  font-size: 0.95rem;
}

/* ─── Trusted Section ─── */
.trusted-section {
  padding: 40px 20px;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.trusted-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.trusted-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.logo-chip {
  background: #f1f5f9;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #475569;
}

/* ─── Templates Section ─── */
.templates-section {
  padding: 80px 20px;
}

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

.section-eyebrow {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
}

.section-header h2 {
  font-size: 2.2rem;
  margin: 10px 0;
}

.section-header p {
  color: #666;
}

.templates-grid {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.template-card {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.template-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.card-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #eee;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-thumb:hover .card-overlay {
  opacity: 1;
}

.card-body {
  padding: 24px;
}

.card-meta {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.card-meta .swatch {
  width: 14px;
  height: 14px;
  border-radius: 50px;
  border: 1px solid #ddd;
}

.card-body h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.card-body p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

.card-footer {
  padding: 0 24px 24px;
  display: flex;
  flex-direction: row;
  gap: 12px;
}

.card-footer .btn {
  flex: 1;
  min-width: 0;
  padding: 0.65rem 0.5rem;
  font-size: 0.85rem;
  border-radius: 6px;
  white-space: nowrap;
}

.see-all-wrapper {
  text-align: center;
}

/* ─── Pricing Section ─── */
.pricing-section {
  padding: 80px 20px;
  background: #f8fafc;
}

.pricing-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.pricing-img-col img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

.pkg-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.pkg-item {
  background: #fff;
  border-left: 6px solid #ccc;
  padding: 20px 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.pkg-blue { border-color: var(--primary-color); }
.pkg-green { border-color: #10b981; }

.pkg-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: #94a3b8;
}

.pkg-info {
  flex: 1;
}

.pkg-name {
  font-weight: 600;
  font-size: 1rem;
}

.pkg-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.pkg-price span {
  font-size: 0.9rem;
  font-weight: 400;
}

.pkg-vat {
  font-size: 0.8rem;
  color: #64748b;
}

.addon-list {
  border-top: 1px solid #e2e8f0;
  padding-top: 30px;
}

.addon-title {
  font-weight: 600;
  margin-bottom: 15px;
}

.addon-item {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  color: #475569;
  margin-bottom: 8px;
}

.addon-plus {
  color: var(--primary-color);
  font-weight: 600;
}

/* ─── Testimonials ─── */
.testimonials-section {
  padding: 80px 20px;
  background: #fff;
}

.testimonials-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: 8px;
}

.stars {
  color: #f59e0b;
  margin-bottom: 15px;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.avatar {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* ─── CTA Section ─── */
.cta-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #fff;
  text-align: center;
}

.cta-box {
  max-width: 800px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* ─── Footer ─── */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 60px 20px 30px;
  border-top: 1px solid #1e293b;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.footer-logo img {
  height: 36px;
}

.footer-address {
  font-size: 0.85rem;
  margin: 5px 0;
}

.footer-brand a, 
.footer-contact-row a,
.site-footer a {
  color: #fff !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.footer-brand a:hover,
.footer-contact-row a:hover,
.site-footer a:hover {
  color: var(--primary-color) !important;
}

.footer-links {
  display: flex;
  gap: 60px;
}

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

.footer-col-title {
  color: #fff;
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-col a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
}

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

.footer-bottom {
  text-align: center;
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid #1e293b;
  font-size: 0.8rem;
}

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

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

@media (max-width: 768px) {
  .pricing-layout {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
  }
  .footer-links {
    gap: 30px;
  }
}

/* ─── Navbar Styles (แปลงจาก SCSS ต้นฉบับ) ─── */
.navbar {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  padding: 0 2rem;
  position: sticky; 
  top: 0; 
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.navbar .nav-container {
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  max-width: 1280px; 
  margin: 0 auto; 
  height: 56px;
}

.navbar .brand {
  color: #111; 
  text-decoration: none;
  font-family: 'Prompt', sans-serif;
  font-size: 1rem; 
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex; 
  align-items: center; 
  gap: 0.5rem;
}

.navbar .brand:hover { 
  color: #333; 
}

.navbar .brand .brand-logo { 
  height: 28px; 
  width: auto; 
  object-fit: contain; 
}

.navbar .brand span { 
  color: #15519d; 
}

.navbar .nav-links {
  display: flex; 
  align-items: center; 
  gap: 0;
}

.navbar .nav-links a {
  color: #888; 
  text-decoration: none;
  font-size: 0.85rem; 
  font-weight: 400;
  font-family: 'Prompt', sans-serif;
  padding: 0 1rem; 
  height: 56px;
  display: flex; 
  align-items: center;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.navbar .nav-links a:hover { 
  color: #111; 
}

.navbar .nav-links a.active { 
  color: #111; 
  border-bottom-color: #111; 
}

.navbar .nav-links .btn-register {
  color: #fff; 
  background: #111;
  padding: 0 1.25rem; 
  height: 32px;
  margin-left: 0.75rem; 
  border-bottom: none;
  font-weight: 500;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
}

.navbar .nav-links .btn-register:hover { 
  background: #333; 
  color: #fff; 
  border-bottom-color: transparent; 
}

.navbar .nav-links .btn-logout {
  background: transparent; 
  border: 1px solid #e5e5e5;
  color: #888; 
  padding: 0 1rem; 
  height: 32px;
  cursor: pointer; 
  font-size: 0.85rem;
  font-family: 'Prompt', sans-serif; 
  font-weight: 400;
  margin-left: 0.75rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.navbar .nav-links .btn-logout:hover { 
  border-color: #111; 
  color: #111; 
}

/* Hamburger button */
.navbar .nav-burger {
  display: none;
  flex-direction: column; 
  justify-content: center; 
  align-items: center;
  gap: 5px; 
  width: 36px; 
  height: 36px;
  background: transparent; 
  border: none; 
  cursor: pointer; 
  padding: 4px;
}

.navbar .nav-burger span {
  display: block; 
  width: 22px; 
  height: 2px;
  background: #333; 
  border-radius: 2px;
  transition: all 0.25s ease;
}

.navbar .nav-burger.open span:nth-child(1) { 
  transform: translateY(7px) rotate(45deg); 
}

.navbar .nav-burger.open span:nth-child(2) { 
  opacity: 0; 
  transform: scaleX(0); 
}

.navbar .nav-burger.open span:nth-child(3) { 
  transform: translateY(-7px) rotate(-45deg); 
}

/* Mobile menu Drawer */
.navbar .mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid #f0f0f0;
  padding: 0.5rem 0 1rem;
}

.navbar .mobile-menu.open { 
  display: flex; 
}

.navbar .mobile-menu a {
  color: #555; 
  text-decoration: none;
  font-size: 0.9rem; 
  font-family: 'Prompt', sans-serif;
  padding: 0.75rem 1.5rem;
  transition: background 0.15s, color 0.15s;
}

.navbar .mobile-menu a:hover, 
.navbar .mobile-menu a.active { 
  background: #f5f5f5; 
  color: #111; 
}

.navbar .mobile-menu .btn-logout-mobile {
  color: #888; 
  font-size: 0.9rem;
  font-family: 'Prompt', sans-serif;
  text-align: left; 
  padding: 0.75rem 1.5rem;
  text-decoration: none;
}

.navbar .mobile-menu .btn-logout-mobile:hover { 
  background: #f5f5f5; 
  color: #111; 
}

.navbar .mobile-menu .btn-register-mobile {
  margin: 0.5rem 1.5rem 0;
  background: #111; 
  color: #fff !important;
  padding: 0.6rem 1.25rem;
  text-align: center; 
  font-weight: 500;
  border-radius: 4px;
}

.navbar .mobile-menu .btn-register-mobile:hover { 
  background: #333 !important; 
}

@media (max-width: 640px) {
  .navbar {
    padding: 0 1rem;
  }
  .navbar .brand span { 
    display: none; 
  }
  .navbar .nav-links { 
    display: none; 
  }
  .navbar .nav-burger { 
    display: flex; 
  }
}

/* ─── Scroll To Top Button ─── */
.scroll-top-btn {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1000;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  transform: translateY(10px);
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: #111;
  transform: translateY(-3px);
}

.scroll-top-btn .material-icons {
  font-size: 28px;
}

/* ─── Cookie Consent Banner (PDPA) ─── */
.cookie-consent {
  position: fixed;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  z-index: 1001;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  padding: 0 1.5rem;
}

.cookie-card {
  box-sizing: border-box;
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem 1.75rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
}

.cookie-body { flex: 1; min-width: 0; }

.cookie-actions { flex-shrink: 0; }

.cookie-title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.cookie-text {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
}

.cookie-link {
  color: var(--primary-color);
  text-decoration: underline;
  margin-left: 4px;
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cookie-btn.decline {
  background: #f3f4f6;
  color: #4b5563;
}

.cookie-btn.decline:hover {
  background: #e5e7eb;
}

.cookie-btn.accept {
  background: #111;
  color: #fff;
}

.cookie-btn.accept:hover {
  background: var(--primary-color);
}

.cookie-btn.accept .material-icons {
  font-size: 16px;
}


/* ─── Content Blocks (จากระบบ "จัดการหน้าแรก") ─── */
.content-block { padding: 4rem 1.5rem; }
.cb-inner { max-width: 1100px; margin: 0 auto; }

.cb-h-sm { font-size: 0.82em !important; }
.cb-h-lg { font-size: 1.25em !important; }
.cb-h-xl { font-size: 1.6em !important; }
.cb-t-sm { font-size: 0.9em !important; }
.cb-t-lg { font-size: 1.15em !important; }

.cb-heading h2 { font-size: 2rem; margin: 0 0 0.75rem; color: #111; }
.cb-heading p { font-size: 1rem; line-height: 1.7; color: #555; margin: 0; }
.cb-align-center { text-align: center; }
.cb-align-right { text-align: right; }

.cb-img-grid { display: grid; gap: 1rem; }
.cb-img-grid.cb-count-1 { grid-template-columns: 1fr; }
.cb-img-grid.cb-count-2 { grid-template-columns: 1fr 1fr; }
.cb-img-grid.cb-count-3 { grid-template-columns: repeat(3, 1fr); }
.cb-img { width: 100%; height: 320px; object-fit: cover; border-radius: 8px; display: block; }
.cb-embed { position: relative; width: 100%; padding-top: 56.25%; border-radius: 8px; overflow: hidden; }
.cb-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.cb-text-image { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.cb-text-image.cb-rev { direction: rtl; }
.cb-text-image.cb-rev > * { direction: ltr; }
.cb-ti-text h2 { font-size: 1.75rem; margin: 0 0 0.75rem; color: #111; }
.cb-ti-text p { font-size: 1rem; line-height: 1.75; color: #555; }
.cb-ti-img img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: 8px; display: block; }

.cb-list h2 { font-size: 1.75rem; text-align: center; margin: 0 0 0.5rem; color: #111; }
.cb-list-desc { text-align: center; color: #6b7280; max-width: 640px; margin: 0 auto 2rem; line-height: 1.7; white-space: pre-line; }
.cb-list-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 0.85rem; }
.cb-list-grid.cb-col-2 { grid-template-columns: 1fr 1fr; }
.cb-list-grid.cb-col-3 { grid-template-columns: repeat(3, 1fr); }
.cb-list-grid.cb-style-bullet li { padding-left: 1.5rem; position: relative; color: #444; line-height: 1.6; }
.cb-list-grid.cb-style-bullet li::before { content: '✓'; position: absolute; left: 0; color: var(--primary-color, #15519d); font-weight: 700; }
.cb-list-grid.cb-style-numbered { counter-reset: cb-counter; }
.cb-list-grid.cb-style-numbered li { padding-left: 1.75rem; position: relative; color: #444; line-height: 1.6; counter-increment: cb-counter; }
.cb-list-grid.cb-style-numbered li::before { content: counter(cb-counter) '.'; position: absolute; left: 0; color: var(--primary-color, #15519d); font-weight: 700; }
.cb-card-item { display: flex; align-items: center; gap: 0.75rem; background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 8px; padding: 1rem 1.25rem; color: #333; }
.cb-card-num { flex-shrink: 0; width: 28px; height: 28px; background: var(--primary-color, #15519d); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; }

.cb-gallery h2 { font-size: 1.75rem; text-align: center; margin: 0 0 0.5rem; color: #111; }
.cb-gallery-desc { text-align: center; color: #6b7280; max-width: 640px; margin: 0 auto 2rem; line-height: 1.7; }
.cb-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.cb-gallery-grid.cb-gl-grid-2 { grid-template-columns: repeat(2, 1fr); }
.cb-gallery-grid.cb-gl-list { grid-template-columns: 1fr; }
.cb-gallery-grid.cb-gl-list .cb-gallery-item { display: flex; align-items: center; gap: 1.25rem; }
.cb-gallery-grid.cb-gl-list .cb-gallery-img { width: 220px; flex-shrink: 0; }
.cb-gallery-grid.cb-gl-card { grid-template-columns: repeat(2, 1fr); }
.cb-gallery-item { border-radius: 8px; overflow: hidden; border: 1px solid #e5e7eb; background: #fff; }
.cb-gallery-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.cb-gallery-caption { padding: 0.85rem 1rem; }
.cb-gallery-cap-title { font-weight: 600; color: #111; margin-bottom: 0.25rem; }
.cb-gallery-cap-desc { font-size: 0.9rem; color: #6b7280; line-height: 1.5; }

.cb-cta { text-align: center; }
.cb-cta p { font-size: 1.1rem; color: #444; margin: 0 0 1.25rem; }

@media (max-width: 768px) {
  .cb-img-grid.cb-count-2, .cb-img-grid.cb-count-3 { grid-template-columns: 1fr; }
  .cb-text-image, .cb-text-image.cb-rev { grid-template-columns: 1fr; direction: ltr; }
  .cb-list-grid.cb-col-2, .cb-list-grid.cb-col-3 { grid-template-columns: 1fr; }
  .cb-gallery-grid, .cb-gallery-grid.cb-gl-grid-2, .cb-gallery-grid.cb-gl-card { grid-template-columns: 1fr; }
  .cb-gallery-grid.cb-gl-list .cb-gallery-item { flex-direction: column; }
  .cb-gallery-grid.cb-gl-list .cb-gallery-img { width: 100%; }
}
