/* ============================================================
   Shree KB Group - Digital Business Card & Corporate Portal
   Theme: Crisp White (#FFFFFF), KB Crimson Red (#CA0900), Pure Black (#000000)
   Font: Sharp Geometric - Plus Jakarta Sans & Outfit
   Style: Ultra-Clean Minimal Borders (1px), Zero Box-Shadows
   ============================================================ */

:root {
  --primary-red: #CA0900;
  --primary-red-hover: #a80700;
  --primary-red-light: rgba(202, 9, 0, 0.06);
  --bg-page: #FFFFFF;
  --bg-surface: #F9FAFB;
  --card-bg: #FFFFFF;
  --card-border: #E5E7EB;
  --card-border-hover: #CA0900;
  --text-black: #000000;
  --text-dark: #111827;
  --text-body: #374151;
  --text-muted: #6B7280;
  --gold-accent: #F59E0B;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --font-sharp: 'Plus Jakarta Sans', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sharp);
  background-color: var(--bg-page);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  background-color: var(--bg-page);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 0;
}

/* ============================================================
   Fullscreen Container & Grid Constraints
   ============================================================ */
.app-container {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  background-color: var(--bg-page);
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.content-constraint {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 640px) {
  .content-constraint {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ============================================================
   1. Hero Image Carousel (Full Width, Auto Scroll, No Dots)
   ============================================================ */
.carousel-wrapper {
  position: relative;
  width: 100%;
  height: 320px;
  background-color: #0F172A;
  overflow: hidden;
}

@media (min-width: 768px) {
  .carousel-wrapper {
    height: 440px;
  }
}

@media (min-width: 1200px) {
  .carousel-wrapper {
    height: 520px;
  }
}

.carousel-slide-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  user-select: none;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.05) 50%, rgba(255,255,255,0.92) 100%);
  pointer-events: none;
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-black);
  border: 1px solid var(--card-border);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  backdrop-filter: blur(6px);
  box-shadow: none;
}

.carousel-nav-btn:hover {
  background: var(--primary-red);
  color: #FFFFFF;
  border-color: var(--primary-red);
}

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

/* ============================================================
   2. Brand Identity & Bigger Logo Badge
   ============================================================ */
.brand-identity-section {
  position: relative;
  text-align: center;
  padding: 0 20px 28px 20px;
  margin-top: -95px;
  z-index: 20;
}

.brand-logo-container {
  display: inline-block;
  position: relative;
}

.brand-logo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 4.5px solid var(--primary-red);
  object-fit: contain;
  padding: 8px;
  display: block;
  box-shadow: none;
}

@media (min-width: 768px) {
  .brand-logo {
    width: 190px;
    height: 190px;
    padding: 10px;
  }
  .brand-identity-section {
    margin-top: -110px;
  }
}

.brand-title {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-top: 16px;
  color: #000000;
  text-transform: uppercase;
}

.brand-title span {
  color: #000000;
}

.brand-fullname {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  letter-spacing: 0.02em;
  margin-top: 4px;
}

.brand-moto {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-red);
  letter-spacing: 0.1em;
  margin-top: 4px;
  text-transform: uppercase;
}

.brand-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.brand-badge {
  background: var(--bg-surface);
  border: 1px solid var(--card-border);
  color: var(--text-body);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: none;
}

.brand-badge i {
  color: var(--primary-red);
}

/* ============================================================
   3. Action Icons Grid (Fullscreen Responsive)
   ============================================================ */
.action-grid-section {
  padding-bottom: 28px;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 12px;
}

@media (min-width: 600px) {
  .action-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 18px 14px;
  }
}

@media (min-width: 1024px) {
  .action-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 18px 12px;
  }
}

.action-btn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-dark);
  transition: transform 0.2s ease;
}

.action-btn-item:hover {
  transform: translateY(-3px);
}

.action-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary-red);
  box-shadow: none;
  transition: all 0.2s ease;
}

.action-btn-item:hover .action-icon-circle {
  background: var(--primary-red);
  color: #FFFFFF;
  border-color: var(--primary-red);
}

