@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --verde-oscuro: #1a3c34;
    --verde-medio: #2d6a4f;
    --verde-claro: #40916c;
    --oro: #c9a96e;
    --oro-claro: #e8d5a3;
    --crema: #fefae0;
    --marfil: #faf3e6;
    --gris-claro: #f0f0f0;
    --texto-oscuro: #1a1a2e;
    --texto-medio: #4a4a5a;
    --blanco: #ffffff;
    --sombra-suave: 0 4px 20px rgba(0,0,0,0.08);
    --sombra-media: 0 8px 40px rgba(0,0,0,0.12);
    --sombra-fuerte: 0 20px 60px rgba(0,0,0,0.2);
    --radius: 12px;
    --radius-lg: 24px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--texto-oscuro);
    background: var(--marfil);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* NAVBAR - Right Side Vertical (auto-hide) */
.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    bottom: 0;
    z-index: 1000;
    width: 260px;
    padding: 30px 25px;
    background: rgba(26, 60, 52, 0.97);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.45s ease;
    box-shadow: none;
    transform: translateX(calc(100% - 38px));
    overflow: hidden;
}

.navbar::before {
    content: 'MENÚ';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 38px;
    background: linear-gradient(135deg, #1a3c34 0%, #1a3c34 20%, #2C4A6B 30%, #2C4A6B 40%, #2d6a4f 50%, #2d6a4f 70%, #1a3c34 80%, #1a3c34 100%);
    background-size: 400% 400%;
    animation: latigo 3s ease-in-out infinite;
    cursor: pointer;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--oro);
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

@keyframes latigo {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.navbar:hover {
    transform: translateX(0);
    box-shadow: -2px 0 40px rgba(0,0,0,0.15);
    background: #2C4A6B;
    backdrop-filter: none;
}

.navbar:hover .nav-links a {
    color: #fff;
}

.navbar:hover .logo {
    color: #fff;
}

.navbar:hover .logo span {
    color: var(--oro);
}

.navbar.scrolled {
    background: rgba(26, 60, 52, 0.97);
    padding: 30px 25px;
    backdrop-filter: blur(20px);
}

.navbar .container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    height: 100%;
    min-height: 0;
    padding: 0;
    max-width: none;
    width: 100%;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    color: var(--blanco);
    letter-spacing: 2px;
    text-transform: uppercase;
    align-self: flex-end;
    margin-bottom: 15px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 16px;
    line-height: 1.2;
    flex-shrink: 0;
}

.logo span {
    color: var(--oro);
}

.nav-links {
    display: flex;
    flex-direction: column;
    list-style: none;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    overflow: hidden;
    flex: 1;
    height: 100%;
    margin: 0;
    padding: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nav-links::-webkit-scrollbar {
    display: none;
}

.nav-links li {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: rgba(255,255,255,0.85);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding: 3px 0;
    transition: var(--transition);
    text-align: right;
    display: block;
    width: 100%;
    white-space: nowrap;
}

@media (min-height: 850px) {
    .nav-links a {
        font-size: 13px;
        letter-spacing: 2px;
    }
}

@media (max-height: 700px) {
    .logo {
        margin-bottom: 8px;
        font-size: 14px;
    }
    .nav-links a {
        font-size: 10.5px;
        letter-spacing: 1px;
        padding: 1px 0;
    }
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: auto;
    width: 0;
    height: 2px;
    background: var(--oro);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--oro);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
}

/* TOP LEFT LOGO - como estaba originalmente */
.top-logo {
    position: fixed;
    top: 20px;
    left: 375px;
    z-index: 999;
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--blanco);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.top-logo span {
    color: var(--oro);
}

/* HERO SECTION */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(13,30,26,0.7), rgba(26,60,52,0.6)), url('../img/URRACA.jpeg') center top/cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(201, 169, 110, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(201, 169, 110, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
    z-index: 1;
}

.hero::after {
    content: 'TORRE DOÑA URRACA\AS. XII';
    position: absolute;
    right: 40px;
    bottom: 100px;
    z-index: 2;
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    color: var(--oro-claro);
    letter-spacing: 6px;
    text-shadow: 0 0 20px rgba(0,0,0,0.8), 0 0 40px rgba(0,0,0,0.5);
    pointer-events: none;
    white-space: pre;
    text-align: center;
    line-height: 1.4;
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--oro-claro);
    border-radius: 50%;
    opacity: 0.3;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% { transform: translateY(100vh) translateX(0); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-10vh) translateX(50px); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 30px;
}

