body{
background-color:#fefbf7;
font-family:'chetta vissto', sans-serif;
}

h2{
color:#985900;
font-family:'playfair display', serif;
}

p{
color:#493d2d;
font-family: montserrat;
font-size: 1.4em;
}

h6{
    font-size: 1.2em;
    color: #64543e;
}

small{
    font-size: 1em;
    color: rgb(95, 76, 51);
}

.section-pill {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  background-color: #985900;
  color: white;
  font-size: 1.4em;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-pill-inverted {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  color: #ffffff;
  font-size: 1.4em;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: solid #ffffff 0.1em;
}

/* NAV LINKS */
.navbar-nav .nav-link {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
  color: rgb(95, 76, 51); /* porque tu navbar es bg-white */
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 1.4em;
}

/* Línea animada */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: rgb(152, 89, 0); /* tono madera */

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

/* Hover */
.navbar-nav .nav-link:hover::after {
  transform: scaleX(1);
}

.whatsapp{
position:fixed;
bottom:20px;
right:20px;
width:80px;
z-index:999;
}

.whatsapp img{
width:100%;
}

#inicio a{
    border: solid #64543e 0.1em;
    background-color: #fff;
    text-decoration: none;
    color:rgb(95, 76, 51);
    font-size: 1.2em;
}

#inicio a:hover{
    text-decoration: underline rgb(152, 89, 0);
}

/* Timeline Nuestra Historia */

.timeline {
  border-left: 2px solid #64543e;
  padding-left: 25px;
}

.timeline-item {
  position: relative;
  display: flex;
  gap: 15px;
}

.timeline-item i {
  position: absolute;
  left: -38px;
  top: 3px;
  color: #64543e;
  background: #f5f2ed;
  border-radius: 50%;
}

/* ===== TIMELINE HORIZONTAL ===== */

.timeline-wrapper {
  position: relative;
  padding: 80px 0;
}

.timeline-horizontal {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

/* Línea base gris */
.progress-line {
  position: absolute;
  top: 27.5px;
  left: 0;
  width: 0; /* empieza invisible */
  height: 2px;
  background: #e0ddd8;
  transition: all 1.8s ease;
  z-index: 1;
}

/* Línea animada marrón */
.progress-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: #64543e;
  transition: width 2s ease;
}

.progress-line.animate-horizontal {
  width: 100%;
}

.progress-line.animate-vertical {
  height: 100%;
}

/* Activación */
.timeline-horizontal.active .progress-line::after {
  width: 100%;
}

/* Steps */
.timeline-step {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.timeline-step.active {
  opacity: 1;
  transform: translateY(0);
}

/* Animación progresiva */
.timeline-horizontal.active .timeline-step:nth-child(1) { transition-delay: 0.2s; }
.timeline-horizontal.active .timeline-step:nth-child(2) { transition-delay: 0.4s; }
.timeline-horizontal.active .timeline-step:nth-child(3) { transition-delay: 0.6s; }
.timeline-horizontal.active .timeline-step:nth-child(4) { transition-delay: 0.8s; }

.timeline-horizontal.active .timeline-step {
  opacity: 1;
  transform: translateY(0);
}

/* Círculos */
.circle {
  width: 70px;
  height: 70px;
  background: white;
  border: 2px solid #64543e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 18px;
  color: #985900;
  position: relative;
  z-index: 2; /* importante */
  transition: all 0.4s ease;
}

.timeline-horizontal.active .circle {
  background: #64543e;
  color: white;
}

/* Responsive */
@media (max-width: 768px) {

  .timeline-horizontal {
    flex-direction: column;
    align-items: center;
    position: relative;
  }

  .progress-line {
    width: 2px;          /* ahora es vertical */
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }

   .timeline-step {
    margin-bottom: 30px;
    text-align: center;
  }

}


/* CONTENEDOR */
.product-hover {
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 0.5em;
}

/* IMAGEN */
.product-hover img {
  display: block;
  transition: transform 0.5s ease;
}

.product-hover:hover img {
  transform: scale(1.07);
}

/* OVERLAY BASE (SIEMPRE VISIBLE PARA EL TÍTULO) */
.product-hover .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  padding: 1.5rem;
  color: #fff;

  background: linear-gradient(
    to top,
    rgba(95, 76, 51, 0.85) 15%,
    rgba(100, 84, 62, 0.5) 30%,
    rgba(100, 84, 62, 0) 60%
  );

  z-index: 2;
}

/* DESCRIPCIÓN ESCONDIDA */
.product-hover .overlay p {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  color: #fff;
}

/* HOVER → APARECE DESCRIPCIÓN */
.product-hover:hover .overlay p {
  max-height: 300px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 0.5rem;
}

/* TÍTULO */
.product-hover .overlay h3 {
  font-size: 1.4rem;
  margin: 0;
  color: #fff;
  text-align: center;
}

.product-hover:hover .overlay h3 {
  max-height: 300px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 0.5rem;
  text-decoration: underline;
  text-align: left;
}

.accordion-button{
    color:rgb(95, 76, 51);
    font-size: 0.7em;
}

.accordion-item{
    color:rgb(152, 89, 0);
    font-size: 1.2em;
    font-family: serif;
}

#contacto{
    background-color: rgb(95, 76, 51);
    width: 100%;
}

#contacto iframe{
    border-radius: 0.5em;
}

#contacto .contact-item {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}

#contacto .contact-item i {
  font-size: 1.1rem;
  color: #c9a14a; /* podés usar tu color de marca */
}

footer{
    background-color: #493d2d;
}