:root {
  --primary: #934634;
  --secondary: #d8925f;
  --textLight: #f0e1c2;

  /* neutrales que ya usas */
  --white: #ffffff;
  --softBg: #f7f8ff;
  --textDark: #555;
}

/* Estilo global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

@font-face {
    font-family: 'Kaylush';
    src: url('/fonts/Kaylush.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
  font-family: 'Kaylush', sans-serif;
  background-color: #f0e1c2;  /* Fondo base color */
  
  /* Aplicamos la textura con mayor visibilidad */
  background-image: 
    url('https://www.transparenttextures.com/patterns/rocky-road.png'),  /* Textura visible */
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.05)),  /* Gradiente marmolizado */
    linear-gradient(45deg, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.05)); /* Gradiente adicional */

  background-size: cover;  /* Fondo cubre toda la pantalla */
  background-attachment: fixed;  /* Fondo fijo mientras se hace scroll */
  background-position: center;  /* Centra el fondo */
  background-blend-mode: overlay;  /* Mezcla el fondo y la textura */
  overflow-x: hidden;
}


/* ===== NAVBAR BASE ===== */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 60px;
  background: linear-gradient(90deg,var(--primary),var(--secondary));
  color: var(--textLight);
  position: relative;
}

/* LOGO */

.logo img {
  height: 70px;
  width: auto;
}

.logo {
  font-weight: 700;
  font-size: 20px;
}

/* MENÚ DESKTOP */

.menu {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.menu a {
  color: #f0e1c2;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
}

.menu a:hover {
  color: #ffffff;
}

/* BOTÓN */

.btn-cita {
  background-color: #934634;
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s ease;
}

.btn-cita:hover {
  background-color: #f0e1c2;
  color: #934634 !important;
}

/* ===== BOTÓN HAMBURGUESA ===== */

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #f0e1c2;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {

  .navbar {
    padding: 18px 25px;
  }

  .menu-toggle {
    display: block;
  }

  .menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background: linear-gradient(90deg,var(--primary),var(--secondary));
    flex-direction: column;
    gap: 20px;
    padding: 30px 0;
    display: none;
    text-align: center;
  }

  .menu.active {
    display: flex;
  }

}


/* ================= HERO ================= */

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 300px;
  padding: 90px 60px;
  flex-wrap: wrap;
}

.hero-text {
  max-width: 520px;
}

.hero-text h1 {
  font-size: 44px;
  color: #934634
}

.hero-text p {
  margin: 20px 0;
  color: black
}

.cta-btn {
  display: inline-block;
  padding: 14px 28px;
  background: #934634;
  color: #f0e1c2;
  text-decoration: none;
  border-radius: 8px;
}

/* IMAGE */

.hero-img img {
  width: 420px;
  max-width: 100%;
  border-radius: 18px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  }

.hero-img img:hover {
  transform: scale(1.03);
  box-shadow: 0 25px 60px rgba(0,0,0,0.35);
}


/* ================= ABOUT ================= */

/* ===== ABOUT SECTION ===== */

.about {
  
  padding: 80px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

/* ===== COLUMNA 1 - TEXTO ===== */

.about-text {
  flex: 1;
  min-width: 300px; 
}

.about-text h6 {
  font-size: 42px;
  color: #934634; 
  white-space: nowrap; /* evita que el texto se divida en varias líneas */
  font-size: clamp(22px, 5vw, 42px);
  
  
  
}
.about-text h2 {
  font-size: 42px;
  color: #934634;
  margin-bottom: 30px;
}

.about-text h2 span {
  color: #934634;
}

.about-text h3 {
  font-size: 26px;
  color: #c57c2f;
  margin-top: 25px;
}

.about-text h4 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0;
  color: #8b3e2f;
}

.about-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

/* ===== COLUMNA 2 - CENTRO (STATS) ===== */

.about-stats {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;      /* CENTRADO HORIZONTAL */
  justify-content: center;  /* CENTRADO VERTICAL */
  text-align: center;
  gap: 30px;
}

.stat i {
  font-size: 28px;
  color: #8b3e2f;
  margin-bottom: 8px;
}

.stat p {
  font-size: 16px;
  font-weight: 500;
  color: #444;
}

/* ===== COLUMNA 3 - IMAGEN ===== */

