/* ===================== */
/* BOTONES               */
/* ===================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  cursor: pointer;
  text-align: center;
  line-height: 1;
  position: relative;
  overflow: hidden;
  transform: translateY(0);
}

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

.btn:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 0.1s;
}

/* Shimmer effect on primary & dark buttons */
.btn-primary::after,
.btn-dark::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transition: left 0.5s ease;
}

.btn-primary:hover::after,
.btn-dark:hover::after {
  left: 100%;
}

.btn-primary {
  background: var(--hdh-ember);
  color: #fff;
  border: 2px solid var(--hdh-ember);
  box-shadow: 0 4px 12px rgba(196, 57, 29, 0.25);
}

.btn-primary:hover {
  background: var(--hdh-ember-dark);
  border-color: var(--hdh-ember-dark);
  box-shadow: 0 8px 24px rgba(196, 57, 29, 0.4);
}

.btn-dark {
  background: var(--hdh-black);
  color: #fff;
  border: 2px solid var(--hdh-black);
  box-shadow: 0 4px 12px rgba(10, 10, 10, 0.2);
}

.btn-dark:hover {
  background: var(--hdh-steel);
  border-color: var(--hdh-steel);
  box-shadow: 0 8px 24px rgba(10, 10, 10, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--hdh-black);
  border: 2px solid var(--hdh-black);
}

.btn-outline:hover {
  background: var(--hdh-black);
  color: #fff;
  box-shadow: 0 8px 24px rgba(10, 10, 10, 0.2);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-outline-white:hover {
  background: #fff;
  color: var(--hdh-ember);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.btn-white {
  background: #fff;
  color: var(--hdh-ember);
  border: 2px solid #fff;
}

.btn-white:hover {
  background: var(--hdh-bone);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.btn-full {
  display: block;
  width: 100%;
}

/* ===================== */
/* NAVBAR                */
/* ===================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--hdh-black);
  height: 56px;
  display: flex;
  align-items: center;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo img {
  height: 44px;
  width: auto;
}

.navbar-links {
  display: none;
  gap: var(--space-xl);
  align-items: center;
}

.navbar-links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--hdh-steel-mid);
  transition: color var(--transition);
}

.navbar-links a:hover {
  color: #fff;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--hdh-black);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: var(--space-sm) 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  margin-top: 12px;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  margin-top: 8px;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 11px !important;
  letter-spacing: 1.5px !important;
  color: var(--hdh-steel-mid);
  transition: all 0.2s ease;
}

.nav-dropdown-menu a:hover {
  color: #fff;
  background: rgba(255,255,255,0.05);
}

.navbar-cta {
  display: none;
}

.navbar-cta .btn {
  padding: 10px 24px;
  font-size: 11px;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: all var(--transition);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--hdh-black);
  display: flex;
  flex-direction: column;
  padding: var(--space-xl) var(--container-padding);
  transform: translateX(100%);
  transition: transform 0.35s ease;
  z-index: 999;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--hdh-steel-mid);
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color var(--transition);
}

.mobile-menu a:hover {
  color: #fff;
}

.mobile-menu .btn {
  margin-top: var(--space-xl);
}

@media (min-width: 768px) {
  .navbar { height: 64px; }
  .navbar-logo img { height: 48px; }
  .navbar-links { display: flex; }
  .navbar-cta { display: block; }
  .hamburger { display: none; }
}

/* ===================== */
/* PILLS / VARIANTES     */
/* ===================== */

.pill {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 10px 20px;
  border: 2px solid var(--hdh-clay);
  border-radius: var(--radius-full);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
  transform: translateY(0);
}

.pill:hover {
  border-color: var(--hdh-black);
  background: var(--hdh-bone);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10, 10, 10, 0.08);
}

.pill.active {
  border-color: var(--hdh-black);
  background: var(--hdh-black);
  color: #fff;
  box-shadow: 0 4px 12px rgba(10, 10, 10, 0.15);
}

/* ===================== */
/* CARDS                 */
/* ===================== */

.card {
  background: var(--hdh-white);
  border-radius: var(--radius);
}

.card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--hdh-bone);
}

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

/* ===================== */
/* BADGE                 */
/* ===================== */

.badge {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--hdh-ember);
}

/* ===================== */
/* ACCORDION (FAQ)       */
/* ===================== */

.accordion-item {
  border-bottom: 1px solid var(--hdh-clay);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--hdh-black);
  transition: color var(--transition);
}

.accordion-header:hover {
  color: var(--hdh-ember);
}

.accordion-icon {
  font-size: 24px;
  color: var(--hdh-silver);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: var(--space-md);
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-body-inner {
  padding-bottom: var(--space-lg);
  color: var(--hdh-steel-mid);
  font-size: 15px;
  line-height: 1.7;
}

.accordion-item.active .accordion-body {
  max-height: 300px;
}

/* Categorías del FAQ */
.faq-category {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--hdh-ember);
  margin: var(--space-2xl) 0 var(--space-md);
}

.faq-category:first-of-type {
  margin-top: var(--space-xl);
}

/* ===================== */
/* FOOTER                */
/* ===================== */

.footer {
  background: var(--hdh-black);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.footer-logo img {
  height: 48px;
  margin-bottom: var(--space-md);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--hdh-silver);
  margin-bottom: var(--space-md);
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--hdh-steel-mid);
  padding: var(--space-xs) 0;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  font-size: 13px;
  color: var(--hdh-steel-mid);
}

.footer-bottom a {
  color: var(--hdh-steel-mid);
}

.footer-bottom a:hover {
  color: #fff;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ===================== */
/* WHATSAPP FLOTANTE     */
/* ===================== */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: wa-pulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
  animation: none;
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3); }
  50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.55); }
}

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