/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-primary);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--color-burgundy);
  color: var(--color-white);
  border-color: var(--color-burgundy);
}

.btn--primary:hover {
  background-color: #6b002d;
  color: var(--color-white);
  border-color: #6b002d;
}

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

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

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

.btn--white:hover {
  background-color: transparent;
  color: var(--color-white);
}

.btn--accent {
  background-color: var(--apt-accent);
  color: var(--color-white);
  border-color: var(--apt-accent);
}

.btn--small {
  padding: 0.5rem 1.25rem;
  font-size: var(--fs-xs);
}

.btn--large {
  padding: 1rem 2.5rem;
  font-size: var(--fs-base);
}

/* Cards */
.card {
  background: var(--color-white);
  overflow: hidden;
  transition: transform var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
}

.card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card__body {
  padding: var(--space-lg);
}

.card__title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-sm);
}

.card__text {
  font-size: var(--fs-base);
  color: var(--color-medium-gray);
  margin-bottom: var(--space-md);
}

/* Badges / Specs */
.spec-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-xl);
}

.spec-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  color: var(--color-medium-gray);
}

.spec-item__value {
  font-weight: var(--fw-semibold);
  color: var(--color-navy);
  font-size: var(--fs-lg);
}

/* Divider */
.divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--space-2xl) 0;
}

/* Newsletter Form */
.newsletter-form {
  display: flex;
  gap: var(--space-sm);
  max-width: 480px;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  font-size: var(--fs-base);
  background: var(--color-white);
}

.newsletter-form input[type="email"]:focus {
  outline: 2px solid var(--color-navy);
  outline-offset: -2px;
}

@media (max-width: 767px) {
  .newsletter-form {
    flex-direction: column;
  }
}

/* Price Table */
.price-table {
  width: 100%;
  font-size: var(--fs-sm);
}

.price-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-weight: var(--fw-semibold);
  border-bottom: 2px solid var(--color-navy);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
}

.price-table tr:hover td {
  background-color: var(--color-light-gray);
}

/* Scroll to Top */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--color-burgundy);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
  z-index: 900;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  background: #6b002d;
}
.scroll-top--hidden {
  display: none !important;
}
body:has(.stickynav) .scroll-top,
body:has(.apt-stickynav) .scroll-top {
  display: none !important;
}
@media (max-width: 767px) {
  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}

/* Sticky Bottom Nav (shared across pages) */
.stickynav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  display: flex;
  justify-content: stretch;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
}
.stickynav__item {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 0;
  color: var(--color-burgundy);
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  transition: color 0.2s;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  position: relative;
}
.stickynav__item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: var(--color-border);
}
.stickynav__item:last-child::after {
  display: none;
}
.stickynav__item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--color-burgundy);
  transition: color 0.2s;
}
.stickynav__item:hover,
.stickynav__item--active {
  color: var(--color-burgundy);
  border-bottom-color: var(--color-burgundy);
}
.stickynav__item--cta {
  color: var(--color-burgundy);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
@media (max-width: 767px) {
  .stickynav__item span {
    display: none;
  }
  .stickynav__item--cta span {
    display: inline;
  }
}

/* Contact Form (shared across pages) */
.contact-section {
  padding: var(--space-4xl) 24px;
  text-align: center;
  background: var(--color-white);
}
.contact-section h2 {
  font-size: 36px;
  font-weight: var(--fw-light);
  font-style: normal;
  margin-bottom: 16px;
}
.contact-section__text {
  font-size: 18px;
  color: var(--color-muted-gray);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  border: 1px solid #e2e2e2;
  border-radius: 0;
  background: var(--color-white);
  color: var(--color-navy);
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-burgundy);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #999;
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-form__privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  font-size: 13px;
  color: var(--color-muted-gray);
  line-height: 1.5;
  cursor: pointer;
}
.contact-form__privacy input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
}
.contact-form__privacy a {
  color: var(--color-burgundy);
  text-decoration: underline;
}
.contact-form__submit {
  width: 100%;
  padding: 16px;
  background: var(--color-burgundy);
  color: var(--color-white);
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background-color 0.2s;
}
.contact-form__submit:hover {
  background: #6e0030;
}
@media (max-width: 767px) {
  .contact-section {
    padding: var(--space-2xl) 20px;
  }
  .contact-section h2 {
    font-size: 28px;
  }
}