.hero-badge {
    display: inline-block;
    padding: 10px 28px;
    border: 1px solid var(--oro-claro);
    color: var(--oro-claro);
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 30px;
    font-weight: 500;
    animation: fadeInDown 1s ease forwards;
    text-shadow: 0 0 20px rgba(201,169,110,0.4);
    box-shadow: 0 0 15px rgba(201,169,110,0.15);
}

.hero h1 {
    font-size: 80px;
    color: var(--blanco);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
    text-shadow: 0 0 30px rgba(201,169,110,0.4), 0 0 60px rgba(201,169,110,0.2);
}

.hero h1 span {
    color: var(--oro);
    font-style: italic;
    text-shadow: 0 0 40px rgba(201,169,110,0.5), 0 0 80px rgba(201,169,110,0.3);
}

.hero p {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    max-width: 650px;
    margin: 0 auto 40px;
    font-weight: 400;
    line-height: 1.7;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-radius: 0;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background: var(--oro);
    color: var(--verde-oscuro);
    box-shadow: 0 0 20px rgba(201,169,110,0.3);
}

.btn-primary:hover {
    background: var(--oro-claro);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(201, 169, 110, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--blanco);
    border: 1px solid var(--blanco);
    box-shadow: 0 0 15px rgba(255,255,255,0.1);
}

.btn-outline:hover {
    background: var(--blanco);
    color: var(--verde-oscuro);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.8);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: url('../images/cursor-shield-32.png') 17 24, pointer;
    text-shadow: 0 0 15px rgba(201,169,110,0.5);
}

.scroll-line {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, var(--oro-claro), transparent);
    animation: scrollPulse 1.5s ease infinite;
    box-shadow: 0 0 10px rgba(201,169,110,0.4);
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.5; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* SECTION COMMON */
.section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
}

.section-subtitle {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--oro);
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
}

.section-subtitle::before,
.section-subtitle::after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 1px;
    background: var(--oro);
    vertical-align: middle;
    margin: 0 15px;
}

.section-title {
    font-size: 48px;
    color: var(--verde-oscuro);
    margin-bottom: 20px;
}

.section-desc {
    color: var(--texto-medio);
    font-size: 16px;
    font-weight: 300;
}

/* ABOUT / WELCOME */
.welcome {
    background: var(--blanco);
    position: relative;
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.welcome-content h2 {
    font-size: 44px;
    color: var(--verde-oscuro);
    margin-bottom: 25px;
}

.welcome-content p {
    color: var(--texto-medio);
    margin-bottom: 20px;
    font-size: 15px;
}

.welcome-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--oro);
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--texto-medio);
    margin-top: 8px;
}

.welcome-image {
    position: relative;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--verde-oscuro), var(--verde-medio));
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-image-placeholder {
    text-align: center;
    color: var(--blanco);
    padding: 40px;
}

.welcome-image-placeholder .big-letter {
    font-family: 'Cormorant Garamond', serif;
    font-size: 160px;
    color: var(--oro);
    opacity: 0.4;
    line-height: 1;
}

.welcome-image-placeholder p {
    font-size: 14px;
    opacity: 0.7;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 10px;
}

/* FEATURED BUSINESSES */
.featured {
    background: var(--marfil);
    position: relative;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: var(--blanco);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--sombra-suave);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--sombra-fuerte);
}

.card-image {
    height: 240px;
    background: linear-gradient(135deg, var(--verde-oscuro), var(--verde-medio));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.4));
    z-index: 1;
}

