﻿/* Root Variables */
:root {
    --primary-color: #2d3030;       /* Color primario (fondo general, nav, footer) */
    --secondary-color: #f8fdff;     /* Color secundario (textos, pÃ¡rrafos, descripciones) */
    --tertiary-color: #efa423;      /* Color terciario (H1, H2, H3, H4) */
    --accent-color: #f4dc7e;        /* Color alternativo (bordes de imÃ¡genes) */
    --button-color: #92ef47;        /* Color de los botones */
    --background-color: #373434;    /* Fondo general (gris claro) */
    --text-color: #f8fcfc;          /* Color de texto principal */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
}

/* Global Styles */
html {
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    background-color: #000;
    color: var(--text-color);
    font-family: var(--font-primary);
    line-height: 1.6;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    background-color: var(--background-color);
    color: #fff;
    padding: 0 1.5rem;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 999;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.55);
    background-color: #1c1d1d;
}

/* Brand: logo + nombre agrupados */
.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

header .logo img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 50%;
}

header h1 {
    font-family: var(--font-primary);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.01em;
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
}

header h1 span {
    display: block;
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
    font-family: var(--font-secondary);
}

/* Navigation */
nav {
    position: relative;
    display: flex;
    align-items: center;
}

/* Hamburger - moderno */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    background: none;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    z-index: 1001;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.hamburger:hover {
    border-color: var(--tertiary-color);
    background-color: rgba(239, 164, 35, 0.08);
}

.hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background-color: #f0f0f0;
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
                opacity 0.2s ease,
                width 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Dropdown menu (mobile) */
nav ul.menu {
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 210px;
    background-color: #222425;
    border-top: 2px solid var(--tertiary-color);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
    z-index: 998;
    /* AnimaciÃ³n de entrada */
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: visibility 0.2s, opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

nav ul.menu.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

nav ul.menu li {
    display: block;
    margin: 0;
}

nav ul.menu li a {
    display: block;
    text-decoration: none;
    color: #ffffff;
    font-family: var(--font-secondary);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.75rem 1.5rem;
    text-align: left;
    border-left: 3px solid transparent;
    transition: color 0.25s ease, background-color 0.25s ease,
                padding-left 0.25s ease, border-left-color 0.25s ease;
}

nav ul.menu li a:hover {
    color: var(--tertiary-color);
    background-color: rgba(239, 164, 35, 0.07);
    padding-left: 1.85rem;
    border-left-color: var(--tertiary-color);
}

nav ul.menu li a.active {
    color: var(--tertiary-color);
    border-left-color: var(--tertiary-color);
    background-color: rgba(239, 164, 35, 0.07);
}

/* Main Content */
main {
    flex: 1;
    padding: 2rem;
}

.hero {
    position: relative;
    width: calc(100% + 4rem);
    height: 100vh;
    overflow: hidden;
    margin-top: -2rem;
    margin-left: -2rem;
}

.hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
    z-index: 0;
}

.hero-text {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    padding: 1rem;
}

.hero-text h2,
.hero-text p,
.hero-text h4 {
    color: #fff;
    text-shadow: none;
}

.whatsapp-button {
    display: block;
    width: fit-content;
    margin: 1.25rem auto 0;
    background-color: #25d366;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.whatsapp-button:hover {
    background-color: #128c7e;
}

.whatsapp-button i {
    margin-right: 8px;
}

.biography-weather {
    margin-top: 2rem;
}

.biography {
    margin-top: 2rem;
    background-color: #000;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1);
    border: 1px solid #ddd;
    text-align: center;
}

.biography img {
    display: block;
    margin: 20px auto;
    border: 4px solid #f3a167;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 100%;
    height: auto;
}

.biography img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.biography h2,
.weather-card h2 {
    color: var(--secondary-color); /* Corregido: Usar color secundario */
    margin-bottom: 1rem;
}

.biography p {
    line-height: 1.6;
    color: var(--text-color);
}

.weather-card {
    margin-top: 2rem;
    background-color: #000;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    text-align: center;
}

.weather-card ul {
    text-align: left;
    padding-left: 1rem;
    margin: 0 0 1rem;
    list-style: none;
}

.weather-card ul li {
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    line-height: 1.5;
    font-size: 0.9rem;
    color: var(--text-color);
}

.weather-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.25rem;
}

.weather-card-content {
    text-align: left;
}

.weather-card-content h2 {
    color: var(--secondary-color);
    margin: 0 0 0.75rem;
    text-align: center;
}

.weather-card .salud-image {
    width: 60%;
    margin: 0 auto;
    height: auto;
    border: 3px solid #f3a167;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.weather-card .salud-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.weather-clima {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

#weather-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 1.1rem;
    background-color: rgba(239, 164, 35, 0.1);
    border: 1px solid rgba(239, 164, 35, 0.3);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    margin-top: 0.5rem;
}

.visits {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--tertiary-color);
    background-color: rgba(239, 164, 35, 0.08);
    border: 1px solid rgba(239, 164, 35, 0.25);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    margin-top: 0.75rem;
}

#icon {
    width: 40px;
    height: 40px;
}

.featured-businesses {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #000;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas en vistas grandes y medianas */
    gap: 2rem; /* Espacio entre las secciones */
    
}

