/* ============================================================
   Payless Pharmacy — Global Styles (Light Theme)
   Fonts: Poppins (headings) + Inter (body) via Google Fonts
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  --primary:      #c62828;
  --primary-dark: #8d1515;
  --accent:       #d97706;
  --bg:           #F8FAFC;
  --surface:      #ffffff;
  --surface-2:    #F1F5F9;
  --text:         #1a1f36;
  --text-muted:   #64748b;
  --border:       #E2E8F0;
  --shadow:       0 2px 12px rgba(0, 0, 0, 0.07);
  --shadow-md:    0 4px 20px rgba(0, 0, 0, 0.10);
  --shadow-lg:    0 8px 32px rgba(0, 0, 0, 0.13);
  --radius:       16px;
  --radius-sm:    10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── Background Orbs (very subtle on light bg) ── */
.bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.07;
}
.orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, #dbeafe, transparent 70%); top: -150px; left: -150px; }
.orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, #dcfce7, transparent 70%); bottom: -100px; right: -100px; }
.orb-3 { width: 350px; height: 350px; background: radial-gradient(circle, #e0e7ff, transparent 70%); top: 40%; left: 50%; transform: translate(-50%, -50%); opacity: 0.05; }

/* ── Card Utility ── */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.glass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(198, 40, 40, 0.2);
}
.glass-dark {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* ── Typography ── */
h1, h2, h3, h4, h5 { font-family: 'Poppins', sans-serif; font-weight: 700; line-height: 1.2; color: var(--text); }

.gradient-text {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-green {
  background: linear-gradient(90deg, #16a34a, #15803d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 16px rgba(198, 40, 40, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(198, 40, 40, 0.45);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover {
  background: rgba(198, 40, 40, 0.07);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--text);
  color: #fff;
  border: none;
}
.btn-white:hover {
  background: #2d3561;
  transform: translateY(-2px);
}

/* ── Navigation ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(248, 250, 252, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(248, 250, 252, 0.97);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.nav-logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.nav-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}
.nav-logo-text { font-family: 'Poppins', sans-serif; }
.nav-logo-text span:first-child { display: block; font-weight: 700; font-size: 1rem; color: var(--text); line-height: 1.1; }
.nav-logo-text span:last-child  { display: block; font-size: 0.65rem; font-weight: 500; color: var(--primary); letter-spacing: 0.08em; text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text);
  background: rgba(198, 40, 40, 0.06);
}
.nav-links a.active { color: var(--primary); font-weight: 600; }

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

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(248, 250, 252, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 1.5rem;
  z-index: 999;
  flex-direction: column;
  gap: 0.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  transition: all 0.2s ease;
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--text); background: rgba(198,40,40,0.06); }
.mobile-menu a.btn-primary { color: #fff; background: linear-gradient(90deg, var(--primary), var(--primary-dark)); }
.mobile-menu a.btn-primary:hover { color: #fff; background: linear-gradient(90deg, var(--primary-dark), #6b0f0f); }

/* ── Page Wrapper ── */
.page-wrapper { position: relative; z-index: 1; }
main { padding-top: 72px; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0.25rem 1.5rem 4rem;
  position: relative;
}
.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(217, 119, 6, 0.1);
  border: 1px solid rgba(217, 119, 6, 0.25);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}
.hero-title { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.1; margin-bottom: 1.25rem; color: var(--text); }
.hero-subtitle { font-size: 1.05rem; color: var(--text-muted); max-width: 480px; margin-bottom: 2rem; }
.hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
}
.hero-stat-num { font-family: 'Poppins', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--text); }
.hero-stat-label { font-size: 0.78rem; color: var(--text-muted); }

/* Hero Visual */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-main-card {
  width: 100%;
  max-width: 420px;
  padding: 2.5rem;
  text-align: center;
  position: relative;
}
.hero-icon {
  width: 96px; height: 96px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 16px 40px rgba(198, 40, 40, 0.3);
}
.floating-card {
  position: absolute;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
}
.floating-card-1 { top: 0;   left: -60px; }
.floating-card-2 { bottom: 30px; right: -40px; }
.floating-card-icon { font-size: 1.4rem; }
.floating-card-text strong { display: block; font-weight: 600; color: var(--text); font-size: 0.85rem; }
.floating-card-text span { color: var(--text-muted); font-size: 0.75rem; }

/* ── Sections ── */
.section { padding: 6rem 1.5rem; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.5rem; }

/* Alternating section backgrounds for visual rhythm */
.section:nth-of-type(even) { background: var(--surface); }

