:root {
  /* Paleta oficial */
  --color-primary: #00a3e0;        /* Azul Cerúleo / Lago de Ilopango */
  --color-primary-dark: #007fb0;
  --color-primary-light: #4dbbe9;
  --color-secondary: #0d2240;      /* Azul Marino Real — textos y contraste */
  --color-secondary-dark: #081729;
  --color-green: #2e5b38;          /* Verde Bosque / Palma */
  --color-green-dark: #1f4027;
  --color-accent: #8b5a2b;         /* Madera / Café Tostado */
  --color-accent-dark: #6d4520;
  --color-cream: #ffffff;          /* Blanco puro */
  --color-cream-dark: #f8f9fa;     /* Marfil */
  --color-dark: #0d2240;           /* Texto principal = azul marino */
  --color-muted: #5a6b7a;
  --color-white: #ffffff;
  --color-line: rgba(13, 34, 64, 0.12);


    /* Escala tipográfica */
  --fs-300: 0.875rem;
  --fs-400: 1rem;
  --fs-500: 1.125rem;
  --fs-600: 1.375rem;
  --fs-700: 1.75rem;
  --fs-800: 2.25rem;
  --fs-900: 3.25rem;

  /* Espaciado */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3.5rem;
  --space-2xl: 6rem;
}

/*Section del header*/

.section.head{
    background: linear-gradient(to right, var(--color-dark),var(--color-primary));
}

.site-header__logo{
    display: flex;
    align-items: center;
    justify-content: center;
}
.site-header__logo-image{
    display: block;
    width: 90px;
    height: auto;
    margin: 0 auto;
}
.section.head section{
    display: inline-block;
    align-items: center;
    justify-content: center;
}
.section.section.head .container{
    text-align: center;
    max-width: 50%;
}
.section.head p.section__eyebrow{
    color: var(--color-white);
    font-size: var(--fs-300);
}

.section.head p{
    color: var(--color-cream);
}

.section.head h1{
    color: var(--color-cream);
    font-size: var(--fs-900);
}

/*Section del main*/

main .section{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: flex-start;
    margin-top: var(--space-lg);
    padding: var(--space-lg);
    gap: var(--space-lg);
}

.informacion h3.section__subtitle{
    color: var(--color-primary-dark);
    margin-bottom: var(--space-md);
}

/*Targetas de las secciones*/
.target{
    box-sizing: border-box;
    border: 1.5px solid var(--color-line);
    border-radius: var(--radius-md);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    background-color: var(--color-white);
    flex-shrink: 4;
    flex: 1 1 320px;
}


.target .informacion{
    display: inline-block;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    margin-bottom: var(--space-md);
}

.informacion h3.section__subtitle{
    font-size: var(--fs-600);
    color: var(--color-primary);
}

p.section__eyebrow{
    color: var(--color-muted);
    margin-bottom: 0;
}

.container-point{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: var(--space-md);
}

.emoji-section{
    font-size: 1.2rem;
    border-radius: 25%;
    background-color: var(--color-dark);
}

.horario.container{
    margin-bottom: var(--space-md);
    padding: 10px;
    border-radius: var(--radius-md);

}


.horario.container h3.section__subtitle{
    color: var(--color-primary);
}

.schedule-table{
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
}

.schedule-table td{
    padding: 16px 8px;
    vertical-align: top;
}

.schedule-table tr:last-child td{
    border-bottom: none;
}

.schedule-table__day{
    color: var(--color-muted);
    text-align: left;
}

.container.redes{
    padding: 10px;
}

.container.redes h3.section__subtitle{
    color: var(--color-dark);
    margin-bottom: var(--space-md);
}

.container.redes a.btn{
    display: inline-block;
    text-decoration: none;
    padding: 10px 20px;
    background-color: var(--color-dark);
    color: var(--color-white);
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.schedule-table__time{
    color: var(--color-muted);
    text-align: left;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}


.target.form{
    max-width: 500px;
    flex: 1 1 360px;
}
.target.form h3{
    color: var(--color-primary);
    margin-bottom: var(--space-md);
    font-size: var(--fs-600);
}

.target.form p{
    color: var(--color-muted);
    font-size: var(--fs-300);
}
.formulario-contacto{
    max-width: 100%;
    width: 100%;
    margin-top: 20px;
}

.fila-doble{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.fila-doble .campo{
    flex: 1 1 200px;
}

.campo{
    margin-bottom: 20px;
}

.campo label{
    display: block;
    font-size: var(--fs-300);
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--color-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.campo input,
.campo select,
.campo textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  font-size: 14px;
  color: #333;
  font-family: inherit;
  box-sizing: border-box;
  background-color: #fff;
}

.campo input::placeholder,
.campo textarea::placeholder {
  color: #bbb;
}

.campo input:focus,
.campo select:focus,
.campo textarea:focus {
  outline: none;
  border-color: #3b82f6;
}

.campo select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23999' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.campo textarea {
  resize: vertical;
}

.btn-enviar {
  background-color: var(--color-dark);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  margin-bottom: 20px;
}

.btn-enviar:hover {
  background-color:var(--color-primary);
}

.maps iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: var(--radius-md);
}

.maps{
    margin-top: var(--space-xs);
}

/* ========== Tablet (hasta 1024px) ========== */
@media (max-width: 1024px){
    .section.section.head .container{
        max-width: 80%;
    }

    .section.head h1{
        font-size: var(--fs-800);
    }

    main .section{
        padding: var(--space-md);
        gap: var(--space-md);
    }

    .target{
        padding: 30px;
    }
}

/* ========== Móvil grande (hasta 768px) ========== */
@media (max-width: 768px){
    .section.section.head .container{
        max-width: 95%;
    }

    .section.head h1{
        font-size: var(--fs-700);
    }

    main .section{
        flex-direction: column;
        align-items: center;
        margin-top: var(--space-md);
    }

    .target,
    .target.form{
        max-width: 100%;
        flex: 1 1 auto;
        padding: 24px;
    }

    .site-header__logo-image{
        width: 70px;
    }

    .maps iframe{
        height: 300px;
    }
}

/* ========== Móvil pequeño (hasta 480px) ========== */
@media (max-width: 480px){
    .section.head h1{
        font-size: var(--fs-600);
    }

    main .section{
        padding: var(--space-sm);
    }

    .target,
    .target.form{
        padding: 18px;
    }

    .fila-doble{
        flex-direction: column;
        gap: 0;
    }

    .fila-doble .campo{
        flex: 1 1 auto;
    }

    .schedule-table td{
        padding: 12px 4px;
        font-size: var(--fs-300);
    }

    .btn-enviar{
        width: 100%;
    }

    .maps iframe{
        height: 250px;
    }
}