.featured-businesses h2 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-family: var(--font-primary);
}

.businesses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature {
    margin-top: 2rem;
    background-color: #333;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 1px solid #444;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    text-align: center;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    background-color: var(--tertiary-color);
    color: var(--secondary-color);
}

.feature img {
    max-width: 100%; /* La imagen no serÃ¡ mÃ¡s ancha que su contenedor */
    max-height: 400px; /* Altura mÃ¡xima de la imagen */
    width: auto; /* Mantiene la proporciÃ³n de la imagen */
    height: auto; /* Mantiene la proporciÃ³n de la imagen */
    border-radius: 8px; /* Bordes redondeados */
    margin-bottom: 1rem; /* Espacio debajo de la imagen */
    object-fit: cover; /* Asegura que la imagen cubra el espacio sin distorsionarse */
}

.feature h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.feature:hover h3 {
    color: var(--secondary-color);
}

.feature p {
    color: var(--secondary-color);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.feature:hover p {
    color: var(--secondary-color);
}

.cta {
    text-align: center;
    background-color: #000;
    color: var(--secondary-color);
    padding: 2rem;
    margin: 2rem 0;
}

.cta-button {
    background-color: var(--button-color);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    text-transform: uppercase;
    border-radius: 7px;
    font-weight: 400;
    font-size: 1.2rem;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a.cta-button:hover {
    background-color: var(--tertiary-color);
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Estilos para la secciÃ³n About */
.about {
    background-color: var(--primary-color); /* Fondo oscuro */
    padding: 2rem;
    margin: 2rem 0;
    color: var(--text-color); /* Texto claro */
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Tres columnas del mismo tamaÃ±o */
    gap: 2rem; /* Espacio entre los contenedores */
}

.about-us,
.contact,
.social-networks {
    background-color: #1a1a1a; /* Fondo gris oscuro */
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1); /* Sombra clara */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-us:hover,
.contact:hover,
.social-networks:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
    background-color:var(--tertiary-color)
}

.about-us h2,
.contact h2,
.social-networks h2 {
    color: var(--text-color); /* Texto blanco */
    margin-bottom: 1rem;
    font-family: var(--font-primary);
    font-size: 1.5rem;
    text-align: center;
}

.about-us p,
.contact p {
    color: var(--secondary-color); /* Texto gris claro */
    line-height: 1.6;
    text-align: justify;
}

/* Estilos para los Ã­conos de redes sociales */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--tertiary-color); /* Color naranja */
    color: var(--text-color); /* Texto blanco */
    border-radius: 50%;
    font-size: 1.2rem;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--button-color); /* Color amarillo */
    transform: scale(1.1);
}
/* Estilos generales para el main */
.discover-layout {
    padding: 2rem;
    background-color: black; /* Fondo negro */
    color: white; /* Texto blanco */
  }
  
/* ===================== NOSOTROS — NUESTRA HISTORIA ===================== */
.nos-historia {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.nos-historia-img {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.nos-historia-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    transition: transform 0.65s ease;
}

.nos-historia-img:hover img {
    transform: scale(1.04);
}

.nos-historia-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    color: var(--tertiary-color);
    font-family: var(--font-secondary);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    border: 1px solid rgba(239, 164, 35, 0.35);
}

.nos-historia-texto {
    text-align: left;
}

.nos-historia-texto h2 {
    font-family: var(--font-primary);
    font-size: 1.65rem;
    color: #ffffff;
    line-height: 1.3;
    margin: 0.4rem 0 1.1rem;
}

.nos-historia-texto p {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.82;
    margin-bottom: 0.9rem;
}

.nos-historia-texto .whatsapp-button {
    margin: 1.25rem 0 0;
}

/* ===================== BANDA DEL REFRÁN ===================== */
.nos-refran-band {
    position: relative;
    width: calc(100% + 4rem);
    margin-left: -2rem;
    height: 200px;
    overflow: hidden;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.nos-refran-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    display: block;
    transition: transform 0.8s ease;
}

.nos-refran-band:hover .nos-refran-img {
    transform: scale(1.03);
}

.nos-refran-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.78) 0%,
        rgba(0,0,0,0.35) 50%,
        rgba(0,0,0,0.72) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
}

.nos-refran-quote {
    font-family: var(--font-primary);
    font-size: clamp(1rem, 3vw, 1.55rem);
    font-style: italic;
    color: #ffffff;
    text-align: center;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.6);
    max-width: 600px;
    line-height: 1.4;
    margin: 0;
}

.nos-refran-quote::before { content: "\201C"; color: var(--tertiary-color); }
.nos-refran-quote::after  { content: "\201D"; color: var(--tertiary-color); }

/* ===================== NUESTROS VALORES ===================== */
.nos-valores {
    margin-bottom: 2.5rem;
}

.nos-valores-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.nos-valores-header h2 {
    font-family: var(--font-primary);
    font-size: 1.65rem;
    color: #ffffff;
    margin: 0.4rem 0 0.6rem;
}

.nos-valores-header p {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    max-width: 480px;
    margin: 0 auto;
}

