/* ============================================================
   COMPONENTS — Nav, Footer, Buttons, Cards, Shared UI
============================================================ */

/* ---- Navigation ----------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: color-mix(in oklch, var(--navy) 85%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in oklch, var(--cobalt) 20%, transparent);
  transition: background var(--transition);
}

.nav--solid {
  background: var(--navy);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  gap: 0;
  flex-shrink: 0;
}

.nav__logo-volt {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.16em;
  color: #FFFFFF;
  text-transform: uppercase;
}

.nav__logo-culture {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.55rem;
  letter-spacing: 0.42em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  padding-left: 0.42em;
}

.nav__links {
  display: none;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 700px) {
  .nav__links {
    display: flex;
  }
}

.nav__links a {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: color-mix(in oklch, var(--text-on-dark) 65%, transparent);
  transition: color var(--transition);
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--text-on-dark);
}

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

.nav__whatsapp {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #25D366;
  transition: opacity var(--transition);
}

.nav__whatsapp:hover { opacity: 0.8; }

.nav__whatsapp svg { width: 16px; height: 16px; fill: #25D366; }

@media (min-width: 700px) {
  .nav__whatsapp { display: none; }
}

.nav__cta {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  background: var(--cobalt);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 2px;
  transition: background var(--transition), transform var(--transition);
}

.nav__cta:hover {
  background: var(--cobalt-dark);
  transform: translateY(-1px);
}

/* ---- Buttons -------------------------------------------- */
.btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--cobalt);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 2px;
  transition: background var(--transition), transform var(--transition);
}

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

.btn-primary--full {
  width: 100%;
  text-align: center;
}

.btn-outline {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: transparent;
  color: var(--cobalt-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid var(--cobalt-light);
  cursor: pointer;
  border-radius: 2px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn-outline:hover {
  background: var(--cobalt-light);
  color: var(--navy);
}

/* ---- COD Trust Strip ------------------------------------ */
.cod-strip {
  background: var(--navy-mid);
  border-top: 1px solid color-mix(in oklch, var(--cobalt) 15%, transparent);
  border-bottom: 1px solid color-mix(in oklch, var(--cobalt) 15%, transparent);
  padding-block: 1rem;
}

.cod-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2.5rem;
}

.cod-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-on-dark);
}

.cod-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--cobalt-light);
}

/* ---- Certifications Strip ------------------------------ */
.cert-strip {
  background: var(--navy);
  padding-block: var(--space-lg);
  border-top: 1px solid color-mix(in oklch, var(--cobalt) 15%, transparent);
  border-bottom: 1px solid color-mix(in oklch, var(--cobalt) 15%, transparent);
}

.cert-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
}

.cert-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}

.cert-badge__icon {
  width: 40px;
  height: 40px;
  border: 1.5px solid color-mix(in oklch, var(--cobalt-light) 50%, transparent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cobalt-light);
}

.cert-badge__icon svg {
  width: 20px;
  height: 20px;
}

.cert-badge__label {
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in oklch, var(--text-on-dark) 60%, transparent);
}

/* ---- Testimonials -------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: color-mix(in oklch, white 8%, transparent);
}

@media (min-width: 700px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--navy-mid);
  padding: var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  color: #F59E0B;
  font-size: 0.9rem;
}

.testimonial-card__quote {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-on-dark);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}

.testimonial-card__author {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cobalt-light);
}

/* ---- WhatsApp Floating Button -------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* Adjust when sticky product bar is present */
.has-sticky-bar .whatsapp-float {
  bottom: 88px;
}

/* ---- Footer -------------------------------------------- */
.footer {
  background: var(--navy);
  border-top: 1px solid color-mix(in oklch, var(--cobalt) 20%, transparent);
  padding-block: var(--space-xl);
}

