/* =============================================
   Tri El Shaday - Papelaria | CSS Principal
   ============================================= */

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

:root {
  --primary: #6C3FC5;
  --primary-dark: #4e2d8f;
  --primary-light: #9b6ee0;
  --secondary: #FF6B9D;
  --secondary-dark: #e0527f;
  --accent: #FFD166;
  --accent-dark: #e6b800;
  --bg: #ffffff;
  --bg-alt: #f8f4ff;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --card-bg: #ffffff;
  --border: #e5e7eb;
  --nav-bg: rgba(255,255,255,0.95);
  --shadow: rgba(108, 63, 197, 0.15);
  --shadow-strong: rgba(108, 63, 197, 0.3);
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Poppins', sans-serif;
}

[data-theme="dark"] {
  --bg: #0f0e17;
  --bg-alt: #1a1829;
  --text: #f0eeff;
  --text-muted: #9c98b8;
  --card-bg: #1e1c30;
  --border: #2d2b44;
  --nav-bg: rgba(15, 14, 23, 0.95);
  --shadow: rgba(108, 63, 197, 0.25);
  --shadow-strong: rgba(108, 63, 197, 0.5);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  transition: background-color 0.35s, color 0.35s;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-alt);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 3px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  line-height: 1.2;
  font-weight: 700;
}

.section-tag {
  display: inline-block;
  padding: 0.25rem 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--text);
  margin-bottom: 0.75rem;
}

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

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 3rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  font-family: var(--font);
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 4px 20px var(--shadow-strong);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--shadow-strong);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}
.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  padding: 0 1.5rem;
}

.navbar.scrolled {
  box-shadow: 0 4px 24px var(--shadow);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar .nav-logo-solo {
  gap: 0;
}

.navbar .nav-logo-solo .logo-icon {
  width: 258px;
  height: 62px;
  padding: 4px 8px;
  border-radius: 14px;
  border: 2px solid var(--primary-light);
  box-shadow: 0 12px 28px var(--shadow-strong);
}

.logo-icon {
  width: 56px;
  height: 56px;
  padding: 6px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  box-shadow: 0 8px 24px var(--shadow);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-slogan {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 0.875rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--bg-alt);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg-alt);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.nav-cta {
  display: none;
}

@media (min-width: 768px) {
  .nav-cta {
    display: inline-flex;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
  }
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.25rem;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem;
  z-index: 999;
  flex-direction: column;
  gap: 0.25rem;
}

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

.mobile-menu a {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

.mobile-menu a:hover {
  background: var(--bg-alt);
  color: var(--primary);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 1.5rem 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f8f4ff 0%, #fff5f9 50%, #fff9e6 100%);
  z-index: 0;
}

[data-theme="dark"] .hero-bg {
  background: linear-gradient(135deg, #0f0e17 0%, #1a0f29 50%, #1a1510 100%);
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: float 8s ease-in-out infinite;
}

.hero-blob-1 {
  width: 500px;
  height: 500px;
  background: var(--primary-light);
  top: -100px;
  right: -100px;
}

.hero-blob-2 {
  width: 400px;
  height: 400px;
  background: var(--secondary);
  bottom: -150px;
  left: -100px;
  animation-delay: -4s;
}

.hero-blob-3 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  top: 40%;
  left: 40%;
  animation-delay: -2s;
  opacity: 0.2;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -20px) scale(1.05); }
  66% { transform: translate(-15px, 10px) scale(0.95); }
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

@media (min-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: linear-gradient(135deg, rgba(108,63,197,0.12), rgba(255,107,157,0.12));
  border: 1px solid rgba(108,63,197,0.25);
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.25rem;
  animation: slideDown 0.6s ease both;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  animation: slideDown 0.6s 0.1s ease both;
}

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

.hero-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  animation: slideDown 0.6s 0.2s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  animation: slideDown 0.6s 0.3s ease both;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  animation: slideDown 0.6s 0.4s ease both;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.hero-visual {
  position: relative;
  animation: fadeIn 0.8s 0.2s ease both;
}

.hero-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.hero-img-main {
  grid-column: 1 / -1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 260px;
  box-shadow: 0 20px 60px var(--shadow-strong);
}

.hero-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-img-main:hover img {
  transform: scale(1.05);
}

.hero-img-card {
  border-radius: var(--radius);
  overflow: hidden;
  height: 160px;
  box-shadow: 0 10px 30px var(--shadow);
}

.hero-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-img-card:hover img {
  transform: scale(1.08);
}

.hero-float-card {
  position: absolute;
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 8px 30px var(--shadow-strong);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.float-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.float-card-1 {
  bottom: -10px;
  left: -20px;
  animation: floatCard 4s ease-in-out infinite;
}

.float-card-2 {
  top: 30px;
  right: -20px;
  animation: floatCard 4s 2s ease-in-out infinite;
}

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

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* --- Section Base --- */
section {
  padding: 5rem 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Features/About --- */
.features-section {
  background: var(--bg-alt);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px var(--shadow);
  border-color: transparent;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.feature-icon-1 { background: linear-gradient(135deg, rgba(108,63,197,0.15), rgba(108,63,197,0.05)); }
.feature-icon-2 { background: linear-gradient(135deg, rgba(255,107,157,0.15), rgba(255,107,157,0.05)); }
.feature-icon-3 { background: linear-gradient(135deg, rgba(255,209,102,0.2), rgba(255,209,102,0.08)); }
.feature-icon-4 { background: linear-gradient(135deg, rgba(37,211,102,0.15), rgba(37,211,102,0.05)); }

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

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

/* --- Products --- */
.products-section {
  background: var(--bg);
}

.products-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  border: 2px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
}

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

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px var(--shadow);
  border-color: transparent;
}

.product-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-new { background: var(--primary); color: #fff; }
.badge-hot { background: var(--secondary); color: #fff; }
.badge-sale { background: var(--accent-dark); color: #fff; }

.product-actions {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}

.product-action-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--card-bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: var(--transition);
}

.product-action-btn:hover {
  background: var(--primary);
  color: #fff;
}

.product-info {
  padding: 1.25rem;
}

.product-category {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.product-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  display: none;
}

.btn-buy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-family: var(--font);
}

.btn-buy:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px var(--shadow-strong);
}

/* --- Gallery --- */
.gallery-section {
  background: var(--bg-alt);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(108,63,197,0.7), rgba(255,107,157,0.7));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

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

.gallery-overlay i {
  color: #fff;
  font-size: 2rem;
}

.gallery-item-1 { grid-column: span 8; grid-row: span 2; height: 360px; }
.gallery-item-2 { grid-column: span 4; height: 170px; }
.gallery-item-3 { grid-column: span 4; height: 170px; }
.gallery-item-4 { grid-column: span 4; height: 200px; }
.gallery-item-5 { grid-column: span 4; height: 200px; }
.gallery-item-6 { grid-column: span 4; height: 200px; }

@media (max-width: 768px) {
  .gallery-item-1 { grid-column: span 12; height: 220px; }
  .gallery-item-2, .gallery-item-3 { grid-column: span 6; height: 140px; }
  .gallery-item-4, .gallery-item-5, .gallery-item-6 { grid-column: span 4; height: 120px; }
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: none;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}

/* --- Testimonials --- */
.testimonials-section {
  background: var(--bg);
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  padding-bottom: 1rem;
}

.testimonials-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  min-width: 320px;
  max-width: 380px;
  scroll-snap-align: start;
  flex-shrink: 0;
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  border-color: var(--primary-light);
  box-shadow: 0 10px 30px var(--shadow);
}

.quote-icon {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.1;
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.star { color: var(--accent-dark); font-size: 0.9rem; }

.testimonial-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

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

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--primary-light);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonials-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.t-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--card-bg);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1rem;
}

