/* =============================================
   PRAMKI PHARMA - Main Stylesheet
   Brand Colors: Navy #1d2d50 | Steel Blue #4a90b8
   ============================================= */

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

/* ── CSS Variables ── */
:root {
  --navy:        #1d2d50;
  --navy-dark:   #111d35;
  --navy-mid:    #243660;
  --blue:        #4a90b8;
  --blue-light:  #6bb5d8;
  --blue-pale:   #d6eaf8;
  --white:       #ffffff;
  --off-white:   #f7f9fc;
  --gray-light:  #edf2f7;
  --gray:        #94a3b8;
  --gray-dark:   #64748b;
  --text-dark:   #1e293b;
  --text-body:   #334155;
  --shadow-sm:   0 2px 8px rgba(29,45,80,0.08);
  --shadow-md:   0 8px 30px rgba(29,45,80,0.12);
  --shadow-lg:   0 20px 60px rgba(29,45,80,0.18);
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   40px;
  --transition:  0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  min-width: 0;
  position: relative;
}

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

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

ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
}

.display-title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-dark);
  line-height: 1.7;
}

/* ── Utility ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 100px 0;
  overflow-x: hidden;
}

.text-center { text-align: center; }
.text-blue { color: var(--blue); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: 0 4px 20px rgba(29,45,80,0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(74,144,184,0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-blue {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(74,144,184,0.3);
}

.btn-blue:hover {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(29,45,80,0.35);
}

/* ── Navigation ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.nav-logo img {
  height: 60px;
  width: auto;
  border-radius: 0;
}

/* Header always white — always show light-bg logo */
.nav-logo .logo-dark  { display: block !important; }
.nav-logo .logo-light { display: none !important; }

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

.nav-logo-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  transition: color var(--transition);
}

.nav-logo-tagline {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color var(--transition);
}

/* When scrolled — switch to dark brand colors */
.navbar.scrolled .nav-logo-name { color: var(--navy); }
.navbar.scrolled .nav-logo-tagline { color: var(--blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

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

.nav-cta {
  margin-left: 16px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%) !important;
  border-color: var(--navy) !important;
  color: var(--white) !important;
  box-shadow: 0 4px 20px rgba(29,45,80,0.3) !important;
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%) !important;
  border-color: var(--blue) !important;
  color: var(--white) !important;
}

/* Mobile menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  appearance: none;
  -webkit-appearance: none;
  color: var(--white);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.nav-toggle { color: var(--navy); }
.nav-toggle:hover { background: rgba(29,45,80,0.08); }

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  display: block;
  transition: var(--transition);
}

/* ── Page Hero Sections ── */
.page-hero {
  min-height: 420px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, var(--blue) 100%);
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 600'%3E%3Ccircle cx='600' cy='100' r='300' fill='rgba(255,255,255,0.03)'/%3E%3Ccircle cx='100' cy='500' r='200' fill='rgba(255,255,255,0.03)'/%3E%3C/svg%3E") no-repeat;
  background-size: cover;
}

.page-hero-content { position: relative; z-index: 1; }

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
}

.page-hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  line-height: 1.8;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.breadcrumb a { color: rgba(255,255,255,0.8); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* ── Feature Icons ── */
.icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.icon-box svg {
  width: 24px;
  height: 24px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-box.navy {
  background: rgba(29,45,80,0.08);
}

.icon-box.navy svg {
  stroke: var(--navy);
}

/* ── Stats Strip ── */
.stats-strip {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 60px 0;
  overflow-x: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item { color: var(--white); }

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
}

.stat-number span { color: var(--blue-light); }

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
}

/* ── Footer ── */
footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 80px 0 0;
  overflow-x: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand {}

.footer-logo {
  height: 56px;
  width: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.12);
}

.social-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-3px);
}

.social-btn svg {
  width: 16px;
  height: 16px;
  fill: var(--white);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--blue-light);
  padding-left: 4px;
}

.footer-links a::before {
  content: '→';
  font-size: 0.75rem;
  opacity: 0;
  transition: var(--transition);
}

.footer-links a:hover::before { opacity: 1; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

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

.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}

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

/* ── Animations / Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ── Dividers ── */
.divider-wave {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.divider-wave svg { display: block; width: 100%; }

/* ── Tag/Badge ── */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tag-blue {
  background: var(--blue-pale);
  color: var(--blue);
}

.tag-navy {
  background: rgba(29,45,80,0.08);
  color: var(--navy);
}

/* ── Contact card ── */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--blue);
  transition: var(--transition);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-md);
  border-left-color: var(--navy);
}