.card-image .card-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    padding: 6px 18px;
    background: var(--oro);
    color: var(--verde-oscuro);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-image .card-icon-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 60px;
    color: var(--oro-claro);
    opacity: 0.6;
    z-index: 1;
}

.card-body {
    padding: 30px;
}

.card-category {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--oro);
    font-weight: 600;
    margin-bottom: 10px;
}

.card-body h3 {
    font-size: 22px;
    color: var(--verde-oscuro);
    margin-bottom: 10px;
}

.card-body p {
    color: var(--texto-medio);
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 300;
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.card-rating .rating-count {
    font-size: 12px;
    color: var(--texto-medio);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-top: 1px solid var(--gris-claro);
}

.card-meta {
    font-size: 12px;
    color: var(--texto-medio);
}

.card-link {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--verde-claro);
    font-weight: 600;
    transition: var(--transition);
}

.card:hover .card-link {
    color: var(--oro);
}

/* CATEGORIES SECTION */
.categories {
    background: var(--blanco);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.category-card {
    padding: 40px 30px;
    background: var(--marfil);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
}

.category-card:hover {
    background: var(--verde-oscuro);
    transform: translateY(-5px);
    box-shadow: var(--sombra-media);
}

.category-icon-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 52px;
    color: var(--oro);
    line-height: 1;
    margin-bottom: 15px;
    display: block;
}

.category-card h3 {
    font-size: 20px;
    color: var(--verde-oscuro);
    margin-bottom: 10px;
    transition: var(--transition);
}

.category-card p {
    font-size: 13px;
    color: var(--texto-medio);
    font-weight: 300;
    transition: var(--transition);
}

.category-card:hover h3 {
    color: var(--blanco);
}

.category-card:hover p {
    color: rgba(255,255,255,0.7);
}

/* GALLERY PREVIEW */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.gallery-card {
    background: var(--blanco);
    overflow: hidden;
    transition: var(--transition);
    display: block;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra-media);
}

.gallery-image {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.gallery-icon {
    font-size: 64px;
    opacity: 0.4;
    color: #fff;
}

.gallery-body {
    padding: 20px 25px;
    background: var(--marfil);
}

.gallery-body h3 {
    font-size: 18px;
    color: var(--verde-oscuro);
    margin-bottom: 8px;
    transition: var(--transition);
}

.gallery-body p {
    font-size: 13px;
    color: var(--texto-medio);
    font-weight: 300;
}

.gallery-card:hover .gallery-body h3 {
    color: var(--oro);
}

/* GALLERY PAGE */
.gallery-full .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-full .gallery-image {
    height: 250px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    cursor: pointer;
}

.gallery-item .gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,60,52,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item .gallery-overlay span {
    color: var(--blanco);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

/* TESTIMONIALS */
.testimonials {
    background: var(--verde-oscuro);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(201, 169, 110, 0.08), transparent);
}

.testimonials .section-subtitle {
    color: var(--oro-claro);
}

.testimonials .section-subtitle::before,
.testimonials .section-subtitle::after {
    background: var(--oro-claro);
}

.testimonials .section-title {
    color: var(--blanco);
}

.testimonials .section-desc {
    color: rgba(255,255,255,0.6);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: rgba(255,255,255,0.05);
    padding: 50px 40px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--oro);
    transform: translateY(-5px);
}

.testimonial-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    color: var(--blanco);
    line-height: 1.6;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    font-size: 14px;
    font-weight: 600;
    color: var(--oro-claro);
}

.testimonial-role {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.4);
    margin-top: 5px;
}

/* CONTACT CTA */
.cta-section {
    background: linear-gradient(135deg, var(--verde-oscuro), #0d2b24);
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(201, 169, 110, 0.1), transparent);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 44px;
    color: var(--blanco);
    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 35px;
}

