/* Farmàcia Saz - Corporate Design System & High-End Animations */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Corporate Color Palette (Matching Farmàcia Saz Official Logo) */
  --primary-50: #f0faf7;
  --primary-100: #d1f3eb;
  --primary-200: #a3e7d7;
  --primary-400: #48c0a6; /* Official Logo Mint Teal */
  --primary-500: #36b39c; /* Primary Accent */
  --primary-600: #2bb69d;
  --primary-700: #21937e;
  --primary-900: #125246;

  /* Slate & Dark Neutrals */
  --slate-900: #0f172a;
  --slate-800: #1e293b; /* Official Logo Charcoal */
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-100: #f8fafc;

  /* Accents & Special Tags */
  --accent-teal: #48c0a6;
  --accent-mint: #e8f8f5;
  --accent-rose: #ff5a79;
  --accent-gold: #ffb703;
  --accent-blue: #0284c7;

  /* Backgrounds & Glassmorphism */
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(255, 255, 255, 0.6);
  
  /* Shadows & Elevations */
  --shadow-sm: 0 2px 8px rgba(30, 41, 59, 0.04);
  --shadow-md: 0 8px 24px rgba(54, 179, 156, 0.1);
  --shadow-lg: 0 20px 45px rgba(15, 23, 42, 0.12);
  --shadow-hover: 0 16px 36px rgba(54, 179, 156, 0.2);

  /* Radius & Transitions */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --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-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--slate-800);
  background-color: var(--bg-main);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

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

/* Helper Utilities & Badges */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.badge-primary {
  background: var(--primary-50);
  color: var(--primary-700);
  border: 1px solid var(--primary-100);
}

.badge-promo {
  background: var(--accent-rose);
  color: #ffffff;
  font-weight: 800;
}

.badge-open {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.badge-closed {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* Animations & Dynamic Micro-Interactions */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@keyframes floatAnimation {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

.floating-element {
  animation: floatAnimation 4s ease-in-out infinite;
}

/* Shimmer Light Reflection Effect on Promo Coupon */
@keyframes shimmerLight {
  0% { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(200%) rotate(25deg); }
}

.coupon-box {
  position: relative;
  overflow: hidden;
}

.coupon-box::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 40px;
  height: 200%;
  background: rgba(255, 255, 255, 0.4);
  animation: shimmerLight 3.5s infinite;
}

/* Animated Glowing Background Orbs in Hero */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  opacity: 0.45;
  animation: orbFloat 8s ease-in-out infinite alternate;
}

.hero-orb-1 {
  width: 320px;
  height: 320px;
  background: var(--primary-400);
  top: -10%;
  left: -5%;
}

.hero-orb-2 {
  width: 280px;
  height: 280px;
  background: var(--accent-teal);
  bottom: 5%;
  right: 5%;
  animation-delay: -4s;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 40px) scale(1.15); }
}

/* Button Material Ripple Effect */
.btn {
  position: relative;
  overflow: hidden;
}

.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transform: scale(0);
  animation: rippleAnim 0.6s linear;
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Language Switcher Button */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
}

.lang-btn {
  color: #cbd5e1;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--primary-500);
  color: white;
}

/* Floating Scroll-To-Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary-500);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: var(--transition);
}

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

.scroll-top-btn:hover {
  background: var(--primary-700);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* Floating Toast Notification */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  pointer-events: none;
}

.toast {
  background: var(--slate-900);
  color: white;
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-left: 4px solid var(--primary-400);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}
  color: #ffffff;
  font-size: 0.85rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-item i {
  color: var(--primary-400);
}