.about-img {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-img img {
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  object-fit: cover;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 992px) {

  .about {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    text-align: center;
  }

  .about-stats {
    margin: 30px 0;
  }

}




/* ================= SERVICES ================= */

.services {
  padding: 100px 60px;
  text-align: center;
}

.services h2 {
  font-size: 36px;
  margin-bottom: 50px;
  color: #934634;
}

.service-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

/* CARDS */

.card {
  background:linear-gradient(90deg,#e29450,#c6926d);
  padding: 40px 30px;
  border-radius: 16px;
  width: 280px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(147,70,52,0.25);
}


.card i {
  font-size: 32px;
  color: #934634;
  margin-bottom: 15px;
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  color: black;
}

/* ================= RESPONSIVE ================= */

/* Tablet */
@media (max-width: 1024px) {

  .hero,
  .about {
    padding: 70px 30px;
  }

  .hero-text h1 {
    font-size: 36px;
  }

}

/* Móvil */
@media (max-width: 768px) {

  .navbar {
    padding: 18px 25px;
    flex-direction: column;
    gap: 10px;
  }

  .menu {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 25px;
  }

  .about {
    flex-direction: column;
    text-align: center;
    padding: 60px 25px;
  }

  .hero-text h1 {
    font-size: 30px;
  }

  .about-text h2 {
    font-size: 28px;
  }

}

/* Móvil pequeño */
@media (max-width: 480px) {

  .hero-text h1 {
    font-size: 24px;
  }

  .services h2 {
    font-size: 26px;
  }

  .card {
    width: 100%;
  }

}
/* ================= TESTIMONIALS ================= */

.testimonials {
  padding: 90px 60px;
  text-align: center;
}

.testimonials h2 {
  font-size: 34px;
  margin-bottom: 50px;
  color: #934634; 
}

/* GRID RESPONSIVE */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

/* CARD */

.testimonial-card {
  background: linear-gradient(90deg,#e29450,#c6926d);
  padding: 15px; /* reducimos padding porque ahora hay video */
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  overflow: hidden; /* importante para que el video respete el borde */
}

/* VIDEO O IFRAME */

.testimonial-card video,
.testimonial-card iframe {
  width: 100%;
  height: 250px;
  border-radius: 12px;
  object-fit: cover;
}

/* RESPONSIVE AJUSTES */

@media (max-width: 768px) {

  .testimonials {
    padding: 60px 25px;
  }

  .testimonial-card video,
  .testimonial-card iframe {
    height: 200px;
  }
}
/* ================= CONTACT ================= */

.contact {
  padding: 90px 60px;
  
  text-align: center;
}

.contact h2 {
  font-size: 34px;
  margin-bottom: 40px;
  color: #934634;
}

/* FORM */

.contact-form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border-radius: 8px;
  border: none;
  background: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  font-size: 15px;
}

.contact-form textarea {
  min-height: 120px;
}

.contact-form button {
  padding: 14px;
  border: none;
  border-radius: 8px;
  background: #934634;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #934634;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .contact {
    padding: 60px 25px;
  }
}

/* ================= PREMIUM FOOTER ================= */

.footer {
  background: linear-gradient(90deg,#934634,#d8925f);
  color: #f0e1c2;
  padding: 70px 40px 30px 40px;
}

/* GRID */

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3,
.footer-col h4 {
  margin-bottom: 15px;
}

.footer-col p,
.footer-col a {
  color: black;
  font-size: 14px;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}

/* SOCIAL */

.footer-col.social a {
  font-size: 20px;
  margin-right: 12px;
  color: white;
  transition: 0.3s;
}

.footer-col.social a:hover {
  color: #ffdd57;
}

/* BOTTOM BAR */

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
}

/* RESPONSIVE */

@media (max-width: 768px) {

  .footer {
    text-align: center;
  }

}

.footer-bottom {
  text-align: center;
  padding: 12px;
  font-size: 13px;
  background: linear-gradient(90deg,#934634,#d8925f);
  color: #f0e1c2;
}

.footer-bottom a {
  color: #aaa;
  text-decoration: none;
  font-weight: normal;
}

.footer-bottom a:hover {
  color: #fff;
}


/* ================= FLOAT WHATSAPP ================= */

.wa-container {
  position: fixed;
  bottom: clamp(15px, 3vw, 25px);
  right: clamp(15px, 3vw, 25px);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1000;
}

/* Texto */
.wa-text {
  background: white;
  padding: 10px 14px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  font-size: clamp(0.75rem, 1vw, 0.9rem);
  color: #444;
  line-height: 1.2;
  max-width: 220px;
}

.wa-text span {
  display: block;
}

.wa-text strong {
  display: block;
  font-weight: 700;
  color: #934634; /* tu color acento */
}

/* Botón */
.wa-float {
  width: clamp(50px, 6vw, 65px);
  height: clamp(50px, 6vw, 65px);
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.wa-float img {
  width: clamp(24px, 3vw, 30px);
  height: clamp(24px, 3vw, 30px);
}

.wa-float:hover {
  transform: scale(1.1);
}

/* ===== RESPONSIVE EXTRA PARA CELULAR ===== */

@media (max-width: 576px) {

  .wa-container {
    flex-direction: column;
    align-items: flex-end;
  }

  .wa-text {
    max-width: 160px;
    font-size: 0.75rem;
    padding: 8px 12px;
  }

}

.servicios {
  padding: 100px 20px;
}

.container-servicios {
  max-width: 1100px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.servicio-imagen img {
  width: 100%;
  max-width: 380px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.servicio-contenido {
  flex: 1;
  min-width: 280px;
}

/* 🔥 TEXTO RESPONSIVE REAL */

.servicio-contenido h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: #2c2c2c;
  margin-bottom: 20px;
  line-height: 1.2;
}

.descripcion {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: #5a5a5a;
  margin-bottom: 25px;
  line-height: 1.7;
}

.beneficios {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.beneficios li {
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  margin-bottom: 12px;
  color: #444;
}

.hotmart-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  color: #777;
  flex-wrap: wrap;
}

.hotmart-info img {
  height: 80px; /* 🔥 antes 200px (era demasiado grande para móvil) */
  margin-left: 0;
  max-width: 100%;
}

/* BOTÓN */

.btn-servicio {
  display: inline-block;
  background-color:#934634;
  color: #fff;
  padding: 14px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: clamp(0.9rem, 1vw, 1rem);
}

.btn-servicio:hover {
  background-color: #7a3527;
  transform: translateY(-3px);
}

/* ===== AJUSTE EXTRA PARA CELULAR ===== */

@media (max-width: 768px) {

  .container-servicios {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .servicio-contenido {
    text-align: center;
  }

  .hotmart-info {
    justify-content: center;
  }

}



.galeria {
  padding: 80px 10%;
}

.galeria h1 {
  text-align: center;
  font-size: 2.5rem;
  color: #934634;
  margin-bottom: 60px;
}

.categoria {
  margin-bottom: 80px;
}

.categoria h2 {
  color: #d8925f;
  margin-bottom: 20px;
}

.galeria-premium {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.galeria-premium img,
.galeria-premium video {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: 0.4s ease;
}

.galeria-premium img:hover,
.galeria-premium video:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

@media (max-width: 992px) {
  .galeria-premium {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .galeria-premium {
    grid-template-columns: 1fr;
  }
}
/* ================= ADMIN PANEL ================= */

.admin-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #934634, #d8925f);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
}

.admin-card {
  background: #f0e1c2;
  width: 100%;
  max-width: 600px;
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.admin-title {
  text-align: center;
  color: #934634;
  font-size: 28px;
  margin-bottom: 10px;
}

.admin-subtitle {
  text-align: center;
  color: #555;
  margin-bottom: 30px;
}

.admin-alert {
  background-color: #d8925f;
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
}

.admin-form .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.admin-form label {
  margin-bottom: 8px;
  font-weight: 600;
  color: #934634;
}

.admin-form input[type="text"],
.admin-form textarea,
.admin-form input[type="file"] {
  padding: 12px;
  border: 1px solid #d8925f;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: 0.3s;
}

.admin-form input[type="text"]:focus,
.admin-form textarea:focus {
  border-color: #934634;
  box-shadow: 0 0 5px rgba(147, 70, 52, 0.3);
}

.admin-form textarea {
  resize: none;
  min-height: 100px;
}

.admin-btn {
  width: 100%;
  padding: 14px;
  background-color: #934634;
  color: #f0e1c2;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.admin-btn:hover {
  background-color: #7a3728;
  transform: translateY(-2px);
}