.nos-valores-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.valor-card {
    text-align: center;
    padding: 1.75rem 1.25rem;
    border-radius: 14px;
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.valor-card:hover {
    background-color: rgba(239, 164, 35, 0.06);
    transform: translateY(-4px);
    border-color: rgba(239, 164, 35, 0.2);
}

.valor-icono {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(239, 164, 35, 0.1);
    border: 1.5px solid rgba(239, 164, 35, 0.3);
    color: var(--tertiary-color);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.valor-card:hover .valor-icono {
    background: var(--tertiary-color);
    color: #000;
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(239, 164, 35, 0.25);
}

.valor-card h3 {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: #ffffff;
    margin: 0 0 0.5rem;
    font-weight: 700;
}

.valor-card p {
    font-family: var(--font-secondary);
    font-size: 0.825rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.65;
    margin: 0;
}

/* ===================== LO QUE ENCONTRARÁS ===================== */
.nos-experiencia {
    margin-bottom: 3.5rem;
}

.nos-experiencia-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.nos-experiencia-header h2 {
    font-family: var(--font-primary);
    font-size: 1.65rem;
    color: #ffffff;
    margin: 0.4rem 0 0.6rem;
}

.nos-experiencia-header p {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

.nos-experiencia-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.nos-exp-card {
    background-color: #111;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.nos-exp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    border-color: rgba(239, 164, 35, 0.25);
}

.nos-exp-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.nos-exp-card:hover img {
    transform: scale(1.05);
}

.nos-exp-card h3 {
    font-family: var(--font-primary);
    font-size: 1.05rem;
    color: var(--tertiary-color);
    margin: 1.1rem 1rem 0.5rem;
    font-weight: 700;
}

.nos-exp-card p {
    font-family: var(--font-secondary);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.65;
    margin: 0 1rem 1.25rem;
}

/* ===================== VEN A VISITARNOS ===================== */
.nos-visitanos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 2.5rem;
    align-items: center;
}

.nos-visitanos-contenido h2 {
    font-family: var(--font-primary);
    font-size: 1.65rem;
    color: #ffffff;
    margin: 0.4rem 0 0.6rem;
    line-height: 1.3;
}

.nos-visitanos-contenido > p {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin: 0 0 1.75rem;
}

.nos-visitanos-detalles {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.nos-detalle {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.nos-detalle i {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(239, 164, 35, 0.1);
    border: 1px solid rgba(239, 164, 35, 0.25);
    color: var(--tertiary-color);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.nos-detalle strong {
    display: block;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: #ffffff;
    margin-bottom: 0.15rem;
}

.nos-detalle p {
    font-family: var(--font-secondary);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.5;
}

.nos-detalle a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nos-detalle a:hover {
    color: var(--tertiary-color);
}

.nos-visitanos-img img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 14px;
    border: 2px solid rgba(239, 164, 35, 0.25);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
    display: block;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.nos-visitanos-img img:hover {
    transform: scale(1.02);
    box-shadow: 0 18px 50px rgba(239, 164, 35, 0.1);
}

/* ===================== CTA NOSOTROS ===================== */
.nos-cta {
    margin-top: 1rem;
    margin-bottom: 0;
}

.nos-cta h2 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: #ffffff;
    margin: 0 0 0.5rem;
}

.nos-cta p {
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 1.25rem;
}

/* ===================== GALERÍA ===================== */
.gal-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.gal-header h2 {
    font-family: var(--font-primary);
    font-size: 1.65rem;
    color: #ffffff;
    margin: 0.4rem 0 0.6rem;
}

.gal-header p {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 auto;
    max-width: 500px;
}

.gal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.gal-card {
    border-radius: 14px;
    overflow: hidden;
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.gal-card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.gal-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.gal-card:hover .gal-card-img-wrap img {
    transform: scale(1.08);
}

.gal-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gal-card:hover .gal-card-overlay {
    opacity: 1;
}

.gal-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(239, 164, 35, 0.85);
    color: #000;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.7);
    transition: transform 0.35s ease;
}

.gal-card:hover .gal-card-icon {
    transform: scale(1);
}

.gal-card-body {
    padding: 1.25rem;
    text-align: center;
}

.gal-card-body h3 {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--tertiary-color);
    margin: 0 0 0.4rem;
    font-weight: 700;
}

.gal-card-body p {
    font-family: var(--font-secondary);
    font-size: 0.825rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    margin: 0;
}

/* ===================== CONTÁCTANOS ===================== */
.contacto-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.contacto-header h2 {
    font-family: var(--font-primary);
    font-size: 1.65rem;
    color: #ffffff;
    margin: 0.4rem 0 0.6rem;
}

.contacto-header p {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 auto;
    max-width: 500px;
}

.contacto-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

/* --- Formulario --- */
.contacto-form {
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 2rem;
}

.contacto-form h3 {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    color: #ffffff;
    margin: 0 0 1.75rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.contacto-form h3 i {
    color: var(--tertiary-color);
    font-size: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-family: var(--font-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.input-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-wrap i {
    position: absolute;
    left: 14px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
    pointer-events: none;
    z-index: 1;
}

.input-icon-wrap input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    background-color: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff;
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.input-icon-wrap input:focus {
    outline: none;
    border-color: var(--tertiary-color);
    box-shadow: 0 0 0 3px rgba(239, 164, 35, 0.12);
}

.input-icon-wrap input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.contacto-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background-color: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff;
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contacto-form textarea:focus {
    outline: none;
    border-color: var(--tertiary-color);
    box-shadow: 0 0 0 3px rgba(239, 164, 35, 0.12);
}

.contacto-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.contacto-submit {
    width: 100%;
    padding: 0.9rem;
    margin-top: 0.75rem;
    background-color: var(--tertiary-color);
    color: #000;
    border: none;
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.contacto-submit:hover {
    background-color: var(--button-color);
    transform: translateY(-2px);
}

/* --- Info + Mapa --- */
.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contacto-tarjetas {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

.contacto-tarjeta {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.1rem 1.25rem;
    transition: border-color 0.25s ease;
}

.contacto-tarjeta:hover {
    border-color: rgba(239, 164, 35, 0.25);
}

.contacto-tarjeta-icono {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(239, 164, 35, 0.1);
    border: 1px solid rgba(239, 164, 35, 0.25);
    color: var(--tertiary-color);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.contacto-tarjeta strong {
    display: block;
    font-family: var(--font-primary);
    font-size: 0.88rem;
    color: #ffffff;
    margin-bottom: 0.15rem;
}

.contacto-tarjeta p {
    font-family: var(--font-secondary);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    line-height: 1.55;
}

.contacto-tarjeta a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contacto-tarjeta a:hover {
    color: var(--tertiary-color);
}

.contacto-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #25d366;
    color: #fff;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    padding: 0.85rem;
    border-radius: 12px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.contacto-whatsapp:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
}

.contacto-whatsapp i {
    font-size: 1.2rem;
}

.contacto-mapa {
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid rgba(239, 164, 35, 0.2);
}

.contacto-mapa iframe {
    display: block;
}


/* Highlight the visit message */
#visit-message {
    background-color: #0069d9;
    color: #ffffff; 
    font-size: 1.1rem;
    font-weight: bold; 
    text-align: center; 
    padding: 0.7rem; 
    border-radius: 8px; 
    margin-top: 1rem; /* Espacio superior */
    display: block; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); 
    transition: background 0.3s ease, transform 0.2s ease; 
}

/* Hover Effect */
#visit-message:hover {
    background-color: #004085; 
}

/* Base styles for grid view */
/* Estilos para la galerÃ­a */
  /* Estilos para las tarjetas de miembros */
  .member-card {
    border: 1px var(--tertiary-color);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    background-color: #000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%; /* Asegura que las tarjetas ocupen el 100% del ancho */
    box-sizing: border-box; /* Incluye el padding en el ancho total */
  }
  .member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);

  }
  
  /* Estilos para las imÃ¡genes */
 
  .member-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
  }
  
  /* Estilos para los textos */
  .member-card h2 {
    margin: 10px 0;
    font-size: 1rem;
    color:var(--tertiary-color);
  }
  
  .member-card p {
    margin: 5px 0;
    font-size: 0.7rem;
    color:var(--button-color);
  }
  
/* Banner styling */
#meet-banner {
    background-color: #faf4c0;
    border: 1px solid #ccc;
    padding: 1rem;
    margin-bottom: 1rem;
    position: relative;
}
#meet-banner p {
    margin: 0;
    color: #2d2d2d;
}
#meet-banner button#close-banner {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: #d63a3a;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    padding: 0.3rem 0.6rem;
}
  
  /* Spotlights container */
