@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
    --primary: #021E73;
    --secondary: #304F8C;
    --accent: #62ABD9;
    --light: #f4faff;
}

p, li {
    text-align: justify;
    hyphens: auto;
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light);
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

.container ul {
  padding-left: 20px;
  list-style-position: outside;
}



h1, h2, h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* HEADER COMPACTO */
.main-header {
    /* background: linear-gradient(135deg, #021E73, #304F8C); */
    background: linear-gradient(135deg, #053140, #215466);
    color: white;
    padding: 12px 30px;
}

.header-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 0 20px;
}

.header-container p{
    text-align: center;
}

.event-title {
    font-size: 28px;
    margin-bottom: 2px;
    color: white;
}

.event-subtitle {
    font-size: 14px;
    margin-bottom: 2px;
}

.event-location {
    font-size: 13px;
}

/* CONTADOR */
#countdown {
    display: flex;
    gap: 10px;
}

.time-box {
    background: white;
    color: #021E73;
    padding: 6px 10px;
    border-radius: 6px;
    text-align: center;
    min-width: 50px;
}

.time-box span {
    font-size: 18px;
    font-weight: 700;
}

.time-box p {
    font-size: 11px;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 14px 26px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin: 5px;
    background: var(--accent);
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.grande {
    font-size: 20px;              /* texto más grande */
    padding: 18px 36px;           /* más espacio interno */
    border-radius: 40px;          /* más redondeado */
    box-shadow: 0 6px 18px rgba(0,0,0,0.25); /* sombra más fuerte */
}

.btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}


.primary {
    background: var(--accent);
    color: white;
}

.secondary {
    background: white;
    color: var(--primary);
}

/* NAVBAR */
.navbar {
    background-color: #215466;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}


/* HERO */
.hero {
    padding: 0;
    margin: 0;
    line-height: 0;
}

.hero img {
    width: 100%;
    display: block;
}

.organizers {
    background: white;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    align-items: center;
}

.logos-grid img {
    max-width: 120px;
    margin: auto;
}



/* FOOTER */

.main-footer{
    background:#021E73;
    color:white;
    margin-top:60px;
}

.footer-container{
    max-width:1100px;
    margin:auto;
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap:40px;
    padding:50px 20px;
}

.footer-column h3{
    text-align: left;
    margin-bottom:15px;
    font-size:18px;
    color:white;
}

.footer-column p{
    text-align: left;
    margin:8px 0;
    opacity:.9;
    font-size:14px;
}

.footer-column i{
    margin-right:8px;
    color:var(--accent);
}

.footer-column a{
    display:block;
    color:white;
    text-decoration:none;
    margin:6px 0;
    opacity:.9;
    font-size:14px;
    transition:.2s;
}

.footer-column a:hover{
    opacity:1;
    transform:translateX(3px);
}

.footer-bottom p{
    text-align: center;
}

/* SOCIAL */

.social-icons{
    display:flex;
    gap:15px;
    margin-top:10px;
}

.social-icons a{
    width:38px;
    height:38px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,0.15);
    transition:.3s;
}

.social-icons a:hover{
    background:var(--accent);
    transform:translateY(-2px);
}

.social-icons i{
    color:white;
    font-size:16px;
}

/* FOOTER BOTTOM */

.footer-bottom{
    text-align:center;
    padding:18px;
    background:#01144f;
    font-size:14px;
    opacity:.9;
}


/* SECCIONES */
.section-light {
    background: #f4faff;
    padding: 20px 0;
}

.section-white {
    background: white;
    padding: 20px 0;
}

.section-title {
    font-size: 26px;
    margin-bottom: 10px;
    color: var(--primary);
}

.section-intro {
    margin-bottom: 30px;
}

/* TARJETAS PARA TABLAS */
.table-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* TABLA ESTILIZADA */
.styled-table {
    width: 100%;
    border-collapse: collapse;
}

.styled-table th {
    background: var(--primary);
    color: white;
    padding: 14px;
    text-align: left;
}

.styled-table td {
    padding: 14px;
    border-bottom: 1px solid #eee;
}

.styled-table tr:hover {
    background: #f6f9ff;
}

/* UBICACIÓN */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.location-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.location-card p {
    margin-bottom: 12px;
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border: 0;
    border-radius: 10px;
}

/* RESPONSIVE */
@media (max-width:768px) {
    .location-grid {
        grid-template-columns: 1fr;
    }
}

/* CONFERENCISTAS */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.speaker-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.speaker-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}
/* GRID LUGARES */
.places-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 25px;
    margin-bottom: 25px;
}

.place-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    position: relative;
}

.place-card:hover {
    transform: translateY(-6px);
}

.place-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.place-card h3 {
    padding: 15px 15px 5px;
}

.place-card p {
    padding: 0 15px 10px;
    font-size: 14px;
}

.btn.small {
    margin: 10px 15px 15px;
    padding: 8px 16px;
    font-size: 14px;
}

.tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 20px;
    color: white;
}

.naturaleza { background: #BFBA6F; }
.cultura { background: #C06E83; }
.gastronomia { background: #3D7F95; }

/*Ver más*/
.texto-recortado {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.texto-recortado.expandido {
    -webkit-line-clamp: unset;
}

.btn-inline {
    color: var(--secondary);
    cursor: pointer;
    font-weight: 550;
    display: inline;
}





@media (max-width: 768px) {

    .event-subtitle,.event-location {
        display: none;
    }

    .header-container {
        flex-direction: column;   /* 🔥 clave */
        align-items: flex-start;  /* alinea a la izquierda */
        gap: 20px;
    }

    .header-right {
        width: 100%;
    }

    #countdown {
        justify-content: space-between; /* distribuye mejor */
        width: 100%;
        flex-wrap: wrap; /* por si no cabe */
    }

    .time-box {
        flex: 1;
        min-width: 60px;
    }

    .event-title {
        font-size: 22px;
    }

    .event-subtitle {
        font-size: 13px;
    }

    .event-location {
        font-size: 12px;
    }
}

@media (max-width: 600px) {

    .places-grid {
        grid-template-columns: 1fr; /* 🔥 1 columna */
        gap: 20px;
    }

    .place-card {
        border-radius: 14px;
    }

    .place-card img {
        height: 200px; /* 🔥 imagen más grande */
    }

    .place-card h3 {
        font-size: 18px;
        padding: 12px 15px 5px;
    }

    .place-card p {
        font-size: 15px;
        padding: 0 15px 12px;
    }

    .btn.small {
        display: block;           /* 🔥 botón ancho completo */
        width: calc(100% - 30px);
        text-align: center;
        margin: 10px 15px 15px;
        padding: 10px;
        font-size: 15px;
    }

    .tag {
        font-size: 11px;
        padding: 4px 8px;
    }

    .section-title {
        font-size: 22px;
    }

    .section-intro {
        font-size: 15px;
    }
}