/* Header & Brand Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.brand-logo-wrap:hover .brand-logo-img {
  transform: scale(1.03);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  color: var(--slate-800);
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
  font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-500);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-400), var(--primary-600));
  border-radius: var(--radius-full);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(54, 179, 156, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(54, 179, 156, 0.45);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

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

.btn-outline:hover {
  background: var(--primary-50);
  transform: translateY(-2px);
}

/* Hero Section with Glowing Mesh Animation */
.hero {
  position: relative;
  padding: 4.5rem 0 5.5rem;
  background: radial-gradient(circle at 80% 20%, rgba(72, 192, 166, 0.15) 0%, rgba(248, 250, 252, 0) 50%),
              radial-gradient(circle at 10% 80%, rgba(209, 243, 235, 0.6) 0%, rgba(248, 250, 252, 0) 60%),
              var(--bg-main);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-title {
  font-size: 3.4rem;
  color: var(--slate-900);
  margin-bottom: 1.2rem;
  letter-spacing: -1.2px;
}

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

.hero-description {
  font-size: 1.15rem;
  color: var(--slate-600);
  margin-bottom: 2.2rem;
  max-width: 550px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-features {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-feature-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--primary-50);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.hero-feature-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-800);
}

.hero-media-wrapper {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
}

.hero-image-card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.hero-glass-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
}

.glass-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-400), var(--primary-600));
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(54, 179, 156, 0.3);
}

/* Banner Promocional */
.promo-banner-section {
  padding: 2rem 0;
}

.promo-banner {
  background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 100%);
  border-radius: var(--radius-lg);
  padding: 2.8rem 3.2rem;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.promo-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(72, 192, 166, 0.25) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.promo-banner-content {
  max-width: 600px;
  z-index: 1;
}

.promo-banner-tag {
  display: inline-block;
  background: var(--accent-rose);
  color: white;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.promo-banner-title {
  font-size: 2.3rem;
  margin-bottom: 0.8rem;
}

.promo-banner-subtitle {
  color: #94a3b8;
  font-size: 1.05rem;
  margin-bottom: 1.6rem;
}

.coupon-box {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255,255,255,0.08);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1.5px dashed var(--primary-400);
  font-family: monospace;
  font-size: 1.15rem;
  color: var(--primary-400);
  font-weight: 700;
}

/* Sections Layout */
.section {
  padding: 5.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.2rem;
}

.section-subtitle {
  color: var(--primary-600);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.6rem;
  color: var(--slate-900);
  margin-bottom: 1rem;
}

.section-description {
  color: var(--slate-500);
  font-size: 1.08rem;
}

/* Filter Controls Bar */
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.8rem;
  background: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-300);
}

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
}

.filter-btn {
  padding: 0.65rem 1.3rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--slate-600);
  transition: var(--transition);
  white-space: nowrap;
}

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

.filter-btn.active {
  background: var(--primary-500);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(54, 179, 156, 0.35);
}

.search-box {
  position: relative;
  min-width: 270px;
}

.search-box input {
  width: 100%;
  padding: 0.7rem 1rem 0.7rem 2.6rem;
  border-radius: var(--radius-md);
  border: 1px solid #cbd5e1;
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition);
}

.search-box input:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(54, 179, 156, 0.18);
}

.search-box i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate-500);
}

/* Product Cards Grid with Elevating Hover */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.2rem;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-200);
}

.product-badge-discount {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: var(--accent-rose);
  color: white;
  font-weight: 800;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  box-shadow: 0 4px 10px rgba(255, 90, 121, 0.35);
}

.product-image-wrap {
  position: relative;
  width: 100%;
  height: 230px;
  background: #f1f5f9;
  overflow: hidden;
}

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

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

.product-details {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.75rem;
  color: var(--primary-600);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.3rem;
}

.product-title {
  font-size: 1.15rem;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.product-desc {
  font-size: 0.88rem;
  color: var(--slate-500);
  margin-bottom: 1.3rem;
  flex-grow: 1;
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px dashed #e2e8f0;
}

.price-box {
  display: flex;
  flex-direction: column;
}

.original-price {
  text-decoration: line-through;
  color: var(--slate-500);
  font-size: 0.85rem;
}

.current-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-600);
}

.btn-icon-order {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--primary-50);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: var(--transition);
}

.btn-icon-order:hover {
  background: var(--primary-500);
  color: white;
  transform: scale(1.05);
}