.spotlights {
    margin: 2rem 0;
}
  
  /* Individual spotlight card */
.spotlight {
     
    background-color: #fff8dc; 
    border: 2px solid #f9a602; 
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
  
.spotlights {
    margin: 2rem 0;
}
  
.spotlight {
    background-color: #fff8dc;  
    border: 2px solid #f9a602;  
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    text-align: center;
    
    color: #472400;
  
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
  
.spotlight:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
  
 
.spotlight img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 1rem;
}
  
.spotlight h3 {
    margin: 0.5rem 0;
}
  
.spotlight p {
    margin: 0.5rem 0;
}
  
.spotlight a {
    color: #00336F;
    text-decoration: none;
    font-weight: bold;
}
  
.spotlight a:hover {
    text-decoration: underline;
}

  

footer {
    background-color: var(--primary-color);
    color: #fff;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    padding: 2.5rem 2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.footer-grid > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.footer-grid h2 {
    color: var(--tertiary-color);
    font-size: 1rem;
    font-family: var(--font-primary);
    margin: 0 0 0.75rem;
}

.footer-grid p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
    margin: 0.25rem 0;
    font-size: 0.85rem;
}

.footer-grid a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-grid a:hover {
    color: var(--tertiary-color);
}

.footer-bottom {
    text-align: center;
    padding: 1rem 2rem;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.8rem;
}

/* --- Mapa en footer --- */
.footer-mapa {
    min-width: 0;
}

.footer-dir {
    font-size: 0.82rem;
    margin: 0.15rem 0;
}