.footer__main {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

@media (min-width: 700px) {
  .footer__main {
    grid-template-columns: 1.5fr 1fr 1.5fr;
    align-items: start;
  }
}

.footer__logo-volt {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.16em;
  color: #FFFFFF;
  text-transform: uppercase;
}

.footer__logo-culture {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 0.42em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  padding-left: 0.42em;
}

.footer__tagline {
  font-size: 0.82rem;
  font-weight: 300;
  color: color-mix(in oklch, var(--text-on-dark) 40%, transparent);
  margin-top: 0.75rem;
  line-height: 1.5;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__nav a {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: color-mix(in oklch, var(--text-on-dark) 55%, transparent);
  transition: color var(--transition);
}

.footer__nav a:hover {
  color: var(--text-on-dark);
}

.footer__contact {
  font-size: 0.85rem;
  color: color-mix(in oklch, var(--text-on-dark) 55%, transparent);
  line-height: 1.8;
}

.footer__contact a {
  color: var(--cobalt-light);
  text-decoration: none;
}

.footer__contact a:hover {
  text-decoration: underline;
}

.footer__message {
  font-size: 0.85rem;
  color: color-mix(in oklch, var(--text-on-dark) 55%, transparent);
  line-height: 1.6;
}

.footer__message strong {
  color: var(--text-on-dark);
  font-weight: 500;
}

.footer__legal {
  padding-top: var(--space-md);
  border-top: 1px solid color-mix(in oklch, white 8%, transparent);
  font-size: 0.72rem;
  color: color-mix(in oklch, var(--text-on-dark) 30%, transparent);
  line-height: 1.8;
}

/* ---- FAQ Accordion ------------------------------------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: oklch(85% 0.008 264);
}

.faq-grid--dark {
  background: color-mix(in oklch, white 10%, transparent);
}

.faq-item {
  background: var(--off-white);
  cursor: pointer;
  user-select: none;
}

.faq-item--dark {
  background: var(--navy-mid);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: var(--space-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-body);
  letter-spacing: -0.01em;
  transition: color var(--transition);
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
}

.faq-item--dark .faq-item__question {
  color: var(--text-on-dark);
}

.faq-item:hover .faq-item__question {
  color: var(--cobalt);
}

.faq-item--dark:hover .faq-item__question {
  color: var(--cobalt-light);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  background: var(--cobalt);
  transition: transform var(--transition), opacity var(--transition);
}

.faq-item--dark .faq-item__icon::before,
.faq-item--dark .faq-item__icon::after {
  background: var(--cobalt-light);
}

.faq-item__icon::before {
  width: 14px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item__icon::after {
  width: 2px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item.open .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open .faq-item__answer {
  grid-template-rows: 1fr;
}

.faq-item__answer-inner {
  overflow: hidden;
}

.faq-item__answer-content {
  padding: 0 var(--space-md) var(--space-md);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.faq-item--dark .faq-item__answer-content {
  color: color-mix(in oklch, var(--text-on-dark) 65%, transparent);
}

/* ---- Stats Row ----------------------------------------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: color-mix(in oklch, white 20%, transparent);
}

@media (min-width: 600px) {
  .stats-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  background: none;
  padding: 0;
  text-align: left;
}

.stat-item__number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1;
  color: white;
  letter-spacing: -0.02em;
  display: block;
}

.stat-item__label {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: color-mix(in oklch, white 60%, transparent);
  text-transform: uppercase;
  display: block;
  margin-top: 0.3rem;
}

/* ---- Compare Table ------------------------------------- */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.compare-table thead th {
  padding: var(--space-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  border-bottom: 2px solid oklch(82% 0.01 264);
}

.compare-table thead th:first-child {
  color: var(--text-muted);
  background: transparent;
}

.compare-table thead th:last-child {
  background: var(--cobalt);
  color: white;
}

.compare-table tbody tr:nth-child(even) td:first-child {
  background: oklch(93% 0.006 264);
}

.compare-table tbody tr:nth-child(odd) td:first-child {
  background: var(--grey-bg);
}

.compare-table td {
  padding: var(--space-md);
  border-bottom: 1px solid oklch(87% 0.008 264);
  vertical-align: middle;
}

.compare-table td:first-child {
  color: var(--text-muted);
}

.compare-table td:last-child {
  background: color-mix(in oklch, var(--cobalt) 8%, var(--grey-bg));
  color: var(--text-body);
  font-weight: 500;
  border-left: 3px solid var(--cobalt);
}

@media (max-width: 699px) {
  .compare-table { font-size: 0.82rem; }
  .compare-table td, .compare-table th { padding: 0.75rem 0.6rem; }
}