/* Services Section */
.services-section {
  background: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 2.2rem;
}

.service-card {
  padding: 2.4rem;
  border-radius: var(--radius-md);
  background: var(--bg-main);
  border: 1px solid #e2e8f0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-200);
  background: #ffffff;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary-400), var(--primary-600));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 1.6rem;
  box-shadow: 0 6px 18px rgba(54, 179, 156, 0.3);
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--slate-900);
}

.service-desc {
  color: var(--slate-500);
  font-size: 0.95rem;
}

/* Reviews / Google Rating Banner */
.rating-section {
  background: var(--primary-50);
  padding: 3rem 0;
  border-top: 1px solid var(--primary-100);
  border-bottom: 1px solid var(--primary-100);
}

.rating-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  text-align: center;
}

.rating-link-box {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  transition: var(--transition);
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-md);
}

.rating-link-box:hover {
  transform: translateY(-4px);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.rating-item h3 {
  font-size: 2.2rem;
  color: var(--slate-900);
}

.stars {
  color: var(--accent-gold);
  font-size: 1.2rem;
  margin: 0.3rem 0;
}

/* FAQ Accordion Section */
.faq-section {
  background: #ffffff;
}

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

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

.faq-header {
  padding: 1.3rem 1.6rem;
  background: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--slate-900);
}

.faq-header:hover {
  color: var(--primary-600);
}

.faq-body {
  padding: 0 1.6rem 1.3rem;
  display: none;
  color: var(--slate-600);
  font-size: 0.98rem;
  line-height: 1.6;
}

.faq-item.active .faq-body {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--primary-500);
}

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

/* Express WhatsApp Form */
.express-order-section {
  background: linear-gradient(135deg, #e8f8f5 0%, #f0faf7 100%);
  border-top: 1px solid var(--primary-100);
  border-bottom: 1px solid var(--primary-100);
}

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

.express-card-form {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid #e2e8f0;
}

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

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

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid #cbd5e1;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(54, 179, 156, 0.18);
}

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

/* Contact & Info Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.info-card {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
}

.info-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.info-header i {
  font-size: 2rem;
  color: var(--primary-500);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table td {
  padding: 0.8rem 0;
  font-size: 0.95rem;
  border-bottom: 1px dashed #e2e8f0;
}

.hours-table td:last-child {
  text-align: right;
  font-weight: 700;
}

.map-container {
  height: 100%;
  min-height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
.footer {
  background: var(--slate-900);
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  transition: var(--transition);
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* Product Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-main);
  color: var(--slate-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 10;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--accent-rose);
  color: white;
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}

.modal-img-col {
  background: #f8fafc;
}

.modal-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info-col {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
}

/* Quantity Control Buttons */
.qty-picker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.qty-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--primary-50);
  color: var(--primary-700);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

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

.qty-val {
  font-weight: 800;
  font-size: 1.1rem;
  min-width: 30px;
  text-align: center;
}

/* Responsive & Mobile Menu Drawer */
.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--primary-50);
  color: var(--primary-700);
  font-size: 1.3rem;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-menu-btn:hover {
  background: var(--primary-500);
  color: white;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: #ffffff;
  box-shadow: var(--shadow-lg);
  z-index: 2500;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.active {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 1.5rem;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.mobile-nav-link {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--slate-800);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: var(--transition);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--primary-500);
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 992px) {
  .hero-grid, .express-grid, .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.7rem;
  }

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

  .modal-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

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

  .top-bar-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .top-bar .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .hero {
    padding: 2.5rem 0 3.5rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .promo-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.8rem;
  }

  .promo-banner-title {
    font-size: 1.8rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-title {
    font-size: 2rem;
  }

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


/* ===== Aviso de versión de pruebas (borrar junto con su bloque en index.html) ===== */
.aviso-pruebas{
  position:relative; z-index:9999;
  background:#8a5a00; color:#fff;
  font-size:.8rem; font-weight:600; letter-spacing:.01em;
  text-align:center; padding:.5rem 1rem; line-height:1.35;
}