.footer-mapa-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.75rem;
    padding: 0.45rem 0.9rem;
    background: rgba(239, 164, 35, 0.12);
    border: 1px solid rgba(239, 164, 35, 0.3);
    border-radius: 6px;
    color: var(--tertiary-color);
    font-family: var(--font-secondary);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s, color 0.25s;
}

.footer-mapa-link:hover {
    background: var(--tertiary-color);
    color: #000;
}

/* --- Dos mapas en contactanos --- */
.contacto-mapas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.contacto-mapa-label {
    display: block;
    font-family: var(--font-primary);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--tertiary-color);
    margin-bottom: 0.25rem;
    text-align: center;
}

.contacto-mapas .contacto-mapa {
    border: none;
    border-radius: 0;
    overflow: visible;
}

/* --- Dirección doble en tarjeta de contacto --- */
.contacto-dir-doble {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contacto-dir-item strong {
    display: block;
    font-family: var(--font-primary);
    font-size: 0.82rem;
    color: var(--tertiary-color);
    margin-bottom: 0.1rem;
}

.contacto-dir-item p {
    font-family: var(--font-secondary);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 500px) {
    .contacto-mapas {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 90vh;
    }
    .hero img {
        object-position: center 32%;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        padding: 2rem 1.5rem 1rem;
    }
}

@media (max-width: 500px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 1024px) {
    .featured-businesses {
        grid-template-columns: repeat(3, 1fr); /* Mantener 3 columnas */
    }
}
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr; /* Una sola columna */
        
    }
    .featured-businesses {
        grid-template-columns: 1fr; /* Una sola columna */
    }

}
@media (max-width: 500px) {
    main.discover-layout {
        padding: 0.5rem; /* Reduce padding */
    }
    .hero {
        height: 85vh;
    }

    .hero img {
        object-position: center 35%;
    }

    .hero-text {
        top: 48%;
        padding: 0.5rem;
    }

    .hero-text h1 {
        font-size: 1.0rem;
    }

    .hero-text p {
        font-size: 0.7rem;
    }

    /* Adjustments for the sidebar */
    
    
    .weather-card {
        margin-top: 2rem;
    }
    .nos-historia-texto h2 {
        font-size: 1.25rem; /* TamaÃ±o de fuente aÃºn mÃ¡s pequeÃ±o para pantallas muy pequeÃ±as */
    }

    .nos-historia-texto p {
        font-size: 0.8rem; /* TamaÃ±o de fuente aÃºn mÃ¡s pequeÃ±o para pantallas muy pequeÃ±as */
    }

    .nos-historia-img img {
        border-width: 2px; /* Borde aÃºn mÃ¡s delgado en pantallas muy pequeÃ±as */
      }
    .nos-refran-quote {
        font-size: 0.9rem; /* TamaÃ±o de fuente aÃºn mÃ¡s pequeÃ±o para pantallas muy pequeÃ±as */
    }
    .grid {
        grid-template-columns: 1fr; /* Una sola columna */
        gap: 10px; /* Menor espacio entre elementos */
        padding: 10px; /* Menor padding */
      }
    
      .member-card {
        padding: 10px; /* Menor padding en las tarjetas */
      }
    
      .member-card h2 {
        font-size: 1.25rem; /* TamaÃ±o de fuente mÃ¡s pequeÃ±o */
      }
    
      .member-card p {
        font-size: 0.875rem; /* TamaÃ±o de fuente mÃ¡s pequeÃ±o */
      }
    
    .cta-button {
        padding: 0.5rem 1.2rem;
        font-weight: 300; 
        font-size: 0.8rem; 
    }

    /* Adjustments for the gallery */
    .gallery-grid {
        gap: 0.5rem; /* Reduce spacing between gallery items */
    }

    .gallery-item {
        padding: 0.5rem; /* Reduce padding */
    }

    .gallery-item img {
        max-width: 100%; /* Ensure images do not overflow */
        height: auto; /* Maintain aspect ratio */
    }

    .gallery-item p {
        font-size: 0.8rem; /* Reduce text size */
        padding: 0.25rem; /* Reduce padding */
    }

   
    /* Adjustments for the footer */
    footer {
        padding: 0.5rem; /* Reduce padding */
        font-size: 0.8rem; /* Reduce text size */
    }
}

@media (max-width: 400px) {
    .grid {
          grid-template-columns: 1fr; /* Una sola columna */
          gap: 10px;
          padding: 10px;
    }
      
    .member-card {
          padding: 10px;
    }
      
    .member-card h2 {
          font-size: 1.25rem;
    }
      
    .member-card p {
          font-size: 0.875rem;
    }
    form {
        padding: 1rem; /* Menos padding */
      }
    
      form label {
        font-size: 0.9rem; /* Fuente mÃ¡s pequeÃ±a */
      }
    
      form input,
      form textarea {
        font-size: 0.9rem; /* Fuente mÃ¡s pequeÃ±a */
        padding: 0.4rem; /* Menos padding */
      }
    
      form input[type="submit"] {
        font-size: 0.9rem; /* Fuente mÃ¡s pequeÃ±a */
        padding: 0.5rem; /* Menos padding */
      }
      .join-form h2 {
        font-size: 1.5rem; /* TamaÃ±o de fuente mÃ¡s pequeÃ±o */
        margin-bottom: 1rem; /* Espacio inferior reducido */
        text-align: center; /* Centrar el texto */
      }
    
}
/* ===================== TRIPADVISOR SECTION ===================== */
.tripadvisor-section {
    background-color: #000;
    padding: 3rem 1.5rem;
    margin: 2rem 0;
    border-radius: 12px;
    border: 1px solid rgba(52, 224, 161, 0.15);
}