.t-nav-btn:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

/* --- Social Media --- */
.social-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--secondary));
  color: #fff;
  text-align: center;
}

.social-section .section-title {
  color: #fff;
}

.social-section .section-title span {
  -webkit-text-fill-color: rgba(255,255,255,0.85);
  background: none;
}

.social-section .section-subtitle {
  color: rgba(255,255,255,0.8);
}

.social-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem 2.5rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  transition: var(--transition);
  cursor: pointer;
  min-width: 160px;
}

.social-card:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.social-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #fff;
}

.social-ig { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.social-fb { background: #1877F2; }
.social-wa { background: linear-gradient(135deg, #25D366, #128C7E); }
.social-tt { background: linear-gradient(135deg, #000, #333); }
.social-yt { background: #FF0000; }

.social-name {
  font-weight: 700;
  font-size: 1.1rem;
}

.social-handle {
  font-size: 0.85rem;
  opacity: 0.8;
}

.social-posts-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.social-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
  max-width: 800px;
  margin: 0 auto;
}

.social-post {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.social-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.social-post:hover img {
  transform: scale(1.1);
}

.social-post-overlay {
  position: absolute;
  inset: 0;
  background: rgba(108,63,197,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.social-post:hover .social-post-overlay {
  opacity: 1;
}

.social-post-overlay i {
  color: #fff;
  font-size: 1.5rem;
}

/* --- Contact & WhatsApp --- */
.contact-section {
  background: var(--bg-alt);
}

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

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

.contact-info h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

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

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item-text h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.contact-item-text p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin: 0;
}

.whatsapp-card {
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: #fff;
  text-align: center;
}

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

.whatsapp-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.whatsapp-card p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.btn-whatsapp-card {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.4);
  color: #fff;
  border-radius: 3rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  font-family: var(--font);
  transition: var(--transition);
  text-decoration: none;
}

.btn-whatsapp-card:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.05);
}

.contact-form {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
}

.contact-form h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: 0.75rem;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108,63,197,0.1);
}

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

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

/* --- Map Section --- */
.map-section {
  background: var(--bg);
  padding: 0;
}

.map-wrapper {
  height: 400px;
  position: relative;
  overflow: hidden;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: var(--map-filter, none);
}

[data-theme="dark"] .map-wrapper iframe {
  filter: invert(90%) hue-rotate(180deg) saturate(0.8);
}

.map-overlay-card {
  position: absolute;
  top: 2rem;
  left: 2rem;
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  max-width: 260px;
  border: 1px solid var(--border);
}

.map-overlay-card h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.map-overlay-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- WhatsApp Floating Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.whatsapp-float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  animation: pulse 2s ease-in-out infinite;
  border: none;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.8), 0 0 0 8px rgba(37, 211, 102, 0.15); }
}