/* ── Form Styles ── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.form-input {
  padding: 14px 18px;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition);
  background: var(--off-white);
  outline: none;
}

.form-input:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(74,144,184,0.12);
}

.form-input::placeholder { color: var(--gray); }

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

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .section-pad { padding: 80px 0; }
}

@media (max-width: 768px) {
  .section-pad { padding: 60px 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  /* Replace horizontal slide animations with vertical to prevent overflow */
  .reveal-left, .reveal-right {
    transform: translateY(24px);
  }
  .reveal-left.revealed, .reveal-right.revealed {
    transform: translateY(0);
  }

  /* Prevent logo from pushing hamburger off-screen */
  .nav-logo { min-width: 0; overflow: hidden; max-width: calc(100% - 56px); }
  .nav-logo-text { min-width: 0; overflow: hidden; }
  .nav-logo-tagline { display: none; }
  .nav-logo-name { font-size: 1.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
  .footer-bottom-links { justify-content: center; }

  /* Page hero */
  .page-hero { padding: 110px 0 56px; min-height: auto; }
  .page-hero h1 { font-size: clamp(1.9rem, 6vw, 3rem); margin-bottom: 12px; }
  .page-hero p { font-size: 0.95rem; line-height: 1.7; }
  .breadcrumb { font-size: 0.78rem; margin-bottom: 14px; }

  /* Mobile nav extra */
  .mobile-nav { padding: 72px 28px 36px; }
  .mobile-nav-link { font-size: 1.3rem; padding: 14px 0; }
  .mobile-nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
    padding: 15px 32px;
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(74,144,184,0.4);
  }
  .mobile-nav-cta:hover { opacity: 0.9; transform: translateY(-2px); }

  /* Cards */
  .icon-box { width: 48px; height: 48px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section-pad { padding: 48px 0; }
  .page-hero { padding: 100px 0 44px; }
  .page-hero h1 { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .page-hero p { font-size: 0.88rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-number { font-size: 2.2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .btn { padding: 12px 22px; font-size: 0.88rem; }
  .footer-bottom-links { gap: 16px; }
  .breadcrumb { gap: 6px; }
  .nav-logo img { height: 36px; }
}

@media (max-width: 380px) {
  .container { padding: 0 12px; }
  .nav-logo img { height: 32px; }
  .wa-float { right: 12px; bottom: 16px; }
  .wa-btn { width: 46px; height: 46px; }
  .wa-btn svg { width: 24px; height: 24px; }
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  z-index: 1001;
  padding: 0 0 40px;
  flex-direction: column;
  overflow-y: auto;
}

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

/* Header row inside mobile nav */
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.mobile-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-nav-logo img {
  height: 44px;
  width: auto;
  border-radius: 0;
}

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

.mobile-nav-logo-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.3px;
  line-height: 1;
}

.mobile-nav-logo-tag {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-top: 2px;
}

.mobile-nav-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.mobile-nav-close:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.3);
}

.mobile-nav-close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}

/* Nav links */
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 16px 24px 0;
  flex: 1;
}

.mobile-nav-link {
  font-size: 1.4rem;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color var(--transition), padding-left var(--transition);
  display: block;
}

.mobile-nav-link:hover { color: var(--blue-light); padding-left: 6px; }

.mobile-nav-link.active { color: var(--blue-light); }

/* CTA */
.mobile-nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 32px 24px 0;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: var(--white);
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(74,144,184,0.35);
  letter-spacing: 0.3px;
}

.mobile-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(74,144,184,0.45);
}

/* ── Gradient text ── */
.gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Section BG variants ── */
.bg-off-white { background: var(--off-white); }
.bg-navy { background: var(--navy); }
.bg-gradient-navy { background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%); }
.bg-blue-pale { background: var(--blue-pale); }

/* ── Pill tabs ── */
.pill-tabs {
  display: inline-flex;
  background: var(--gray-light);
  border-radius: 50px;
  padding: 4px;
  gap: 4px;
}

.pill-tab {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  background: transparent;
  color: var(--gray-dark);
  font-family: 'Inter', sans-serif;
}

.pill-tab.active, .pill-tab:hover {
  background: var(--navy);
  color: var(--white);
}

/* ── Accordion ── */
.accordion-item {
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item:hover { border-color: var(--blue); }

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  background: var(--white);
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
  transition: var(--transition);
}

.accordion-header:hover { background: var(--off-white); }

.accordion-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition);
  font-size: 0.8rem;
  color: var(--blue);
}