.ta-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

.ta-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.ta-owl-icon {
    font-size: 2.8rem;
    color: #34E0A1;
}

.ta-brand-name {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    font-weight: 700;
    color: #34E0A1;
    letter-spacing: 0.04em;
}

.ta-overall-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.ta-score-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    font-family: var(--font-primary);
}

.ta-stars-overall {
    display: flex;
    gap: 0.2rem;
    font-size: 1.5rem;
    color: var(--tertiary-color);
}

.ta-review-count {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

.ta-ver-mas {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #34E0A1;
    color: #000;
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    margin-top: 0.5rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.ta-ver-mas:hover {
    background-color: #20c997;
    transform: translateY(-2px);
}

.ta-reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.ta-review-card {
    background-color: #111;
    border: 1px solid rgba(52, 224, 161, 0.12);
    border-radius: 10px;
    padding: 1.4rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ta-review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(52, 224, 161, 0.12);
    border-color: rgba(52, 224, 161, 0.35);
}

.ta-review-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.ta-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #34E0A1;
    color: #000;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: var(--font-primary);
}

.ta-reviewer-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
}

.ta-reviewer-info strong {
    color: #ffffff;
    font-size: 0.95rem;
    font-family: var(--font-primary);
}

.ta-stars {
    display: flex;
    gap: 0.15rem;
    font-size: 0.8rem;
    color: var(--tertiary-color);
}

.ta-date {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
    align-self: flex-start;
    font-family: var(--font-secondary);
}

.ta-review-title {
    color: #34E0A1;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    margin: 0 0 0.5rem;
    font-weight: 600;
}

.ta-review-text {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.875rem;
    line-height: 1.65;
    margin: 0;
    font-family: var(--font-secondary);
}

@media (min-width: 600px) {
    .ta-reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .ta-header {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        align-items: flex-start;
    }
    .ta-overall-rating {
        align-items: flex-end;
    }
    .ta-reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* ============================================================== */


/* ===== LAYOUT LIBRE â€” HISTORIA + PORQUE + CLIMA ===== */

.section-eyebrow {
    display: block;
    font-family: var(--font-secondary);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--tertiary-color);
    margin-bottom: 0.5rem;
}

/* --- Historia editorial --- */
.historia-editorial {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 3rem 0 2rem;
    align-items: center;
}

.historia-img-col {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.historia-editorial-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    transition: transform 0.65s ease;
}

.historia-img-col:hover .historia-editorial-img {
    transform: scale(1.04);
}

.historia-location-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    color: var(--tertiary-color);
    font-family: var(--font-secondary);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    border: 1px solid rgba(239, 164, 35, 0.35);
}

.historia-text-col {
    padding-left: 0;
}

.historia-text-col h2 {
    font-size: 1.65rem;
    font-family: var(--font-primary);
    color: #ffffff;
    line-height: 1.3;
    margin: 0.4rem 0 1.1rem;
}

.historia-text-col p {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.82;
    margin-bottom: 0.9rem;
}

/* --- Banda familia (imagen cinematogrÃ¡fica) --- */
.familia-band {
    position: relative;
    width: calc(100% + 4rem);
    margin-left: -2rem;
    height: 220px;
    overflow: hidden;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.familia-band-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
    transition: transform 0.8s ease;
}

.familia-band:hover .familia-band-img {
    transform: scale(1.03);
}

.familia-band-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.75) 0%,
        rgba(0,0,0,0.35) 50%,
        rgba(0,0,0,0.65) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
}

.familia-band-quote {
    font-family: var(--font-primary);
    font-size: clamp(1rem, 3vw, 1.6rem);
    font-style: italic;
    color: #ffffff;
    text-align: center;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.6);
    max-width: 600px;
    line-height: 1.4;
    margin: 0;
}

.familia-band-quote::before { content: "\201C"; color: var(--tertiary-color); }
.familia-band-quote::after  { content: "\201D"; color: var(--tertiary-color); }

/* --- Â¿Por quÃ© La Cosecha? â€” pilares abiertos --- */
.porque-cosecha {
    margin: 0 0 2.5rem;
}

.porque-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.porque-header h2 {
    font-family: var(--font-primary);
    font-size: 1.65rem;
    color: #ffffff;
    margin: 0.4rem 0 0;
}