.action-icon-label {
  font-size: 11.5px;
  font-weight: 700;
  margin-top: 8px;
  text-align: center;
  color: var(--text-dark);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* Brand specific colors on hover */
.action-btn-item.social-yt:hover .action-icon-circle { background: #FF0000; border-color: #FF0000; }
.action-btn-item.social-ig:hover .action-icon-circle { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); border-color: #d6249f; }
.action-btn-item.social-fb:hover .action-icon-circle { background: #1877F2; border-color: #1877F2; }
.action-btn-item.social-in:hover .action-icon-circle { background: #0A66C2; border-color: #0A66C2; }
.action-btn-item.social-wa:hover .action-icon-circle { background: #25D366; border-color: #25D366; }

/* Direct Contact Info Banner (Minimal 1px Border, No Shadow) */
.direct-contact-card {
  margin-top: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  box-shadow: none;
}

@media (min-width: 768px) {
  .direct-contact-card {
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 16px;
  }
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-body);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.contact-row:hover {
  color: var(--primary-red);
}

.contact-row i {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-red-light);
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* ============================================================
   4. WhatsApp Input & Buttons (Minimal 1px Border, No Shadow)
   ============================================================ */
.sharing-actions-section {
  padding-bottom: 28px;
}

.share-action-container {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.wa-share-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wa-share-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-black);
  display: flex;
  align-items: center;
  gap: 8px;
}

.wa-share-title i {
  color: #25D366;
  font-size: 18px;
}

.wa-input-group {
  display: flex;
  gap: 8px;
}

.wa-country-code {
  background: var(--bg-surface);
  border: 1px solid var(--card-border);
  color: var(--text-black);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.wa-phone-input {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  color: var(--text-black);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease;
  box-shadow: none;
}

.wa-phone-input:focus {
  border-color: var(--primary-red);
}

.wa-send-btn {
  background: #25D366;
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0 20px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.wa-send-btn:hover {
  background: #1fb956;
}

/* Primary Action Buttons */
.primary-btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.btn-primary-red {
  background: var(--primary-red);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  font-size: 14.5px;
  font-weight: 700;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.2s ease;
}

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

.btn-secondary-dark {
  background: var(--text-black);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  font-size: 14.5px;
  font-weight: 700;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.2s ease;
}

.btn-secondary-dark:hover {
  background: #262626;
}

/* ============================================================
   Section Headers (NO Underlines)
   ============================================================ */
.section-container {
  padding: 44px 0;
  border-top: 1px solid var(--card-border);
}

.section-header {
  text-align: center;
  margin-bottom: 28px;
}

.section-title {
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--text-black);
  display: inline-block;
}

.section-title::after {
  display: none !important;
}

.section-subtitle {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ============================================================
   5. PDF Documents (Minimal 1px Border, No Shadow)
   ============================================================ */
.pdf-tiles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .pdf-tiles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

.pdf-download-tile {
  background: var(--bg-surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: var(--text-black);
  box-shadow: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.pdf-download-tile:hover {
  border-color: var(--primary-red);
  background: #FFFFFF;
}

.pdf-tile-icon {
  font-size: 44px;
  color: var(--primary-red);
  margin-bottom: 12px;
  transition: transform 0.2s ease;
}

.pdf-download-tile:hover .pdf-tile-icon {
  transform: scale(1.08);
}

.pdf-tile-name {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-black);
  letter-spacing: -0.01em;
}

.pdf-tile-tag {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============================================================
   6. About Us Section (Pure Clean Text, Card Removed)
   ============================================================ */
.about-narrative-container {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 12px;
}

.about-narrative-text {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 14px;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.about-narrative-text:last-child {
  margin-bottom: 0;
}

.about-narrative-text strong {
  color: var(--text-black);
}

/* ============================================================
   7. Projects Showcase Section (Mobile: Autoscroll Carousel | Desktop: Balanced Centered Layout)
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (max-width: 767px) {
  .projects-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 16px;
    padding: 8px 16px 20px 16px;
    margin: 0 -16px;
  }
  .projects-grid::-webkit-scrollbar {
    display: none;
  }
  .projects-grid .project-card {
    flex: 0 0 260px;
    min-width: 260px;
    max-width: 260px;
    scroll-snap-align: center;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .projects-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  .projects-grid .project-card {
    flex: 0 0 calc((100% - 40px) / 3);
    max-width: calc((100% - 40px) / 3);
  }
}

@media (min-width: 1024px) {
  .projects-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
  }
  .projects-grid .project-card {
    flex: 0 0 calc((100% - 66px) / 4);
    max-width: calc((100% - 66px) / 4);
  }
}

.project-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: none;
  transition: border-color 0.2s ease;
  position: relative;
}

.project-card:hover {
  border-color: var(--primary-red);
}

.project-circle-icon-frame {
  width: 125px;
  height: 125px;
  border-radius: 50%;
  border: 3.5px solid var(--primary-red);
  overflow: hidden;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  box-shadow: none;
}

.project-card:hover .project-circle-icon-frame {
  transform: scale(1.05);
}

.project-circle-icon-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-title {
  font-size: 17.5px;
  font-weight: 800;
  color: var(--text-black);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.project-visit-btn {
  background: #FFFFFF;
  color: var(--primary-red);
  border: 1px solid var(--primary-red);
  border-radius: var(--radius-sm);
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.project-visit-btn:hover {
  background: var(--primary-red);
  color: #FFFFFF;
}

/* ============================================================
   8. Brand Partners Section (Minimal 1px Border, No Shadow)
   ============================================================ */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (min-width: 600px) {
  .partners-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
  }
}

@media (min-width: 992px) {
  .partners-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
  }
}

@media (min-width: 1200px) {
  .partners-grid {
    grid-template-columns: repeat(8, 1fr);
    gap: 14px;
  }
}

.partner-item {
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--card-border);
  box-shadow: none;
  transition: border-color 0.2s ease;
}

.partner-item:hover {
  border-color: var(--primary-red);
}

.partner-item img {
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
}

/* ============================================================
   9. Reviews & Feedback System
   ============================================================ */
.reviews-section-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 860px) {
  .reviews-section-wrapper {
    grid-template-columns: 1fr 1.25fr;
    gap: 30px;
    align-items: start;
  }
}

.review-form-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: none;
}

.review-form-title {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--text-black);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-form-title i {
  color: var(--gold-accent);
}

.star-rating-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.star-rating-selector .star-btn {
  background: transparent;
  border: none;
  color: #CBD5E1;
  font-size: 26px;
  cursor: pointer;
  transition: color 0.15s ease;
  padding: 2px;
}

.star-rating-selector .star-btn.active,
.star-rating-selector .star-btn.hover {
  color: var(--gold-accent);
}

.rating-text-feedback {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-left: 8px;
}

.form-group {
  margin-bottom: 14px;
}

.form-input,
.form-textarea {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  color: var(--text-black);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease;
  box-shadow: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--primary-red);
}

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

.btn-submit-review {
  width: 100%;
  background: var(--primary-red);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 14.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: none;
  transition: background 0.2s ease;
}

.btn-submit-review:hover {
  background: var(--primary-red-hover);
}

.btn-submit-review i {
  transition: transform 0.2s ease;
}

.btn-submit-review:hover i {
  transform: translateX(3px);
}

/* Reviews Showcase */
.reviews-list-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: none;
  transition: border-color 0.2s ease;
}

.review-card:hover {
  border-color: #CBD5E1;
}

.review-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.reviewer-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-red-light);
  color: var(--primary-red);
  border: 1px solid rgba(202, 9, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.reviewer-meta {
  display: flex;
  flex-direction: column;
}

.reviewer-name {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-black);
  display: flex;
  align-items: center;
  gap: 6px;
}

.verified-badge {
  color: #0284c7;
  font-size: 13px;
}

.reviewer-location {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.review-stars {
  color: var(--gold-accent);
  font-size: 13.5px;
  display: flex;
  gap: 2px;
}

.review-comment {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.65;
}

.review-date {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 10px;
  text-align: right;
}

/* ============================================================
   Footer
   ============================================================ */
.app-footer {
  padding: 32px 24px 44px 24px;
  text-align: center;
  border-top: 1px solid var(--card-border);
  background: var(--bg-surface);
  margin-top: 20px;
}

.footer-copy {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
}

.footer-copy span {
  color: var(--primary-red);
  font-weight: 800;
}

.footer-credit {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 8px;
}

.footer-credit a {
  color: var(--primary-red);
  text-decoration: none;
  font-weight: 800;
}

.footer-credit a:hover {
  text-decoration: underline;
}

/* ============================================================
   Floating Actions: QR Code & Go to Top Buttons
   ============================================================ */
.floating-qr-btn {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--primary-red);
  border: 2px solid var(--primary-red);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  z-index: 99;
  transition: all 0.25s ease;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.16);
}