/* FOOTER */
.footer {
    background: #0d1f1a;
    padding: 80px 0 30px;
    color: rgba(255,255,255,0.7);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.footer-brand h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    color: var(--blanco);
    margin-bottom: 20px;
}

.footer-brand h3 span {
    color: var(--oro);
}

.footer-brand p {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8;
}

.footer h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--blanco);
    margin-bottom: 25px;
    font-weight: 600;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul li a {
    font-size: 14px;
    transition: var(--transition);
    font-weight: 300;
}

.footer ul li a:hover {
    color: var(--oro);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 300;
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* PAGE HEADER for inner pages */
.page-header {
    padding: 200px 0 100px;
    background: linear-gradient(135deg, var(--verde-oscuro), var(--verde-medio));
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-size: 60px;
    color: var(--blanco);
    margin-bottom: 15px;
}

.page-header p {
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.page-header .breadcrumb {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.page-header .breadcrumb a {
    color: var(--oro-claro);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
}

/* NEGOCIOS PAGE */
.negocios-section {
    padding: 80px 0;
    background: var(--marfil);
}

.filtros {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.filtro-btn {
    padding: 12px 28px;
    background: var(--blanco);
    border: 1px solid rgba(0,0,0,0.06);
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--texto-medio);
}

.filtro-btn:hover,
.filtro-btn.active {
    background: var(--verde-oscuro);
    color: var(--blanco);
    border-color: var(--verde-oscuro);
}

.negocios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* NEGOCIO DETAIL */
.detail-section {
    padding: 80px 0;
    background: var(--marfil);
}

.detail-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 60px;
}

.detail-image-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-image {
    height: 400px;
    background: linear-gradient(135deg, var(--verde-oscuro), var(--verde-medio));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.detail-image .big-letter {
    font-family: 'Cormorant Garamond', serif;
    font-size: 140px;
    color: var(--oro);
    opacity: 0.3;
}

.detail-info h1 {
    font-size: 44px;
    color: var(--verde-oscuro);
    margin-bottom: 10px;
}

.detail-info .categoria-badge {
    display: inline-block;
    padding: 6px 18px;
    background: var(--oro-claro);
    color: var(--verde-oscuro);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 20px;
}

.detail-info .descripcion-larga {
    color: var(--texto-medio);
    font-weight: 300;
    margin-bottom: 30px;
    line-height: 1.9;
}

.detail-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.meta-item {
    padding: 15px 20px;
    background: var(--blanco);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.meta-item .label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--oro);
    font-weight: 600;
}

.meta-item .value {
    font-size: 14px;
    color: var(--texto-oscuro);
}

.meta-item .value a {
    color: var(--verde-claro);
    transition: var(--transition);
}

.meta-item .value a:hover {
    color: var(--oro);
}

/* CONTACTO PAGE */
.contacto-section {
    padding: 80px 0;
    background: var(--marfil);
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contacto-info h2 {
    font-size: 36px;
    color: var(--verde-oscuro);
    margin-bottom: 20px;
}

.contacto-info p {
    color: var(--texto-medio);
    font-weight: 300;
    margin-bottom: 40px;
}

.contacto-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contacto-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contacto-item .label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--oro);
    font-weight: 600;
}

.contacto-item .value {
    font-size: 15px;
    color: var(--texto-oscuro);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--texto-medio);
    font-weight: 600;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(0,0,0,0.06);
    background: var(--blanco);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    transition: var(--transition);
    color: var(--texto-oscuro);
}