.porque-pilares {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.pilar {
    text-align: center;
    padding: 1.5rem 1.25rem;
    border-radius: 12px;
    transition: background-color 0.3s ease;
    cursor: default;
}

.pilar:hover {
    background-color: rgba(239, 164, 35, 0.05);
}

.pilar-sep {
    display: none;
}

.pilar-icon-wrap {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(239, 164, 35, 0.1);
    border: 1.5px solid rgba(239, 164, 35, 0.3);
    color: var(--tertiary-color);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.1rem;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.pilar:hover .pilar-icon-wrap {
    background: var(--tertiary-color);
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(239, 164, 35, 0.28);
}

.pilar h3 {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: #ffffff;
    margin: 0 0 0.6rem;
    font-weight: 700;
}

.pilar p {
    font-family: var(--font-secondary);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin: 0;
    max-width: 260px;
    margin: 0 auto;
}

/* --- Clima pill --- */
.clima-pill {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.6rem 0.9rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50px;
    padding: 0.65rem 1.75rem;
    width: fit-content;
    margin: 0 auto 2rem;
    font-family: var(--font-secondary);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    transition: border-color 0.3s ease;
}

.clima-pill:hover {
    border-color: rgba(239, 164, 35, 0.3);
}

.clima-pill-lugar {
    color: var(--tertiary-color);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.clima-pill-sep {
    color: rgba(255, 255, 255, 0.25);
    font-size: 1rem;
    line-height: 1;
}

.clima-pill-weather {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    font-size: 0.82rem;
}

.clima-pill-weather #icon {
    width: 22px;
    height: 22px;
}

.clima-pill-visits {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 400;
}

/* Desktop: historia 2 columnas, pilares en fila */
@media (min-width: 900px) {
    .historia-editorial {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    .historia-text-col {
        padding-left: 1rem;
    }

    .historia-text-col h2 {
        font-size: 2rem;
    }

    .familia-band {
        height: 280px;
    }

    .porque-pilares {
        grid-template-columns: 1fr auto 1fr auto 1fr;
        gap: 0;
        align-items: stretch;
    }

    .pilar-sep {
        display: block;
        width: 1px;
        background: rgba(255, 255, 255, 0.08);
        margin: 1.5rem 0;
        align-self: stretch;
    }
}

@media (min-width: 1024px) {
    .familia-band {
        width: calc(100% + 10%);
        margin-left: -5%;
        height: 300px;
    }
}
/* ================================================= */


@media (max-width: 300px) {
    .hero-text {
        top: 55%; /* Ajusta la posiciÃ³n del texto en pantallas muy pequeÃ±as */
    }

    .hero-text h1 {
        font-size: 0.7rem; /* Reduce aÃºn mÃ¡s el tamaÃ±o de la fuente del tÃ­tulo */
    }

    .hero-text p {
        font-size: 0.5rem; /* Reduce aÃºn mÃ¡s el tamaÃ±o de la fuente del pÃ¡rrafo */
    }
    .weather-card {
        margin-top: 2rem;
    }
    #weather-info {
        margin-top: 2rem; /* AÃ±ade espacio entre la biografÃ­a y el clima */
        display: flex;
        align-items: center; /* Centra verticalmente */
        justify-content: center; /* Centra horizontalmente */
        gap: 0.3rem; /* Espacio entre el icono y el texto */
        font-size: 1rem;
    }
    .cta-button {
        padding: 0.5rem 1.2rem;
        font-weight: 300; 
        font-size: 0.8rem; 
    }
    .grid {
        gap: 5px;
        padding: 5px;
      }
    
      .member-card {
        padding: 8px;
      }
    
      .member-card h2 {
        font-size: 1rem;
        margin: 5px 0;
      }
    
      .member-card p {
        font-size: 0.75rem;
        margin: 3px 0;
      }
    
      .member-image {
        border-radius: 5px;
      }

    main.discover-layout {
        padding: 0.25rem; /* Further reduce padding */
    }

    .sidebar {
        gap: 0.25rem; /* Further reduce spacing */
    }

    .info-box,
    .featured-box,
    .calendar {
        padding: 0.5rem; /* Further reduce padding */
    }

    .info-box h2,
    .featured-box h2,
    .calendar h2 {
        font-size: 1rem; /* Further reduce heading size */
    }

    .info-box p,
    .featured-box p,
    .calendar p {
        font-size: 0.8rem; /* Further reduce text size */
    }

    .gallery-grid {
        gap: 0.25rem; /* Further reduce spacing */
    }

    .gallery-item {
        padding: 0.25rem; /* Further reduce padding */
    }

    .gallery-item p {
        font-size: 0.7rem; /* Further reduce text size */
        padding: 0.15rem; /* Further reduce padding */
    }

    .calendar-controls button {
        padding: 0.2rem 0.4rem; /* Further reduce button padding */
        font-size: 0.8rem; /* Further reduce button text size */
    }

    #calendar-container div {
        padding: 3px; /* Further reduce padding */
        font-size: 0.7rem; /* Further reduce text size */
    }

    footer {
        padding: 0.25rem; /* Further reduce padding */
        font-size: 0.7rem; /* Further reduce text size */
    }
}


/* ===================== HERO MEJORADO ===================== */
.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero-text {
    gap: 1rem;
}

.hero-eyebrow {
    display: block;
    font-family: var(--font-secondary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--tertiary-color);
    margin-bottom: -0.25rem;
}

.hero-text h2 {
    font-size: clamp(1.6rem, 4vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 0.6rem;
}

.hero-text p {
    font-family: var(--font-secondary);
    font-size: clamp(0.85rem, 1.5vw, 1.1rem);
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin: 0 auto 1.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
}

.hero-btn-primary {
    background-color: var(--tertiary-color);
    color: #000;
    box-shadow: 0 4px 18px rgba(239, 164, 35, 0.3);
}

.hero-btn-primary:hover {
    background-color: #f5b840;
    box-shadow: 0 6px 24px rgba(239, 164, 35, 0.45);
}

.hero-btn-whatsapp {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.hero-btn-whatsapp:hover {
    background-color: #25d366;
    border-color: #25d366;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.3);
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.45);
    font-family: var(--font-secondary);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: hero-scroll-pulse 2s ease-in-out infinite;
}

.hero-scroll i {
    font-size: 0.9rem;
}

@keyframes hero-scroll-pulse {
    0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; transform: translateX(-50%) translateY(6px); }
}

/* ===================== ESPECIALIDADES ===================== */
.especialidades {
    margin: 3rem 0 2.5rem;
}

.especialidades-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.especialidades-header h2 {
    font-family: var(--font-primary);
    font-size: 1.65rem;
    color: #ffffff;
    margin: 0.4rem 0 0.6rem;
}

.especialidades-header p {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    max-width: 480px;
    margin: 0 auto;
}

.especialidades-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.esp-card {
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.esp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(239, 164, 35, 0.2);
}

.esp-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.esp-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.esp-card:hover .esp-card-img img {
    transform: scale(1.07);
}

.esp-card-precio {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    background: var(--tertiary-color);
    color: #000;
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
}

.esp-card-body {
    padding: 1.25rem;
    text-align: left;
}

.esp-card-body h3 {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: #ffffff;
    margin: 0 0 0.4rem;
    font-weight: 700;
}

.esp-card-body p {
    font-family: var(--font-secondary);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin: 0;
}

/* ===================== CONOCE EL ESPACIO ===================== */
.espacio {
    margin: 2.5rem 0;
}

.espacio-header {
    text-align: center;
    margin-bottom: 2rem;
}

.espacio-header h2 {
    font-family: var(--font-primary);
    font-size: 1.65rem;
    color: #ffffff;
    margin: 0.4rem 0 0.6rem;
}

.espacio-header p {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 auto;
    max-width: 480px;
}

.espacio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
}