.floating-qr-btn:hover {
  background: var(--primary-red);
  color: #FFFFFF;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 22px rgba(202, 9, 0, 0.35);
}

.floating-qr-btn .qr-btn-text {
  font-size: 8.5px;
  font-weight: 800;
  margin-top: 2px;
  letter-spacing: 0.05em;
  line-height: 1;
}

.scroll-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary-red);
  color: #FFFFFF;
  border: 1.5px solid #FFFFFF;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.2s ease;
}

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

.scroll-top-btn:hover {
  background: var(--primary-red-hover);
}

@media (max-width: 640px) {
  .floating-qr-btn {
    right: 12px;
    width: 52px;
    height: 52px;
    font-size: 21px;
  }
  .scroll-top-btn {
    bottom: 22px;
    right: 12px;
    width: 44px;
    height: 44px;
  }
}

/* ============================================================
   Digital QR Code Modal (Opened by Floating QR Button)
   ============================================================ */
#qrModal .modal-sheet {
  max-width: 400px;
  margin: auto;
  text-align: center;
}

.qr-modal-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 0 4px 0;
  gap: 14px;
  margin: 0 auto;
}

.qr-modal-frame {
  background: #FFFFFF;
  padding: 12px;
  border-radius: var(--radius-md);
  border: 2px solid var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-sizing: border-box;
}

