/*
Theme Name: Hello Elementor (Child)
Author: 
Description: Your description goes here
Version: 1.0
Template: hello-elementor

This is the child theme for Hello Elementor theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

/***** LOGOTIPO *****/
#logotipo a img{
  height:40px;
}

@media(max-width:767px){
#logotipo a img{
  width:100px;
}
}
/**** FIN LOGOTIPO *****/

/***** CRONOLOGÍA PROGRAMA *****/
.dfa-programa {
    --dfa-green:  #C9A54A;
    --dfa-orange-btn:   #A85A15;
    --dfa-orange-badge: #DC9535;
    --dfa-btn-bg:       #CA7C5E;
    --dfa-btn-bg-hover: #F4F1EC;
    --dfa-white:        #ffffff;
    --dfa-white-75:     rgba(255,255,255,0.75);
    --dfa-white-60:     rgba(255,255,255,0.60);
    --dfa-white-45:     rgba(255,255,255,0.45);
    --dfa-white-15:     rgba(255,255,255,0.15);
    --dfa-white-08:     rgba(255,255,255,0.08);
    --dfa-separator:    rgba(255,255,255,0.10);
    --dfa-radius:       6px;
    --dfa-font-head:    'Futura', sans-serif;
    --dfa-font-body:    'Mulish', sans-serif;
    background-color: var(--dfa-green);
    padding: 2rem 0;
    box-sizing: border-box;
  }
  .dfa-programa__inner {
    width: 100%;
    margin-inline: auto;
    box-sizing: border-box;
  }
  .dfa-programa__header { margin-bottom: 2rem; }
  .dfa-programa__eyebrow {
    display: block;
    width: 3rem;
    height: 3px;
    background: var(--dfa-orange-badge);
    border-radius: 2px;
    margin-bottom: 1.25rem;
  }
  .dfa-programa__h2 {
    font-family: var(--dfa-font-head);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: var(--dfa-white);
    letter-spacing: -0.01em;
    line-height: 1.1;
    margin: 0 0 0.6rem;
  }
  .dfa-programa__h3 {
    font-family: var(--dfa-font-head);
    font-size: clamp(0.95rem, 1.8vw, 1.2rem);
    font-weight: 600;
    color: var(--dfa-white-75);
    margin: 0;
    line-height: 1.4;
  }
  .dfa-timeline { display: flex; flex-direction: column; }
  
  /* --- Fila: 3 columnas en desktop (&gt;1200px) --- */
  .dfa-timeline__row {
    display: grid;
    grid-template-columns: 5.5rem 1.5rem 1fr;
    column-gap: 1.25rem;
    align-items: stretch;
  }
  .dfa-timeline__time {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-top: 1.4rem;
    padding-bottom: 1.5rem;
  }
  .dfa-timeline__hour {
    font-family: var(--dfa-font-head);
    font-size: 1rem;
    font-weight: 800;
    color: var(--dfa-white);
    line-height: 1;
    white-space: nowrap;
  }
  .dfa-timeline__hour-end {
    font-family: var(--dfa-font-body);
    font-size: 0.7rem;
    color: var(--dfa-white-45);
    margin-top: 0.2rem;
    white-space: nowrap;
  }
  .dfa-timeline__track {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1.6rem;
  }
  .dfa-timeline__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--dfa-white-60);
    border: 2px solid var(--dfa-white-15);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
  }
  .dfa-timeline__dot--reserva {
    background: #fff;
  }
  .dfa-timeline__line {
    flex: 1;
    width: 1px;
    background: var(--dfa-white-15);
    margin-top: 0.25rem;
  }
  .dfa-timeline__content {
    min-width: 0; /* clave: permite que el contenido (y la insignia) se encoja en vez de desbordar */
    padding-top: 1.25rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--dfa-separator);
  }
  .dfa-timeline__row--last .dfa-timeline__content { border-bottom: none; }
  .dfa-timeline__title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
  }
  .dfa-timeline__title {
    font-family: var(--dfa-font-head);
    font-size: clamp(0.9rem, 1.4vw, 1.05rem);
    font-weight: 700;
    color: var(--dfa-white);
    line-height: 1.3;
  }
  
  .dfa-timeline__desc {
    font-family: var(--dfa-font-body);
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
    color: var(--dfa-white-75);
    line-height: 1.65;
    margin: 0 0 0.75rem;
  }
  
  .dfa-badge {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 4px;
    font-family: var(--dfa-font-body);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    flex-shrink: 0;
    line-height: 1.6;
	background: #ffffff26;
  }
  
  .dfa-badge--reserva { background: var(--dfa-orange-btn); color: var(--dfa-white); }
  .dfa-badge--libre   { background: var(--dfa-white-15);   color: var(--dfa-white); }
  
  /* Botón "Reservar plaza": fondo/color/fuente pedidos, con hover invertido */
  .dfa-btn-reserva {
    display: inline-block;
    background: var(--dfa-btn-bg);
    color: var(--dfa-white);
    font-family: var(--dfa-font-head);
    font-style: normal;
    text-transform: none;
    font-size: 0.825rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-decoration: none;
    border-radius: var(--dfa-radius);
    padding: 0.5rem 1.1rem;
    transition: background-color 0.15s ease, color 0.15s ease;
  }
  
  .dfa-btn-reserva:hover {
    background: var(--dfa-btn-bg-hover);
    color: var(--dfa-btn-bg);
  }
  
  .dfa-programa__footer {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--dfa-white-15);
  }
  .dfa-btn-pdf {
    display: inline-block;
    background: var(--dfa-white-08);
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--dfa-white);
    font-family: var(--dfa-font-head);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    border-radius: var(--dfa-radius);
    padding: 0.75rem 1.5rem;
    transition: background 0.15s;
  }
	
	.dfa-btn-pdf:hover { background: rgba(255,255,255,0.16); }
	
	.dfa-milestone {
		display: inline-flex;
		align-items: center;
		gap: 0.7rem;
		background: #00000017;
		border-radius: 14px;
		padding: 0.9rem 1.6rem;
		margin: 0 0 1.75rem;
	}
	
	.dfa-milestone__dot {
		width: 8px;
		height: 8px;
		border-radius: 50%;
		background: white;
		box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.65);
		flex-shrink: 0;
	}
	
	.dfa-milestone__time {
		font-weight: 800;
		font-size: 1.05rem;
		color: var(--dfa-white);
		white-space: nowrap;
	}
	
	
	.dfa-card__time-row {
		display: flex;
		align-items: center;
		gap: 0.55rem;
		margin-bottom: 0.9rem;
	}
	
	.dfa-card__dot{
		width: 8px;
		height: 8px;
		border-radius: 50%;
		background: #ffffff;
		box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.65);
		flex-shrink: 0;
		display: inline-block;
	}
	
	.dfa-card__time {
		font-weight: 800;
		font-size: 1.2rem;
		color: white;
	}
	
  /* --- Por debajo de 1200px: se elimina el padding lateral del contenedor
     y la hora deja de ser una columna aparte (eso es lo que se comía el
     ancho y desbordaba la insignia). Pasa a ir en línea, encima del título,
     dentro de la misma columna de contenido. El "rail" (punto + línea)
     ahora ocupa las dos filas para seguir uniendo los puntos visualmente. --- */
  @media (max-width: 1200px) {
    .dfa-programa__inner { padding-inline: 0; }
  
    .dfa-timeline__row {
      grid-template-columns: 1.25rem 1fr;
      column-gap: 0.875rem;
    }
    .dfa-timeline__time {
      grid-column: 2;
      grid-row: 1;
      flex-direction: row;
      align-items: baseline;
      gap: 0.5rem;
      padding-top: 1.25rem;
      padding-bottom: 0.25rem;
    }
    .dfa-timeline__track {
      grid-column: 1;
      grid-row: 1 / 3;
    }
    .dfa-timeline__content {
      grid-column: 2;
      grid-row: 2;
      padding-top: 0;
    }
  }
  
  @media (max-width: 767px) {
    .dfa-timeline__row { column-gap: 0.625rem; }
    .dfa-timeline__hour { font-size: 0.875rem; }
    .dfa-programa{
        padding:0;
    }
  }
  @media (max-width: 480px) {
    .dfa-timeline__row { grid-template-columns: 1rem 1fr; column-gap: 0.5rem; }
    .dfa-timeline__hour { font-size: 0.8rem; }
    .dfa-timeline__hour-end { font-size: 0.65rem; }
  }
  
  /***** FIN CRONOLOGÍA ****/

