/* ══════════════ GLOBAL STYLES ══════════════ */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom, #1d1b1b, #2e2520);
  color: #F3F3F3;
}

h1, h2, h3, h4, h5, h6 {
  color: #FFD166;
  margin-top: 0;
  margin-bottom: 1rem;
}

p {
  line-height: 1.6;
}

a {
  color: #FFD166;
  text-decoration: none;
}

/* ══════════════ BUTTONS ══════════════ */
.btn,
.subscribe-form button {
  background-color: #FFD166;
  color: #0B0B0C;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: bold;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border: none;
}

.btn:hover,
.subscribe-form button:hover {
  background-color: #F4A261;
}

.btn:focus,
.subscribe-form button:focus {
  outline: 2px solid #FFD166;
  outline-offset: 3px;
}

/* ══════════════ HERO BLOCK ══════════════ */
.kuani-hero {
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  padding: 80px 40px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hero-video,
.hero-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-overlay h1 {
  font-size: 3rem;
  color: #FFD166;
  margin-bottom: 1rem;
}

.hero-overlay p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ══════════════ FEATURES GRID ══════════════ */
.features-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  padding: 3rem 1.5rem;
}

.feature-card {
  background-color: #2e2520;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card span {
  font-size: 2rem;
  display: block;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.2rem;
}

/* ══════════════ TESTIMONIALS ══════════════ */
.kuani-testimonials {
  padding: 4rem 2rem;
  text-align: center;
}

.testimonial-item {
  max-width: 600px;
  margin: 0 auto 2rem;
  padding: 1.5rem;
  border-left: 4px solid #FFD166;
}

.testimonial-item img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.testimonial-item blockquote {
  font-style: italic;
  font-size: 1.1rem;
  color: #F3F3F3;
}

.testimonial-item span {
  display: block;
  margin-top: 1rem;
  color: #aaa;
}

/* ══════════════ AVAILABILITY SECTION ══════════════ */
.kuani-availability {
  padding: 4rem 2rem;
  text-align: center;
}

.kuani-availability iframe {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.kuani-availability iframe:hover {
  box-shadow: 0 8px 16px rgba(255, 209, 102, 0.2);
}

/* ══════════════ POPUP NEWSLETTER ══════════════ */
.kuani-popup {
  background-color: #1D3557;
  padding: 2rem;
  border-radius: 10px;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.subscribe-form input[type="email"] {
  padding: 0.75rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
  margin-bottom: 1rem;
}

.subscribe-form input[type="email"]:focus {
  outline: 2px solid #FFD166;
  outline-offset: 2px;
}

/* ══════════════ WHATSAPP BUTTON ══════════════ */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  transition: transform 0.2s ease;
}

.whatsapp-button:hover {
  transform: scale(1.1);
}

.tooltip {
  visibility: hidden;
  width: 100px;
  background: #333;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  padding: 4px 8px;
  position: absolute;
  z-index: 1;
  bottom: 130%;
  left: 50%;
  margin-left: -50px;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 0.75rem;
}

.whatsapp-button:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

/* ══════════════ ANIMATIONS ══════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.fade-in.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Opcional: soportar usuarios que piden menos animación */
@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .fade-in.animated,
  .tooltip,
  .tooltip-trigger .tooltip {
    transition: none !important;
  }
}

/* ══════════════ BLOCK OUTLINES EN EDITOR ══════════════ */
.wp-block-fenix-hero,
.wp-block-fenix-features-grid,
.wp-block-fenix-testimonials,
.wp-block-fenix-availability,
.wp-block-fenix-popup-newsletter {
  border: 2px dashed #FFD166;
  padding: 1rem;
  border-radius: 10px;
  margin: 1rem 0;
}