:root {
    --primary: #005b8e;
    --secondary: #e07b39;
    --accent: #fcd469;
    --bg-light: #f8f9fb;
    --text-main: #2c3e50;
    --white: #ffffff;
    --glass-navbar: rgba(0, 55, 90, 0.96);
    --shadow-elegant: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', 'Segoe UI', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background: var(--glass-navbar);
    color: var(--white);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav h1 {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent);
}

nav ul li a:hover::after {
    width: 100%;
}

main {
    padding-top: 100px;
    max-width: 1100px;
    margin: 0 auto;
    padding-bottom: 5rem;
    flex: 1;
}

.portada-caja {
    position: relative;
    height: 500px;
    margin: 2rem 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-elegant);
}

.portada-caja img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portada-texto {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem;
    border-radius: 16px;
    max-width: 500px;
    border-left: 6px solid var(--secondary);
}

.portada-texto h2 {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.contenido-rejilla {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.tarjeta-destacada {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-elegant);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #eee;
}

.tarjeta-destacada:hover {
    transform: translateY(-12px);
    border-color: var(--accent);
}

.tarjeta-destacada p::first-line {
    font-weight: 700;
    color: var(--primary);
}

h3 {
    margin-bottom: 1rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

h3::before {
    content: "•";
    color: var(--secondary);
}

footer {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 6rem;
    border-top: 4px solid var(--secondary);
}

.footer-content {
    opacity: 0.8;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .portada-texto {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
}

.ruta-rejilla {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 2rem;
}

.lugar-tarjeta {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-elegant);
    transition: transform 0.4s ease;
}

.lugar-tarjeta:hover {
    transform: translateY(-8px);
}

.lugar-tarjeta img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.lugar-info {
    padding: 1.5rem;
}

.lugar-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.lugar-info p {
    color: #555;
    font-size: 0.95rem;
}

.lugar-info p::first-line {
    font-weight: 700;
    color: var(--primary);
}

.paso {
    display: inline-block;
    background: var(--secondary);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.seccion-titulo {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.seccion-subtitulo {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.gastro-banner {
    position: relative;
    height: 320px;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-elegant);
}

.gastro-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gastro-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 55, 90, 0.88) 40%, transparent);
    display: flex;
    align-items: center;
    padding: 3rem;
}

.gastro-overlay h2 {
    color: white;
    font-size: 3rem;
    text-align: left;
}

.platos-rejilla {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.plato-tarjeta {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-elegant);
    border-top: 5px solid var(--secondary);
    transition: transform 0.3s;
}

.plato-tarjeta:hover {
    transform: translateY(-6px);
}

.plato-tarjeta h3 {
    font-size: 1.1rem;
}

.plato-tarjeta p {
    font-size: 0.9rem;
    color: #555;
    margin-top: 0.5rem;
}

.plato-tarjeta p::first-letter {
    font-size: 1.8rem;
    color: var(--secondary);
    font-weight: bold;
    float: left;
    margin-right: 5px;
    line-height: 1;
}

.titulo-seccion {
    color: var(--primary);
    margin-bottom: 2rem;
}