.whatsapp-bubble {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  border: 1px solid var(--border);
  max-width: 260px;
  display: none;
  animation: bubbleIn 0.3s ease;
}

.whatsapp-bubble.open {
  display: block;
}

@keyframes bubbleIn {
  from { opacity: 0; transform: scale(0.8) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.bubble-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.bubble-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.bubble-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.bubble-status {
  font-size: 0.75rem;
  color: #25D366;
}

.bubble-message {
  background: var(--bg-alt);
  border-radius: 0.75rem 0.75rem 0.75rem 0;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.bubble-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition);
}

.bubble-actions a:hover {
  opacity: 0.9;
}

/* --- Footer --- */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 4rem 1.5rem 2rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

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

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.footer-brand .logo-icon {
  width: 72px;
  height: 72px;
  padding: 8px;
  border-radius: 20px;
}

@media (max-width: 540px) {
  .nav-logo {
    gap: 0.6rem;
  }

  .navbar .nav-logo-solo .logo-icon {
    width: 200px;
    height: 52px;
    padding: 4px 6px;
    border-radius: 12px;
  }

  .logo-icon {
    width: 48px;
    height: 48px;
    padding: 5px;
    border-radius: 14px;
  }

  .footer-brand .logo-icon {
    width: 64px;
    height: 64px;
    padding: 7px;
    border-radius: 18px;
  }
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: var(--text-muted);
  transition: var(--transition);
}

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

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  padding: 1.25rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.cookie-banner.hidden {
  transform: translateY(100%);
}

.cookie-banner p {
  font-size: 0.875rem;
  color: var(--text-muted);
  flex: 1;
  min-width: 240px;
}

.cookie-banner p a {
  color: var(--primary);
  font-weight: 600;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
}

/* --- Animations for scroll --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(1) { transition-delay: 0.1s; }
.fade-up:nth-child(2) { transition-delay: 0.2s; }
.fade-up:nth-child(3) { transition-delay: 0.3s; }
.fade-up:nth-child(4) { transition-delay: 0.4s; }
.fade-up:nth-child(5) { transition-delay: 0.5s; }
.fade-up:nth-child(6) { transition-delay: 0.6s; }

/* --- Scroll Progress Bar --- */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  z-index: 10000;
  transition: width 0.1s linear;
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 2px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 998;
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  font-size: 1rem;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

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

/* --- Toast --- */
.toast {
  position: fixed;
  bottom: 7rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  z-index: 9999;
}

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

.toast i { color: var(--primary); }

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-stats { gap: 1.5rem; }
  .hero { padding-top: 7rem; }
}

@media (min-width: 769px) {
  .hamburger { display: none; }
}

/* --- Offer Banner --- */
.offer-section {
  background: linear-gradient(135deg, var(--accent-dark), #ff9500);
  padding: 3rem 1.5rem;
  text-align: center;
  color: #1a1a2e;
}

.offer-section h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.offer-section p {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.offer-countdown {
  display: none;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.countdown-item {
  background: rgba(255,255,255,0.3);
  border-radius: 0.75rem;
  padding: 0.75rem 1.25rem;
  min-width: 70px;
}

.countdown-number {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}

.countdown-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* Newsletter */
.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 3rem;
  font-family: var(--font);
  font-size: 0.9rem;
  outline: none;
}

/* AI Search Bar */
.search-bar-wrap {
  display: flex;
  max-width: 600px;
  margin: 0 auto 3rem;
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: 3rem;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: var(--transition);
}

.search-bar-wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 4px 20px var(--shadow-strong);
}

.search-bar-wrap input {
  flex: 1;
  padding: 0.875rem 1.5rem;
  border: none;
  background: transparent;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
}

.search-bar-wrap button {
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  color: #fff;
  cursor: pointer;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.search-bar-wrap button:hover {
  opacity: 0.9;
}

/* Product hidden state for filter */
.product-card.hidden {
  display: none;
}