.form-control:focus {
    outline: none;
    border-color: var(--oro);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.btn-enviar {
    width: 100%;
    padding: 18px;
    background: var(--verde-oscuro);
    color: var(--blanco);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-enviar:hover {
    background: var(--oro);
    color: var(--verde-oscuro);
}

/* NO ICONS - pure text/design */
.no-icon {
    font-feature-settings: normal;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .featured-grid,
    .negocios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .categories-grid,
    .gallery-grid,
    .gallery-full .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .detail-header {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        width: 100%;
        height: auto;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 15px 20px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        backdrop-filter: blur(20px);
        transform: none;
        box-shadow: 0 -2px 40px rgba(0,0,0,0.15);
        overflow: visible;
    }

    .navbar::before {
        display: none;
    }

    .navbar.scrolled {
        padding: 15px 20px;
    }

    .navbar .container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .logo {
        writing-mode: horizontal-tb;
        margin-bottom: 0;
        font-size: 0;
        line-height: 1;
    }

    .logo::after {
        content: 'MENU';
        font-size: 13px;
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        letter-spacing: 3px;
        color: var(--blanco);
        text-transform: uppercase;
    }

    .logo span {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        bottom: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 60, 52, 0.97);
        backdrop-filter: blur(20px);
        padding: 30px;
        gap: 3px;
        align-items: flex-end;
        max-height: 70vh;
        height: auto;
        overflow-y: auto;
        z-index: 1001;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        gap: 5px;
    }

    .hamburger span {
        width: 28px;
        height: 2px;
        background: var(--blanco);
        transition: var(--transition);
    }

    body {
        padding-right: 0;
    }

    .top-logo {
        top: 12px;
        left: 15px;
        font-size: 20px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .section-title {
        font-size: 34px;
    }

    .featured-grid,
    .negocios-grid {
        grid-template-columns: 1fr;
    }

    .categories-grid,
    .gallery-grid,
    .gallery-full .gallery-grid {
        grid-template-columns: 1fr;
    }

    .welcome-stats {
        grid-template-columns: 1fr;
    }

    .contacto-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .page-header h1 {
        font-size: 36px;
    }

    .detail-meta {
        grid-template-columns: 1fr;
    }
}

/* Scroll reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading spinner */
.loading {
    text-align: center;
    padding: 60px 0;
    color: var(--texto-medio);
}

.loading::after {
    content: '';
    display: block;
    width: 40px;
    height: 40px;
    border: 2px solid var(--oro);
    border-top-color: transparent;
    border-radius: 50%;
    margin: 20px auto;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 0;
    color: var(--texto-medio);
}

/* Alert messages */
.alert {
    padding: 16px 24px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background: var(--verde-claro);
    color: var(--blanco);
}

.alert-error {
    background: #c0392b;
    color: var(--blanco);
}

select.form-control {
    appearance: auto;
    -webkit-appearance: auto;
    -moz-appearance: auto;
}

select.form-control option {
    padding: 8px;
}

/* STAR RATING */
.rating-section {
    padding: 15px;
    background: rgba(201,169,110,0.08);
    border-radius: var(--radius);
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.stars-display {
    display: flex;
    gap: 4px;
}

.stars-display.small {
    gap: 2px;
}

.stars-display.small .star {
    font-size: 16px;
}

.star {
    font-size: 28px;
    color: #ddd;
    cursor: default;
    transition: var(--transition);
}

.star.filled {
    color: var(--oro);
    text-shadow: 0 0 8px rgba(201,169,110,0.4);
}

.rating-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-media {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--verde-oscuro);
}

.rating-count {
    font-size: 13px;
    color: var(--texto-medio);
}

.vote-stars {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vote-label {
    font-size: 13px;
    color: var(--texto-medio);
    font-weight: 500;
}

.stars-input {
    display: flex;
    gap: 4px;
}

.star-input {
    font-size: 26px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s, text-shadow 0.2s;
    user-select: none;
}

.star-input:hover {
    transform: scale(1.2);
}

.star-input.selected,
.star-input.active {
    color: var(--oro);
    text-shadow: 0 0 8px rgba(201,169,110,0.5);
}

.vote-msg {
    font-size: 12px;
    font-weight: 500;
    margin-left: 5px;
}

.vote-msg.success {
    color: var(--verde-claro);
}

.vote-msg.error {
    color: #c0392b;
}

.anuncios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}
.anuncio-card {
    background: var(--blanco);
    border-radius: var(--radius);
    box-shadow: var(--sombra-suave);
    padding: 25px;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition);
}
.anuncio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra-media);
}
.anuncio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.anuncio-categoria {
    background: var(--verde-claro);
    color: var(--blanco);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.anuncio-fecha {
    font-size: 12px;
    color: var(--texto-medio);
}
.anuncio-titulo {
    font-size: 18px;
    color: var(--texto-oscuro);
    margin-bottom: 10px;
    line-height: 1.4;
}
.anuncio-descripcion {
    font-size: 14px;
    color: var(--texto-medio);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 15px;
}
.anuncio-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--gris-claro);
}
.anuncio-precio {
    font-size: 22px;
    font-weight: 700;
    color: var(--verde-oscuro);
}
.anuncio-vendedor {
    font-size: 12px;
    color: var(--texto-medio);
}
.anuncio-tuyo {
    display: inline-block;
    margin-top: 12px;
    font-size: 11px;
    background: var(--crema);
    color: var(--verde-oscuro);
    padding: 4px 12px;
    border-radius: 20px;
}
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--texto-medio);
}
.empty-state p {
    font-size: 18px;
}
.form-custom .form-group {
    margin-bottom: 20px;
}
.form-custom label {
    display: block;
    font-weight: 600;
    color: var(--texto-oscuro);
    margin-bottom: 6px;
    font-size: 14px;
}
.form-custom input,
.form-custom select,
.form-custom textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    transition: border-color var(--transition);
}
.form-custom input:focus,
.form-custom select:focus,
.form-custom textarea:focus {
    outline: none;
    border-color: var(--verde-claro);
}
.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}
.alert-error {
    background: #fdeaea;
    color: #c0392b;
    border: 1px solid #f5c6cb;
}
.alert-success {
    background: #eafaf1;
    color: #1a7a3a;
    border: 1px solid #c3e6cb;
}