.espacio-img {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.espacio-img.grande {
    grid-column: 1 / -1;
    aspect-ratio: 2 / 1;
}

.espacio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.espacio-img:hover img {
    transform: scale(1.05);
}

.espacio-descripcion {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.espacio-descripcion p {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.8;
    margin: 0;
}

/* ===================== FEATURES REDISEÑADAS ===================== */
.index-features {
    margin: 2.5rem 0;
}

.index-features-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.index-features-header h2 {
    font-family: var(--font-primary);
    font-size: 1.65rem;
    color: #ffffff;
    margin: 0.4rem 0 0;
}

.index-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.idx-feat-card {
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.idx-feat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
    border-color: rgba(239, 164, 35, 0.15);
}

.idx-feat-img-wrap {
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.idx-feat-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}

.idx-feat-card:hover .idx-feat-img-wrap img {
    transform: scale(1.06);
}

.idx-feat-text {
    padding: 1.25rem 1.35rem;
    text-align: center;
}

.idx-feat-text h3 {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--tertiary-color);
    margin: 0 0 0.5rem;
    font-weight: 700;
}

.idx-feat-text p {
    font-family: var(--font-secondary);
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.65;
    margin: 0;
}

/* ===================== CTA MEJORADO ===================== */
.index-cta {
    padding: 3rem 2rem;
    margin: 2rem 0 0;
    border-radius: 16px;
    background-color: #111;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.index-cta h2 {
    font-family: var(--font-primary);
    font-size: 1.65rem;
    color: #ffffff;
    margin: 0.4rem 0 0.5rem;
}

.index-cta p {
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 1.5rem;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.cta-button-outline {
    background-color: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button-outline:hover {
    background-color: #25d366;
    border-color: #25d366;
    color: #fff;
    text-decoration: none;
}

/* ===================== SCROLL ANIMATIONS ===================== */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reducir animación en móvil (menos intensa) */
@media (max-width: 500px) {
    .fade-in-section {
        transform: translateY(18px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

    .hero-scroll {
        bottom: 1rem;
    }

    .index-cta {
        padding: 2rem 1.25rem;
    }

    .especialidades-header h2,
    .espacio-header h2,
    .index-features-header h2 {
        font-size: 1.25rem;
    }

    .especialidades-grid {
        gap: 1rem;
    }

    .espacio-descripcion p {
        font-size: 0.82rem;
    }
}

/* ===================== GRACIAS ===================== */
.gracias-section {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 560px;
    margin: 0 auto;
}

.gracias-icono {
    font-size: 4rem;
    color: #25d366;
    margin-bottom: 1.25rem;
    animation: gracias-pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes gracias-pop {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.gracias-section h2 {
    font-family: var(--font-primary);
    font-size: 1.65rem;
    color: #ffffff;
    margin: 0 0 0.75rem;
}

.gracias-section p {
    font-family: var(--font-secondary);
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin: 0 0 0.5rem;
}

.gracias-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.75rem;
}