.qr-modal-frame img {
  width: 200px;
  height: 200px;
  max-width: 100%;
  display: block;
  object-fit: contain;
  margin: 0 auto;
}

.qr-modal-title {
  font-size: 16px;
  font-weight: 900;
  color: var(--text-black);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  width: 100%;
}

.qr-modal-desc {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 300px;
  line-height: 1.5;
  text-align: center;
  margin: 0 auto;
}

.qr-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  margin-top: 6px;
}

.btn-qr-download {
  background: var(--primary-red);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  font-size: 13.5px;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.2s ease;
}

.btn-qr-download:hover {
  background: var(--primary-red-hover);
}

.btn-qr-share {
  background: var(--text-black);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  font-size: 13.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.2s ease;
}

.btn-qr-share:hover {
  background: #262626;
}

/* ============================================================
   Share Modal Sheet
   ============================================================ */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

@media (min-width: 641px) {
  .modal-backdrop {
    align-items: center;
  }
  .modal-sheet {
    border-radius: var(--radius-lg) !important;
    transform: translateY(20px) !important;
  }
  .modal-backdrop.active .modal-sheet {
    transform: translateY(0) !important;
  }
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-sheet {
  width: 100%;
  max-width: 520px;
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 24px 22px 34px 22px;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.12);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.modal-backdrop.active .modal-sheet {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-title {
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--text-black);
  letter-spacing: -0.01em;
}

.modal-close-btn {
  background: var(--bg-surface);
  border: 1px solid var(--card-border);
  color: var(--text-black);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: var(--primary-red);
  color: #FFFFFF;
  border-color: var(--primary-red);
}

.share-options-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 10px;
  margin-bottom: 22px;
}

.share-item-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: transparent;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.share-item-btn:hover {
  transform: translateY(-2px);
}

.share-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #FFFFFF;
  margin-bottom: 6px;
  box-shadow: none;
}

.share-name {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-dark);
}

.share-wa { background: #25D366; }
.share-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.share-fb { background: #1877F2; }
.share-mail { background: #ea4335; }
.share-sc { background: #FFFC00; color: #000000 !important; }
.share-tg { background: #229ED9; }
.share-in { background: #0A66C2; }
.share-sms { background: #10b981; }

.copy-link-bar {
  display: flex;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 6px 8px 6px 14px;
  align-items: center;
}

.copy-link-text {
  flex: 1;
  font-size: 13px;
  font-family: inherit;
  color: var(--text-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-copy-link {
  background: var(--primary-red);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-copy-link:hover {
  background: var(--primary-red-hover);
}

/* ============================================================
   Toast Notification
   ============================================================ */
.toast-notice {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #000000;
  border: 1px solid var(--primary-red);
  color: #FFFFFF;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast-notice.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