/* SELECTOR DE IDIOMA */
.lang-flags {
    position: fixed;
    right: 52px;
    top: 12px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(13, 30, 26, 0.75);
    padding: 10px 7px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
}
.lang-flags a {
    display: block;
    width: 26px;
    height: 18px;
    border-radius: 3px;
    overflow: hidden;
    opacity: 0.65;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.lang-flags a:hover {
    opacity: 1;
    transform: scale(1.12);
}
.lang-flags a.active {
    opacity: 1;
    outline: 2px solid var(--oro);
    outline-offset: 1px;
}
.flag-es { background: linear-gradient(to bottom, #aa151b 25%, #f1bf00 25%, #f1bf00 75%, #aa151b 75%); }
.flag-gb {
    background:
        linear-gradient(to bottom, transparent 40%, #C8102E 40%, #C8102E 60%, transparent 60%),
        linear-gradient(to right, transparent 41%, #C8102E 41%, #C8102E 59%, transparent 59%),
        linear-gradient(to bottom, transparent 30%, #ffffff 30%, #ffffff 70%, transparent 70%),
        linear-gradient(to right, transparent 33%, #ffffff 33%, #ffffff 67%, transparent 67%),
        #012169;
}
.flag-fr { background: linear-gradient(to right, #0055a4 33.3%, #ffffff 33.3%, #ffffff 66.6%, #ef4135 66.6%); }
.flag-de { background: linear-gradient(to bottom, #000000 33.3%, #dd0000 33.3%, #dd0000 66.6%, #ffce00 66.6%); }
.flag-gl {
    background:
        linear-gradient(to top right, transparent 43%, #0c6fc4 43%, #0c6fc4 57%, transparent 57%),
        #ffffff;
}
.hero-content .lang-flags {
    position: static;
    transform: none;
    flex-direction: row;
    justify-content: center;
    margin: 0 auto 18px;
    background: transparent;
    padding: 0;
    backdrop-filter: none;
}
@media (max-width: 768px) {
    .lang-flags {
        top: 8px;
        right: 48px;
        padding: 8px 6px;
        gap: 6px;
    }
    .lang-flags a {
        width: 22px;
        height: 15px;
    }
}