.accordion-item.open .accordion-icon { transform: rotate(45deg); background: var(--navy); color: var(--white); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.accordion-item.open .accordion-body { max-height: 400px; }

.accordion-content {
  padding: 16px 24px 24px;
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.8;
  background: var(--off-white);
}

/* Pulse animation */
@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.3); opacity: 0; }
}

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

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.float-anim { animation: float 4s ease-in-out infinite; }

/* ── Product Image Backgrounds ── */
/* Q10 — deep navy/teal with molecular hexagon grid */
.product-bg-q10 {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='50'%3E%3Cpolygon points='28,3 53,17 53,44 28,58 3,44 3,17' fill='none' stroke='rgba(107,181,216,0.13)' stroke-width='1'/%3E%3Cpolygon points='28,11 45,21 45,39 28,49 11,39 11,21' fill='none' stroke='rgba(107,181,216,0.07)' stroke-width='1'/%3E%3C/svg%3E"),
    radial-gradient(ellipse at 25% 75%, rgba(6,182,212,0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 78% 18%, rgba(245,158,11,0.1) 0%, transparent 48%),
    linear-gradient(145deg, #080f1e 0%, #0d2137 45%, #081827 100%);
}

/* Pramkovit — deep navy/violet with dot matrix */
.product-bg-vit {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Ccircle cx='18' cy='18' r='1.8' fill='rgba(107,181,216,0.16)'/%3E%3Ccircle cx='0' cy='0' r='1.2' fill='rgba(167,139,250,0.1)'/%3E%3Ccircle cx='36' cy='0' r='1.2' fill='rgba(167,139,250,0.1)'/%3E%3Ccircle cx='0' cy='36' r='1.2' fill='rgba(167,139,250,0.1)'/%3E%3Ccircle cx='36' cy='36' r='1.2' fill='rgba(167,139,250,0.1)'/%3E%3C/svg%3E"),
    radial-gradient(ellipse at 28% 68%, rgba(74,222,128,0.18) 0%, transparent 52%),
    radial-gradient(ellipse at 72% 22%, rgba(167,139,250,0.18) 0%, transparent 48%),
    linear-gradient(145deg, #080f1e 0%, #150d2e 45%, #081827 100%);
}

/* Images inside branded backgrounds: contain */
.product-bg-q10 img,
.product-bg-vit img {
  object-fit: contain !important;
  padding: 0;
}

/* ── Composition Section ── */
.comp-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;
}

.comp-product-img {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}

.comp-product-img img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  max-height: 640px;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.15));
}

.comp-table-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0,0,0,0.1);
  max-width: 100%;
  min-width: 0;
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.comp-table thead th {
  background: var(--navy);
  color: var(--white);
  padding: 18px 20px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-align: left;
  overflow: hidden;
}

.comp-table thead th:last-child {
  text-align: right;
  width: 90px;
}

.comp-table tbody td {
  padding: 12px 20px;
  font-size: 0.86rem;
  color: var(--text-body);
  border-bottom: 1px solid var(--gray-light);
  vertical-align: middle;
  word-break: break-word;
  overflow: hidden;
}

.comp-table tbody td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  width: 90px;
}

.comp-table .comp-group-header td {
  background: rgba(74,144,184,0.07);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 10px 20px;
  border-bottom: 1px solid var(--gray-light);
  word-break: normal;
}

.comp-table .comp-indented td:first-child {
  padding-left: 36px;
  color: var(--gray-dark);
}

.comp-table tbody tr:last-child td {
  border-bottom: none;
}

.comp-table tbody tr:not(.comp-group-header):hover {
  background: rgba(74,144,184,0.04);
}

@media (max-width: 900px) {
  .comp-section-grid { grid-template-columns: 1fr; gap: 36px; align-items: center; }
  .comp-product-img { min-height: unset; }
  .comp-product-img img { height: 340px; min-height: unset; max-height: unset; }
}

/* ── WhatsApp Floating Button ── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  max-width: calc(100vw - 56px);
}

.wa-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
  position: relative;
}

.wa-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37,211,102,0.4);
  animation: waPulse 2.2s ease-out infinite;
}

@keyframes waPulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  70%  { transform: scale(1.65); opacity: 0; }
  100% { transform: scale(1.65); opacity: 0; }
}

.wa-btn svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
  position: relative;
  z-index: 1;
}

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

.wa-tooltip {
  position: relative;
  background: #1a1a1a;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  font-family: 'Inter', sans-serif;
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #1a1a1a;
  border-right: none;
}

.wa-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 480px) {
  .wa-float { bottom: 20px; right: 20px; }
  .wa-btn { width: 52px; height: 52px; }
  .wa-btn svg { width: 26px; height: 26px; }
  .wa-tooltip { display: none; }
}
