/* ============================================================
   Zerava · components.css
   Reusable UI components: nav, buttons, cards, FAQ, steps, footer.
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 13, 26, 0.86);
  border-bottom: 1px solid rgba(26, 37, 64, 0.8);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--headline);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand img {
  width: 132px;
  height: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  margin-left: auto;
}

.nav-menu a {
  color: var(--body);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 160ms ease;
}

.nav-menu a:hover {
  color: var(--headline);
}

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

.language-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(13, 21, 37, 0.82);
  padding: 3px;
}

.language-switch button {
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  padding: 8px 9px;
  transition: background 160ms ease, color 160ms ease;
}

.language-switch button[aria-pressed="true"] {
  background: var(--cyan);
  color: #03111D;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--headline);
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  color: var(--headline);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
  white-space: nowrap;
}

.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.button.primary {
  background: var(--cyan);
  color: #03111D;
  box-shadow: 0 14px 32px rgba(14, 165, 233, 0.24);
}

.button.secondary {
  background: rgba(13, 21, 37, 0.64);
  border-color: var(--border);
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary:hover {
  background: var(--cyan-strong);
}

.button.secondary:hover {
  border-color: rgba(14, 165, 233, 0.68);
  color: var(--headline);
}

.button.small {
  min-height: 40px;
  padding-inline: 14px;
  font-size: 0.86rem;
}

.note-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--body);
  font-size: 0.92rem;
  font-weight: 600;
}

.note-item svg {
  width: 20px;
  height: 20px;
  color: var(--cyan);
  flex: 0 0 auto;
  margin-top: 2px;
}

.stat {
  padding: 28px 26px;
  border-right: 1px solid var(--border);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  color: var(--headline);
  font-size: 2rem;
  line-height: 1.05;
  font-weight: 800;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(13, 21, 37, 0.78);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured {
  border-color: rgba(14, 165, 233, 0.86);
  background: var(--surface);
  box-shadow: 0 24px 54px rgba(14, 165, 233, 0.14);
}

.pricing-card.accent {
  border-color: rgba(124, 58, 237, 0.55);
  background:
    linear-gradient(180deg, rgba(124, 58, 237, 0.10), transparent 60%),
    rgba(13, 21, 37, 0.82);
  box-shadow: 0 24px 54px rgba(124, 58, 237, 0.10);
}

.popular,
.ribbon {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  border-radius: 8px 8px 0 0;
  color: #03111D;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  padding: 9px 12px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.popular {
  background: var(--cyan);
}

.ribbon {
  background: var(--violet);
  color: #FFFFFF;
}

.featured .package-title,
.accent .package-title {
  margin-top: 22px;
}

.delivery-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.delivery-tag svg {
  width: 12px;
  height: 12px;
  color: var(--cyan);
}

.package-title {
  color: var(--headline);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.price-block {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 12px;
}

.price {
  color: var(--headline);
  font-size: 2.6rem;
  line-height: 1;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.price-unit {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.price-label {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.10);
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.accent .price-label {
  background: rgba(124, 58, 237, 0.12);
  color: #A78BFA;
}

.boost-box {
  position: relative;
  margin-top: 18px;
  border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(124, 58, 237, 0.14), rgba(124, 58, 237, 0.04));
  padding: 14px 16px 14px 18px;
  overflow: hidden;
}

.boost-box::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--violet);
}

.boost-box strong {
  display: block;
  color: #C4B5FD;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.boost-box span {
  display: block;
  margin-top: 6px;
  color: var(--body);
  font-size: 0.86rem;
  line-height: 1.5;
  font-weight: 500;
}

.package-copy {
  min-height: 60px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  color: var(--body);
  font-size: 0.88rem;
  line-height: 1.45;
}

.feature-list svg {
  width: 18px;
  height: 18px;
  color: var(--cyan);
  margin-top: 2px;
}

.pricing-card .button {
  width: 100%;
  margin-top: auto;
}

.pricing-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.about-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.about-meta-item {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(6, 13, 26, 0.6);
  padding: 18px 20px 18px 28px;
}

.about-meta-item::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 14px;
  width: 4px;
  border-radius: 2px;
  background: var(--cyan);
}

.about-meta-item:nth-child(2)::before {
  background: var(--violet);
}

.about-meta-item strong {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.about-meta-item span {
  display: block;
  margin-top: 6px;
  color: var(--headline);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
}

.value {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(6, 13, 26, 0.55);
  padding: 18px 18px 18px 22px;
}

.value::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--cyan);
}

.value:nth-child(2)::before,
.value:nth-child(3)::before {
  background: var(--violet);
}

.value h3 {
  color: var(--headline);
  font-size: 0.98rem;
  font-weight: 800;
}

.value p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.work-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(13, 21, 37, 0.76);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 165, 233, 0.7);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.24);
}

.work-preview {
  position: relative;
  height: 214px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-strong);
  overflow: hidden;
}

.work-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 280ms ease;
}

.work-card:hover .work-preview img {
  transform: scale(1.035);
}

.work-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.work-card h3 {
  color: var(--headline);
  font-size: 1.12rem;
  line-height: 1.3;
  font-weight: 800;
}

.work-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.94rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--body);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  padding: 8px 10px;
}

.work-card .button {
  margin-top: 22px;
  align-self: flex-start;
}

.step {
  position: relative;
  padding-top: 8px;
  counter-increment: step;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  left: 58px;
  right: -8px;
  height: 1px;
  background: rgba(14, 165, 233, 0.4);
}

.step:nth-child(3n)::after {
  display: none;
}

.step::before {
  content: "0" counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border: 1px solid rgba(14, 165, 233, 0.52);
  border-radius: 8px;
  color: var(--cyan);
  font-weight: 800;
}

.step h3 {
  color: var(--headline);
  font-size: 1.07rem;
  font-weight: 800;
}

.step p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.94rem;
}

.faq-item + .faq-item {
  border-top: 1px solid var(--border);
}

.faq-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  background: transparent;
  color: var(--headline);
  cursor: pointer;
  padding: 20px 22px;
  text-align: left;
  font-size: 1rem;
  font-weight: 800;
}

.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--cyan);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  inset: 8px 2px auto;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.faq-icon::after {
  transform: rotate(90deg);
  transition: transform 160ms ease;
}

.faq-button[aria-expanded="true"] .faq-icon::after {
  transform: rotate(0deg);
}

.faq-panel {
  padding: 0 22px 22px;
  color: var(--muted);
  max-width: 880px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.mobile-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  display: none;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  place-items: center;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  line-height: 0;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.34);
}

.mobile-whatsapp svg {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}

/* Scroll-triggered fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms ease, transform 500ms ease;
}

/* Active nav link */
.nav-menu a.is-active {
  color: var(--headline);
}

.nav-menu a.is-active::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  margin-top: 2px;
}
