@font-face {
  font-family: BLguimllae;
  src: url(fonts/BLguimllae.otf);
  font-weight: normal;
  font-style: normal;
}

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'EB Garamond', serif;
}

html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
  display: flex;
  justify-content: center;
}

/* Fondo general */
body {
  background-color: #fff;
  color: #111111;
  overflow-x: hidden;
  width: 100%;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

/* HEADER */

header {
  width: 100%;
  position: fixed; /* sticky */
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: #fff; /* puedes ajustar transparencia si quieres overlay */
  padding: 15px 5%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Container flex */
.container-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo img {
  height: 30px;
  width: auto;
}

/* Menú Desktop */
.menu-desktop {
  display: flex;
  gap: 30px;
}

.menu-desktop a {
  text-decoration: none;
  color: #111111;
  font-family: 'EB Garamond', sans-serif;
  font-size: 16px;
  transition: color 0.3s, border-bottom 0.3s;
}

.menu-desktop a:hover {
  color: #725C3A;
  font-weight: bold;
  /* border-bottom: 2px solid #725C3A; */
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 1px;
  background-color: #111111;
  transition: all 0.3s;
}

/* Menú Móvil */
.menu-movil {
  display: none;
  flex-direction: column;
  background-color: #fff;
  position: absolute;
  top: 100%;
  right: 0;
  width: 50%;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.menu-movil a {
  text-decoration: none;
  color: #111111;
  font-family: 'EB Garamond', sans-serif;
  font-size: 18px;
  padding: 7px 15px;
}

.menu-movil a:hover {
  color: #FFFFFF;
  background-color: #809671;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .menu-desktop {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

.show-menu {
  display: flex;
}


/* HEADER ENDS */

/* HERO */

.hero {
  width: 100%;
  padding: 150px 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  max-width: 1200px;
  width: 100%;
  gap: 40px;
}

/* Texto */
.hero-text {

  z-index: 3;
  max-width: 500px;
}

.hero-text h1 {
  font-family: 'BLguimllae', sans-serif;
  font-size: 35px;
  color: #111111;
  margin-bottom: 20px;
}

.hero-text p {
  font-family: 'Garamond', serif;
  font-size: 20px;
  color: #111111;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.hero-buttons a {
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-family: 'EB Garamond', sans-serif;
  transition: all 0.3s;
}

.btn-contact {
  background-color: #809671;
  color: #fff;
}

.btn-contact:hover {
  background-color: #D2AB80;
}

.btn-portfolio {
  background-color: #E5D2B8;
  color: #111;
}

.btn-portfolio:hover {
  background-color: #B3B792;
}

/* Imágenes */
.hero-images {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 768px;
}

.img-right {
  width: 90%; /* ajusta según diseño */
  height: auto;
  z-index: 1; /* está debajo */
}

.hero-image {
  position: absolute;
  left: 0; /* se monta un poco sobre la derecha */
  top: 30%;
  width: 200px; 
  height: auto;
  object-fit: cover;
  opacity: 0;
  animation: fade 12s infinite;
  z-index: 2; /* ahora está encima de img-right */
}


.hero-image:nth-child(2) { animation-delay: 0s; }
.hero-image:nth-child(3) { animation-delay: 4s; }
.hero-image:nth-child(4) { animation-delay: 8s; }

@keyframes fade {
  0% { opacity: 0; }
  8% { opacity: 1; }
  33% { opacity: 1; }
  41% { opacity: 0; }
  100% { opacity: 0; }
}

/* Versión móvil */
@media (max-width: 768px) {
  .hero {
    padding: 60px 5%;
    height: 100vh;
  }

  .hero-content {
    flex-direction: column;
    gap: 20px;
    max-width: 100%;
    top: -5%;
  }

  .hero-images {
    width: 100%;
  }

  .img-right {
    width: 90%; /* deja margen lateral */
    height: auto;
  }

  .hero-image {
    left: 0%; /* se monta un poco más sobre la derecha */
    top: 30%; /* ajusta según se vea mejor */
    width: 160px;
    height: auto;
  }

  .hero-text {
    position: absolute;
    z-index: 3;
    text-align: right;
    top: -45%;
    left: 50%;
    transform: translateX(-40%);
    max-width: 300px;
    width: 90%;
    display: flex;
    gap: 14rem;
    flex-direction: column;
    justify-content: space-evenly;

  }

  .hero-text .bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .hero-text h1 {
    font-size: 30px;
    margin: 0;
  }

  .hero-text p {
    font-size: 14px;
    width: 50%;
    margin: 1rem 0;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
    width: 80%;
  }

  .hero-buttons a {
    width: 80%;
    text-align: center;
    padding: 6px;
    font-size: .9rem;
  }
}

/* HERO ENDS */

/* PORTAFOLIO */

.portfolio {
  padding: 80px 20%;
  text-align: center;
}

.portfolio h2 {
  font-size: 1.5rem;
  margin-bottom: 50px;
  font-family: 'BLguimllae';
}

.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.mockup-card {
  flex: 1 1 33.33%; /* 4 en PC */
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 210px;
}

.mockup-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.btn-demo {
  margin-top: 15px;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  color: #111;
  font-weight: bold;
  transition: all 0.3s;
}

/* Colores de cada botón */
.color1 { background-color: #809671; }
.color1:hover { background-color: #6b8055; }

.color2 { background-color: #D2AB80; }
.color2:hover { background-color: #b9916a; }

.color3 { background-color: #E5D2B8; }
.color3:hover { background-color: #cbb18f; }

.color4 { background-color: #B3B792; }
.color4:hover { background-color: #99a373; }

.more-demos {
  margin-top: 50px;
}

.btn-more {
  padding: 15px 30px;
  background-color: #111;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
}

.btn-more:hover {
  background-color: #333;
}

/* Móvil */
@media (max-width: 768px) {
  .portfolio {
    padding: 80px 5% 1%;
  }

  .portfolio-grid {
    overflow-x: auto;
    display: flex;
    gap: 20px;
    justify-content: center;
  }

  .mockup-card {
    flex: 0 0 40%;
  }

  .btn-demo {
    font-size: 0.8rem;
  }

}

/* PORTAFOLIO ENDS */

/* PAQUETES */

.packages {
  padding: 80px 5%;
  text-align: center;
}

.packages h2 {
  font-size: 1.5rem;
  margin-bottom: 50px;
  font-family: 'BLguimllae';
}

.packages-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.package-card {
  flex: 1 1 30%; /* 3 por fila en PC */
  padding: 30px 20px;
  border-radius: 15px;
  color: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.package-card .old {
  font-size: 1rem !important;
}

.package-card .new {
  color: red;
  font-weight: bold;
}

.package-card h3 {
  font-family: 'BLguimllae', sans-serif;
  font-size: 18px;
  margin-bottom: 10px;
}

.package-card .price {
  font-size: 22px;
}

.package-card .pricemp {
  font-size: 14px;
  margin-bottom: 15px;
}

.package-card hr {
  width: 80%;
  border: 1px solid rgba(255,255,255,0.3);
  margin: 15px 0;
}

.package-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.package-card ul li {
  margin: 8px 0;
}

.package-card a {
  margin-top: 10px;
  width: 70%;
  padding: 10px 0;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  display: inline-block;
}

.package-card .btn-demo {
  background-color: rgba(255,255,255,0.8);
  color: #111;
}

.package-card .btn-demo:hover {
  background-color: rgba(255,255,255,1);
}

.package-card .btn-contact {
  background-color: rgba(0,0,0,0.2);
  color: #fff;
}

.package-card .btn-contact:hover {
  background-color: rgba(0,0,0,0.5);
}

/* Paleta de colores de fondo */
.color1 { background-color: #809671; }
.color2 { background-color: #D2AB80; }
.color3 { background-color: #E5D2B8; }

/* Responsive */
@media (max-width: 768px) {
  .packages-grid {
    flex-direction: column;
    gap: 20px;
  }

  .package-card {
    width: 100%;
  }
}

/* Texto genérico */
.packages-text {
  margin: 40px 0;
  text-align: center;
  font-size: 18px;
  color: #333;
}

/* Contenedor principal */
.extras-section {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 8rem 5% 0;
}

/* Izquierda: título e imagen */
.extras-left {
  flex: 1;
  min-width: 300px;
}

.extras-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.extras-title .line1 {
  display: block;
  font-weight: 700; /* negrita */
  color: #111;      /* puedes cambiar color */
  font-size: 1.5rem;
  font-family: 'BLguimllae';
}
.extras-title .line2 {
  display: block;
  font-weight: 400; /* menos pesada */
  color: #555;      /* gris más suave */
  font-size: 1.5rem; /* tamaño ligeramente más pequeño */
}

.extras-main-img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* Derecha: lista de extras en dos columnas */
.extras-right {
  flex: 1;
  min-width: 300px;
  padding: 2rem 0;
}

.extras-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.extra-item {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.extra-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.extra-item .icono {
  /* Convertimos el SVG a un tono gris oscuro (#666) */
  filter: invert(36%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(40%) contrast(90%);
}

.extra-text {
  text-align: left;
}

.extra-text p {
  margin: 0;
  font-size: 0.85rem;
  color: #555;
}

/* Responsive móvil */
@media (max-width: 768px) {
  .extras-section {
    flex-direction: column;
  }
  .extras-left, .extras-right {
    width: 90%;
    margin: 0 auto;
  }
  .extra-logo {
    width: 25px;
    height: 25px;
    object-fit: contain;
  }
}

/* PAQUETES ENDS */

/* Q&A */

.qa-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
}

.qa-title {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-family: 'BLguimllae';
}

.qa-container {
  border-top: 1px solid #ddd;
}

.qa-item {
  border-bottom: 1px solid #ddd;
  transition: transform 0.2s ease;
}

.qa-item:hover {
  /* transform: scale(1.05);*/
  cursor: pointer;
}

.qa-question {
  font-size: 1.2rem;
  padding: 1rem;
  font-weight: bold;
}

.qa-answer {
  display: none;
  padding: 0 1rem 1rem 1rem;
  color: #555;
}

.qa-item.active .qa-answer {
  display: block;
}

/* Q&A ENDS */

/* COMPAARE PACKAGES */

.compare-packages {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 1rem;
}

.old {
  text-decoration: line-through;
  /* puedes ajustar color/grosor si quieres: */
  text-decoration-color: #666;
  text-decoration-thickness: 1px;
}

.promo .new {
  color: red;
  font-weight: bold;
}

.terms {
  font-size: 0.8rem;
  line-height: 1.2;
  margin-top: 30px;
}

.compare-packages h2 {
  font-size: 1.5rem;
  margin-bottom: 50px;
  text-align: center;
  font-family: 'BLguimllae';
}

.extras-left h2 {
  font-size: 36px;
  margin-bottom: -50px;
  text-align: center;
  z-index: 2;
  position: relative;
}

.compare-packages .section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.compare-table {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  border-collapse: collapse;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* Encabezados */
.compare-header {
  font-size: 18px;
  padding: 0.8rem;
  font-weight: bold;
  color: #fff;
}

/* Celdas */
.compare-feature,
.compare-check {
  padding: 12px;
  font-size: 15px;
  border-bottom: 1px solid rgba(0,0,0,0.1); /* líneas horizontales */
  border-right: 1px solid rgba(0,0,0,0.1);   /* líneas verticales por defecto */
}

/* Quitar la última línea horizontal */
.compare-table > :nth-last-child(-n+4) {
  border-bottom: none;
}

/* Primera columna: sin borde izquierdo, pero sí con borde derecho */
.compare-table > div:nth-child(4n+1) {
  border-left: none;
}

/* Quitar borde en la última columna */
.compare-table > div:nth-child(4n) {
  border-right: none;
}

.feature-title {
  background: #f5f5f5;
  font-weight: bold;
}

/* Primera columna (características) */
.compare-header.feature-title {
  background: #809671; /* neutro para la columna izquierda */
}

/* Paquete 1 */
.compare-header.package-1 {
  background: #D2AB80; /* morado pastel */
}

/* Paquete 2 */
.compare-header.package-2 {
  background: #cbb18f; /* rosa suave */
}

/* Paquete 3 */
.compare-header.package-3 {
  background: #B3B792; /* azul clarito */
}

.compare-feature {
  text-align: left;
  background: #fafafa;
  font-weight: 500;
  white-space: normal;   /* permite varias líneas */
  word-wrap: break-word; /* corta palabras largas */
  line-height: 1.3;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.compare-check {
  font-size: 1rem;
  color: #666;
  font-weight: normal;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.compare-check span {
  font-size: 0.6rem;
}

.compare-table .btn-demo {
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  color: #111;
  font-weight: bold;
  transition: all 0.3s;
}

/* Responsivo: tabla compacta en móvil */
@media (max-width: 768px) {
  .compare-table {
    grid-template-columns: 1fr 1fr 1fr 1fr; /* más compacta */
    font-size: 0.85rem; /* texto más pequeño */
  }

  .compare-feature {
    font-size: 0.8rem;
    padding: 0.5rem 0.2rem;
  }

  .compare-header {
    font-size: 0.9rem;
    padding: 0.6rem;
  }

  .compare-check {
    font-size: 0.8rem;
    padding: 0.5rem;
  }

  .extras-left h2 {
    margin-bottom: -10px;
  }
}

/* COMPARE PACKAGES ENDS */

/* WORK PROCESS */

.work-process {
  position: relative;
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.work-process h2 {
  font-size: 1.5rem;
  margin-bottom: 50px;
  font-family: 'BLguimllae';
}

:root{
  --marker-col: 40px;   /* ancho de la columna de marcadores */
  --marker-size: 20px;  /* diámetro del punto */
  --line-width: 3px;    /* ancho de la línea vertical */
  --accent: #D2AB80;    /* color activo */
  --line-gray: rgba(0,0,0,0.08);
}

.process-container {
  position: relative;
  max-width: 768px;
  margin: 0 auto;
  /* NO pongas padding-left aquí: la columna de marcadores es la primera columna de cada step */
}

/* Línea gris (completa) — se centra en la mitad de la columna de marcadores */
.process-container::before{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--marker-col) / 2 - var(--line-width) / 2); /* centro de la columna */
  width: var(--line-width);
  background: var(--line-gray);
  z-index: 1;
  border-radius: 2px;
}

/* Línea de progreso coloreada (altura controlada por JS) */
.process-container::after{
  content: "";
  position: absolute;
  left: calc(var(--marker-col) / 2 - var(--line-width) / 2);
  top: 0;
  width: var(--line-width);
  height: var(--progress, 0px); /* JS actualiza --progress */
  background: var(--accent);
  z-index: 1;
  border-radius: 2px;
  transition: height 300ms ease-out;
}

/* Cada paso es un grid con la primera columna para el marcador */
.process-step{
  display: grid;
  grid-template-columns: var(--marker-col) 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 450ms ease, transform 450ms ease;
}

/* activo */
.process-step.active{
  opacity: 1;
  transform: translateY(0);
}

/* marcador (el punto) */
.process-marker{
  width: var(--marker-size);
  height: var(--marker-size);
  border-radius: 50%;
  background: #ccc;
  margin: 0 auto;        /* lo centra en la columna */
  z-index: 3;            /* por encima de la línea */
  transition: background-color 220ms ease, transform 220ms ease;
}

/* marcador activo */
.process-step.active .process-marker{
  background: var(--accent);
  transform: scale(1.05);
}

/* contenido (aparece con animación al activarse) */
.process-content{
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 400ms ease, transform 400ms ease;
}
.process-step.active .process-content{
  opacity: 1;
  transform: translateX(0);
}

/* Tipos */
.process-content h3 { 
  margin: 0 0 0.5rem; 
}

.process-content p { 
  margin: 0; 
  color: #555; 
  line-height: 1.5; 
}

.process-content li { 
  margin: 0; 
  color: #555; 
  line-height: 1.5; 
}



/* WORK PROCESS ENDS */

/* ABOUT */

/* Sección About */
.about-section {
  padding: 8rem 5% 3rem; 
  background: #fff;
  color: #333;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* Contenedor principal con dos columnas */
.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Texto */
.about-text {
  flex: 1 1 500px;
}

.about-text h1 {
  font-size: 2.5rem;
  color: #222;
  font-family: 'BLguimllae';
  text-transform: uppercase;
}

.about-text h2 {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  color: #333;
  font-weight: normal;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Beneficios */
.about-benefits {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.about-benefits li {
  font-size: 1rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #444;
}

/* CTA */
.about-cta {
  display: flex;
  gap: 15px;
}

.btn-primary,
.btn-secondary {
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.about-cta a {
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-family: 'EB Garamond', sans-serif;
  transition: all 0.3s;
}

.btn-primary {
  background-color: #809671;
  color: #fff;
}

.btn-primary:hover {
  background-color: #D2AB80;
}

.btn-secondary {
  background-color: #E5D2B8;
  color: #111;
}

.btn-secondary:hover {
  background-color: #B3B792;
}

/* Video / Imagen */
.about-media {
  flex: 1 1 400px;
}

.about-media video {
  width: 100%;
}

/* Responsive */
@media (max-width: 900px) {
  .about-section {
    padding: 0 5% 3rem; 
    background: #fff;
    color: #333;
    font-family: 'Helvetica Neue', Arial, sans-serif;
  }

  .about-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .about-text h1 {
    font-size: 1.5rem;
  }

  .about-text h2 {
    font-size: 1.4rem;
  }

  .about-benefits li {
    justify-content: center;
  }

  .about-cta {
    justify-content: center;
  }
}

/* ABOUT ENDS */

/* FOOTER */

/* Footer general */
.site-footer {
  padding: 20px;
  color: #111;
}

/* Contenedor interno */
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo */
.footer-logo img {
  height: 40px;
  width: auto;
}

/* Aviso de privacidad */
.footer-privacy a {
  color: #666;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-privacy a:hover {
  color: #111;
}

.footer-socials {
  display: flex;
  gap: 15px;
  align-items: center;
}

.footer-socials .icono {
  /* Convertimos el SVG a un tono gris oscuro (#666) */
  filter: invert(36%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(40%) contrast(90%);
}

.footer-socials a {
  display: flex;
  align-items: center;
}

.footer-socials a img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.footer-socials a:hover img {
  transform: scale(1.1);
}


/* Responsive para móviles */
@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }

  .footer-logo img {
    height: 30px;
  }

  .footer-socials {
    gap: 5px;
  }

  .footer-socials a img {
    width: 18px;
    height: 18px;
  }

  .footer-privacy a {
    font-size: 0.85rem;
  }
}

/* FOOTER ENDS */