/* Reset y Variables */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #59b958;
  --color-primary-dark: #458f44;
  --color-primary-light: #7dd87c;
  --color-neutral-light: #faf8f5;
  --color-neutral: #f5f1ed;
  --color-neutral-dark: #2a2a2a;
  --color-accent: #d4af37;
  --color-white: #ffffff;
}

body {
  font-family: "Georgia", "Times New Roman", serif;
  background: linear-gradient(135deg, var(--color-neutral-light) 0%, var(--color-neutral) 100%);
  color: var(--color-neutral-dark);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header y Logo */
.header {
  text-align: center;
  padding: 2rem 0 3rem;
  animation: fadeInDown 1s ease-out;
}

.logo-container {
  display: inline-block;
}

.logo-container svg {
    width: 5rem;
    height: 5rem;
  }

.logo {
  display: block;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 4px 12px rgba(89, 185, 88, 0.2));
  animation: floatAnimation 3s ease-in-out infinite;
}

.brand-name {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-top: 0.5rem;
}

/* Contenido Principal */
.main-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}

.buttons-container {
  width: 100%;
  max-width: 500px;
  max-height: 20rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.buttons-container img {
  width: 3rem;
  height: 100%;
}

.buttons-tiktok img {
  margin-left: 1rem;
  width: 2.2rem;
  height: 100%;
}

.buttons-nikken img {
  margin-left: -1.4rem;
  width: 3rem;
  height: 100%;
}

.buttons-partnerco img {
  margin-left: 2.5rem;
  width: 4rem;
  height: 100%;
}

.buttons-conoceme img {
  margin-left: -2rem;
  width: 2.5rem;
  height: 100%;
}

/* Botones CTA */
.cta-button {
  position: relative;
  background: var(--color-white);
  border: 2px solid var(--color-primary);
  padding: 1.5rem 2rem;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  font-family: "Georgia", serif;
  color: var(--color-neutral-dark);
  cursor: pointer;
  border-radius: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(89, 185, 88, 0.3), transparent);
  transition: left 0.6s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary-dark);
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 30px rgba(89, 185, 88, 0.3);
}

.cta-button:active {
  transform: translateY(-2px) scale(1);
}

.button-text {
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: transform 0.3s ease;
}

.cta-button:hover .button-text {
  transform: translateX(-5px);
}

.button-icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
  display: inline-block;
}

.cta-button:hover .button-icon {
  transform: translateX(10px);
}

/* Footer */
.footer {
  text-align: center;
  padding: 3rem 0 2rem;
  margin-top: auto;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.social-container {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  color: var(--color-primary);
  background: var(--color-white);
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--color-primary);
  transition: all 0.5s ease;
  transform: translate(-50%, -50%);
}

.social-link:hover::before {
  width: 100%;
  height: 100%;
}

.social-link:hover {
  color: var(--color-white);
  transform: translateY(-5px) rotate(5deg);
  box-shadow: 0 8px 20px rgba(89, 185, 88, 0.3);
}

.social-link svg {
  width: 24px;
  height: 24px;
  position: relative;
  z-index: 1;
}

.footer-text {
  font-size: 0.875rem;
  color: var(--color-neutral-dark);
  opacity: 0.7;
  font-family: "Arial", sans-serif;
  letter-spacing: 0.05em;
}

/* Animaciones */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatAnimation {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Animación de entrada para botones */
.cta-button {
  animation: fadeInButton 0.6s ease-out backwards;
}

.cta-button[data-index="0"] {
  animation-delay: 0.1s;
}

.cta-button[data-index="1"] {
  animation-delay: 0.2s;
}

.cta-button[data-index="2"] {
  animation-delay: 0.3s;
}

.cta-button[data-index="3"] {
  animation-delay: 0.4s;
}

@keyframes fadeInButton {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 1.5rem 1rem;
  }

  .header {
    padding: 1.5rem 0 2rem;
  }

  .logo {
    width: 100px;
    height: 100px;
  }

  .brand-name {
    font-size: 1.5rem;
  }

  .brand-names {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    letter-spacing: 1px;
  }



  .buttons-container {
    max-width: 100%;
  }

  .cta-button {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
  }

  .social-container {
    gap: 1rem;
  }

  .social-link {
    width: 45px;
    height: 45px;
  }

  .social-link svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 1.25rem;
    letter-spacing: 0.1em;
  }

  .cta-button {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
  }

  .button-icon {
    font-size: 1.25rem;
  }
}

/*boton flotante de whatsapp*/
/*inicio btn.wsp*/

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 4rem;
  height: 4rem;
  background-color: #59b958;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  z-index: 9999;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 3rem;
    height: 3rem;
  }
}

/* MENÚ */
/* CONTENEDOR MENU */
.fab-menu {
  position: absolute;
  bottom: 4.5rem;
  right: 0;
  width: 320px;
  padding: 0.75rem;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  flex-direction: column;
  gap: 0.6rem;
  z-index: 9998;
  animation: fadeUp 0.25s ease;
}

/* ANIMACIÓN APERTURA */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* OPCIONES */
.fab-menu li {
  list-style: none;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.35;
  font-weight: 500;
  cursor: pointer;
  background: #f4faf5;
  color: #1f3d28;
  border-left: 4px solid #59b958;
  transition: 
    background-color 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

/* HOVER GENERAL */
.fab-menu li:hover {
  background-color: #59b958;
  color: #ffffff;
  transform: translateX(4px);
  box-shadow: 0 8px 18px rgba(89, 185, 88, 0.4);
}

/* ACTIVO (al hacer click) */
.fab-menu li:active {
  transform: scale(0.97);
}

/* MOBILE */
@media (max-width: 480px) {
  .fab-menu {
    width: calc(100vw - 2rem);
    right: -1rem;
  }
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #4aa84d;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: #ffffff;
}

/* Animación sutil */
.whatsapp-float::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(89, 185, 88, 0.35);
  animation: pulse 2s infinite;
  z-index: -1;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/*fin btn.wsp*/

/*inicio tiktok-modal*/
/* OVERLAY */
.modal-overlay-tiktok {
  position: fixed;
  inset: 0;
  display: flex;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeUp 0.25s ease;
}
.modal-overlay-tiktok img {
  width: 100%;
  height: 100%;
}

.modal-overlay-tiktok[hidden] {
  display: none !important;
}
/* CAJA */
.modal-box-tiktok {
  background: #ffffff;
  width: 90%;
  max-width: 380px;
  border-radius: 18px;
  padding: 1.8rem;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  animation: modalIn 0.35s ease;
}

/* BOTONES */
.modal-actions-tiktok {
  display: grid;
  gap: 0.7rem;
}
.btn-tiktok {
  padding: 0.75rem;
  border-radius: 12px;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-tiktok:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}
.btn-primary-tiktok {
  background: #000000;
  color: #ffffff;
}
.btn-secondary-tiktok {
  background: #efefef;
  color: #111;
}
.btn-ghost-tiktok {
  background: transparent;
  color: #777;
  font-size: 0.85rem;
}