/* ── Feature Cards ── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.feature-card { padding: 2rem; text-align: center; }
.feature-icon {
  width: 64px; height: 64px;
  background: rgba(198, 40, 40, 0.07);
  border: 1px solid rgba(198, 40, 40, 0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.25rem;
}
.feature-title { font-family: 'Poppins', sans-serif; font-size: 1.1rem; font-weight: 600; color: var(--text); margin-bottom: 0.5rem; }
.feature-desc { font-size: 0.88rem; color: var(--text-muted); }

/* ── Product Cards ── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }
.product-card { padding: 1.5rem; text-align: center; overflow: hidden; }
.product-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-otc       { background: rgba(22,163,74,0.10); color: #15803d; border: 1px solid rgba(22,163,74,0.25); }
.badge-rx        { background: rgba(198,40,40,0.08); color: var(--primary); border: 1px solid rgba(198,40,40,0.2); }
.badge-sale      { background: rgba(217,119,6,0.10); color: #b45309; border: 1px solid rgba(217,119,6,0.25); }
.badge-vitamins  { background: rgba(109,40,217,0.08); color: #6d28d9; border: 1px solid rgba(109,40,217,0.2); }
.badge-new       { background: rgba(219,39,119,0.08); color: #be185d; border: 1px solid rgba(219,39,119,0.2); }

.product-emoji { font-size: 3rem; margin-bottom: 0.75rem; display: block; }
.product-name { font-family: 'Poppins', sans-serif; font-size: 0.95rem; font-weight: 600; color: var(--text); margin-bottom: 0.35rem; }
.product-cat  { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.product-price { font-family: 'Poppins', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--primary); }
.product-orig  { font-size: 0.78rem; color: var(--text-muted); text-decoration: line-through; margin-left: 0.4rem; }

/* ── Services Grid ── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.service-card { padding: 2rem; }
.service-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.service-title { font-family: 'Poppins', sans-serif; font-size: 1.1rem; font-weight: 600; color: var(--text); margin-bottom: 0.5rem; }
.service-desc { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1rem; }
.service-link { font-size: 0.85rem; color: var(--primary); text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; gap: 0.3rem; transition: gap 0.2s; }
.service-link:hover { gap: 0.6rem; }

/* ── Testimonials ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.testimonial-card { padding: 1.75rem; }
.testimonial-stars { color: #d97706; font-size: 1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-text { font-size: 0.9rem; color: var(--text-muted); font-style: italic; margin-bottom: 1.25rem; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  flex-shrink: 0;
}
.testimonial-author-info strong { display: block; font-family: 'Poppins', sans-serif; font-size: 0.9rem; color: var(--text); font-weight: 600; }
.testimonial-author-info span   { font-size: 0.78rem; color: var(--text-muted); }

/* ── CTA Section ── */
.cta-section { padding: 5rem 1.5rem; }
.cta-card { max-width: 800px; margin: 0 auto; padding: 3.5rem 2.5rem; text-align: center; }
.cta-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; margin-bottom: 1rem; color: var(--text); }
.cta-sub { color: var(--text-muted); margin-bottom: 2rem; }
.cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ── Footer ── */
.footer {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  padding: 4rem 1.5rem 1.5rem;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand-desc { font-size: 0.875rem; color: var(--text-muted); margin: 1rem 0 1.5rem; max-width: 280px; line-height: 1.7; }
.footer-col-title { font-family: 'Poppins', sans-serif; font-size: 0.875rem; font-weight: 600; color: var(--text); margin-bottom: 1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.875rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.875rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.footer-contact-item span:first-child { flex-shrink: 0; }
.footer-socials { display: flex; gap: 0.75rem; margin-top: 1rem; }
.footer-social {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all 0.2s ease;
}
.footer-social:hover { background: rgba(198,40,40,0.08); border-color: rgba(198,40,40,0.3); transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.82rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--primary); }

/* ── Page Hero (inner pages) ── */
.page-hero {
  padding: 7rem 1.5rem 4rem;
  text-align: center;
}
.page-hero-inner { max-width: 700px; margin: 0 auto; }
.page-hero-title { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 1rem; color: var(--text); }
.page-hero-sub { font-size: 1.05rem; color: var(--text-muted); }

/* ── Breadcrumb ── */
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 0.4rem; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb span { color: var(--text-muted); }

/* ── Stats Row ── */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.5rem; }
.stat-card { padding: 1.75rem; text-align: center; }
.stat-num { font-family: 'Poppins', sans-serif; font-size: 2.2rem; font-weight: 800; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.25rem; }

/* ── Contact Form ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-family: 'Poppins', sans-serif; font-size: 0.82rem; font-weight: 500; color: var(--text-muted); margin-bottom: 0.4rem; }
.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: #a0aec0; }
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.1);
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-select option { background: var(--surface); color: var(--text); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.info-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.info-icon-wrap {
  width: 48px; height: 48px;
  background: rgba(198, 40, 40, 0.08);
  border: 1px solid rgba(198, 40, 40, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.info-item h4 { font-family: 'Poppins', sans-serif; font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 0.2rem; }
.info-item p  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ── Hours Table ── */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px solid var(--border); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 0.65rem 0; font-size: 0.875rem; color: var(--text-muted); }
.hours-table td:last-child { text-align: right; color: var(--text); font-weight: 500; }
.hours-table .today td { color: var(--primary); font-weight: 600; }

/* ── Team Cards ── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }
.team-card { padding: 2rem; text-align: center; }
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 1rem;
  box-shadow: 0 8px 24px rgba(198,40,40,0.25);
}
.team-name { font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 0.25rem; }
.team-role { font-size: 0.82rem; color: var(--primary); margin-bottom: 0.5rem; font-weight: 500; }
.team-bio  { font-size: 0.82rem; color: var(--text-muted); }

/* ── Category Tabs ── */
.category-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.5rem; }
.tab-btn {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s;
}
.tab-btn:hover, .tab-btn.active {
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 16px rgba(198,40,40,0.3);
}

/* ── Process Steps ── */
.steps-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; position: relative; }
.step-card { padding: 1.75rem; text-align: center; }
.step-num {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 1rem;
}
.step-title { font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 0.4rem; }
.step-desc  { font-size: 0.85rem; color: var(--text-muted); }

/* ── Accordion ── */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-btn {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 1.25rem 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}
.accordion-btn:hover { color: var(--primary); }
.accordion-btn .icon { font-size: 1.2rem; transition: transform 0.3s; }
.accordion-btn.open .icon { transform: rotate(45deg); color: var(--primary); }
.accordion-body { font-size: 0.875rem; color: var(--text-muted); padding-bottom: 1.25rem; line-height: 1.7; display: none; }
.accordion-body.open { display: block; }

/* ── Divider ── */
.divider { height: 1px; background: var(--border); margin: 1.5rem 0; }

/* ── Alerts ── */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}
.alert-success { background: rgba(22,163,74,0.08); border: 1px solid rgba(22,163,74,0.25); color: #15803d; }
.alert-info    { background: rgba(198,40,40,0.07); border: 1px solid rgba(198,40,40,0.2); color: var(--primary); }

/* ── Scroll Top ── */
#scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(198,40,40,0.35);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 500;
}
#scroll-top.show { opacity: 1; transform: translateY(0); }
#scroll-top:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(198,40,40,0.5); }

/* ── Toast ── */
#toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(248, 250, 252, 0.97);
  border: 1px solid rgba(22,163,74,0.4);
  color: #15803d;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 9999;
  white-space: nowrap;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── Animations ── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
.float { animation: float 4s ease-in-out infinite; }
.float-delay { animation: float 4s ease-in-out 1.5s infinite; }

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 2px 12px rgba(0,0,0,0.07), 0 0 0 0 rgba(198,40,40,0.15); }
  50%       { box-shadow: 0 8px 32px rgba(0,0,0,0.13), 0 0 28px rgba(198,40,40,0.2); }
}
.pulse-glow { animation: pulse-glow 3s ease-in-out infinite; }

/* Fade in on scroll */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Hero — remove full-viewport lock, center content */
  .hero { min-height: auto; padding: 1.5rem 1.25rem 3rem; }
  .hero-container { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .hero-visual { order: -1; }
  .hero-main-card { max-width: 320px; padding: 2rem; margin: 0 auto; }
  .floating-card-1 { left: -20px; top: -20px; }
  .floating-card-2 { right: -10px; bottom: 10px; }
  .hero-subtitle { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }

  /* Sections */
  .section { padding: 3.5rem 1.25rem; }
  .cta-section { padding: 3.5rem 1.25rem; }
  .section-subtitle { margin-bottom: 2.5rem; }

  /* Stats */
  .stats-row { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  /* Hero */
  .hero { padding: 1.25rem 1rem 2.5rem; }
  .hero-title { font-size: 1.9rem; }
  .hero-stats { gap: 1rem; flex-wrap: wrap; }
  .hero-stat-num { font-size: 1.25rem; }
  .hero-actions { flex-direction: column; align-items: center; width: 100%; gap: 0.75rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .floating-card-1, .floating-card-2 { display: none; }

  /* Sections */
  .section { padding: 3rem 1rem; }
  .cta-section { padding: 3rem 1rem; }
  .section-header { margin-bottom: 2rem; }

  /* Cards */
  .cta-card { padding: 2rem 1.25rem; }
  .cta-actions { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .cta-actions .btn { justify-content: center; }

  /* Products — 2 columns on small phones */
  .products-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .product-card { padding: 1.1rem 0.85rem; }
  .product-emoji { font-size: 2.25rem; }

  /* Team — 2 columns */
  .team-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .team-card { padding: 1.25rem; }

  /* Footer */
  .footer { padding: 3rem 1rem 1.5rem; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

  /* Scroll-top — move left to avoid overlap */
  #scroll-top { bottom: 1.25rem; right: 1rem; width: 40px; height: 40px; font-size: 1rem; }

  /* Toast — allow wrapping on narrow screens */
  #toast { white-space: normal; max-width: calc(100vw - 3rem); text-align: center; border-radius: 16px; }
}
