/* Custom Properties / Variables */
:root {
    --primary-color: #c3a343;
    /* Dorado elegante, arena */
    --primary-color-dark: #a38531;
    --secondary-color: #2c3e50;
    /* Azul marino profundo */
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-light: #fafafa;
    --black: #1a1a1a;
    --white: #ffffff;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--black);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

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

.mt-4 {
    margin-top: 2rem;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-padding {
    padding: 5rem 0;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--primary-color-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--black);
    border: 1px solid var(--black);
}

.btn-secondary:hover {
    background-color: var(--black);
    color: var(--white);
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-body);
    font-size: 1.45rem;
    font-weight: 500;
    color: var(--black);
    letter-spacing: 0.5px;
}

.logo-de {
    color: #a4863f;
}

.logo-com {
    color: #a4863f;
    font-size: 0.8em;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    border: none;
    background: transparent;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition);
    background-color: var(--black);
}

/* Hero Section */
.hero {
    height: 70vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    margin-top: 0;
}

.hero-content h1 {
    color: var(--white);
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: #fff;
}

/* Intro Section */
.intro {
    padding: 6rem 20px;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.intro-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
}

.intro-text p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Hotels Grid */
.hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    /* Margen lateral en pantallas medianas para que no quede pegado */
    padding: 0 4px;
}

.hotel-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    animation: fadeIn 0.8s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

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

.hotel-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.hotel-card:hover .hotel-image img {
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
}

.hotel-content {
    padding: 1.5rem;
}

.hotel-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.hotel-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.link-btn {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.link-btn span {
    transition: transform 0.3s ease;
}

.link-btn:hover span {
    transform: translateX(5px);
    color: var(--primary-color-dark);
}

.link-btn:hover {
    color: var(--primary-color-dark);
}

/* Footer Styles */
.footer {
    background-color: #1a1a1a;
    color: var(--white);
    font-family: 'Inter', sans-serif;
}

.footer-primary {
    padding: 4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-logo-side {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.footer-logo-side .logo {
    color: var(--white);
    font-size: 1.8rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 450px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-contact-side {
    text-align: center;
}

.footer-contact-side h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.footer .contact-info {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
}

.contact-info p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    color: var(--white);
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-icon svg {
    width: 32px;
    height: 32px;
}

.social-icon.wa {
    background-color: #25d366;
}

.social-icon.fb {
    background-color: #1877f2;
}

.social-icon.ig {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .footer-socials {
        justify-content: center;
    }

    .social-icon {
        width: 65px;
        height: 65px;
    }

    .social-icon svg {
        width: 38px;
        height: 38px;
    }
}

/* Network Section */
.footer-network {
    background-color: #111111;
    padding: 4rem 0;
}

.footer-network h3 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 3.5rem;
    color: var(--primary-color);
}

.network-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2.5rem;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.network-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    width: 100%;
}

.network-item img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.2rem;
    border: 3px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: grayscale(100%) brightness(0.8);
}

.network-item span {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.network-item:hover {
    color: var(--primary-color);
}

.network-item:hover img {
    border-color: var(--primary-color);
    transform: scale(1.15) rotate(5deg);
    filter: grayscale(0%) brightness(1);
    box-shadow: 0 10px 20px rgba(195, 163, 67, 0.2);
}

.footer-bottom {
    background-color: #0c0c0c;
    padding: 1.5rem 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal a:hover {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
}

.flex-sb {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .footer-flex {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .footer-logo-side {
        min-width: 100%;
        text-align: center;
    }

    .footer-logo-side .logo {
        font-size: 1.5rem;
        /* Reduced from 1.8rem */
        line-height: 1.2;
        word-wrap: break-word;
    }

    .footer-contact-side {
        text-align: center;
        width: 100%;
    }

    .footer-tagline {
        margin: 1.2rem auto 0;
    }

    .network-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 2rem;
    }

    .flex-sb {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.1rem;
        /* Reduced for very small devices */
    }

    .footer-logo-side .logo {
        font-size: 1.3rem;
        /* Further reduced for footer on small devices */
    }
}

/* Contact Specific */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-info {
    background-color: var(--bg-light);
    padding: 3rem;
    border-radius: 8px;
}

/* Page Header (for inner pages) */
.page-header {
    height: 40vh;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: 0;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.page-header h1 {
    color: var(--white);
    font-size: 3rem;
    position: relative;
    z-index: 10;
}

.main-wrapper {
    padding-top: 80px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .contact-wrap {
        grid-template-columns: 1fr;
    }

    .intro {
        padding: 4rem 20px;
        margin-top: 2rem;
    }

    .intro-text h2 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .intro-text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* === PADDING MOBILE GLOBAL === */
    .container {
        padding: 0 20px;
    }

    /* Secciones que combinan section-padding + container */
    .section-padding {
        padding: 3rem 20px;
    }

    /* Grilla de hoteles: 1 columna, sin que llegue al filo */
    .hotels-grid {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 1.4rem;
    }

    /* Heading de categoría: centrado y con margen izquierdo */
    .cat-title {
        display: block;
        text-align: center;
        border-bottom: none;
        border-top: none;
        border-left: 4px solid var(--primary-color);
        padding-left: 1rem;
        text-align: left;
        margin-left: 0;
    }

    .category-section {
        padding: 0 4px;
    }
}

/* ===========================
   HOTEL DETAIL PAGE STYLES
   (Global for all 24 hotels)
=========================== */

.hotel-page-header {
    padding: 2.5rem 0 1rem;
    border-bottom: 1px solid #eee;
}

.hotel-page-header h1 {
    font-size: 2.2rem;
    margin-bottom: 0.3rem;
}

.hotel-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 0.4rem;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fff8e6;
    border: 1px solid #c3a343;
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #a38531;
}

.category-tag {
    background: #f0f0f0;
    border-radius: 20px;
    padding: 2px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #555;
}

/* Gallery (Extra grande y llamativa) */
.photo-gallery {
    margin: 2rem 0;
    overflow: hidden;
}

.gallery-scroll-container {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    cursor: grab;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f0f0f0;
}

.gallery-scroll-container:active {
    cursor: grabbing;
}

.gallery-scroll-container::-webkit-scrollbar {
    height: 5px;
}

.gallery-scroll-container::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.gallery-scroll-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.gallery-photo {
    flex: 0 0 auto;
    width: 340px;
    height: 480px;
    border-radius: 16px;
    overflow: hidden;
    scroll-snap-align: start;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.gallery-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-photo:hover img {
    transform: scale(1.04);
}

/* Capsules */
.capsule {
    background: #fff;
    border-radius: 14px;
    padding: 1.8rem 2rem;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
    margin-bottom: 1.4rem;
    border: 1px solid #f0f0f0;
}

.capsule-title {
    font-size: 1.3rem;
    font-family: var(--font-heading);
    margin-bottom: 1.2rem;
    color: var(--black);
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #f5f5f5;
}

/* Room types */
.room-group {
    margin-bottom: 1.4rem;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid #f5f5f5;
}

.room-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.room-type-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f5e6c8, #eddba0);
    color: #8a6910;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 0.6rem;
}

.room-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--text-color);
}

.room-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Amenities */
.amenities-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.amenity-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.4;
}

/* Rates */
.rates-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rate-section {
    background: #fafafa;
    border-radius: 10px;
    padding: 1rem 1.2rem;
    border: 1px solid #f0e8d0;
}

.rate-season {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #a38531;
    margin-bottom: 0.7rem;
    font-weight: 700;
}

.rate-rows {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rate-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.rate-row:last-child {
    border-bottom: none;
}

.rate-label {
    color: var(--text-light);
    flex: 1;
    text-align: left;
}

.rate-price {
    font-weight: 700;
    color: var(--text-color);
    white-space: nowrap;
    margin-left: 1rem;
}

.rate-note {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 1rem;
    font-style: italic;
    line-height: 1.6;
}

/* Contact / Booking Buttons */
.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    border-radius: 10px;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-bottom: 1.2rem;
}

.btn-whatsapp:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
}

.btn-booking {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #003B95;
    color: #fff;
    border-radius: 10px;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-bottom: 1.2rem;
    margin-top: 0.5rem;
}

.btn-booking:hover {
    background: #00225A;
    transform: translateY(-2px);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text-light);
}

.contact-row a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-row a:hover {
    text-decoration: underline;
}

/* Map */
.map-container {
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
    margin-top: 1rem;
}

/* Policies */
.policy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.policy-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.policy-label {
    font-size: 0.78rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.policy-value {
    font-size: 0.95rem;
    font-weight: 600;
}

.hotel-detail-layout {
    max-width: 860px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hotel-page-header h1 {
        font-size: 1.7rem;
    }

    .amenities-list {
        grid-template-columns: 1fr;
    }

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

    .gallery-photo {
        width: 260px;
        height: 380px;
    }

    .capsule {
        padding: 1.4rem 1.2rem;
    }
}

/* ============================
   MAGAZINE CATEGORY GRID
============================ */
.cat-magazine-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: 430px 280px;
    gap: 1.2rem;
}

.cat-card-large {
    grid-column: 1;
    grid-row: 1;
}

.cat-stack {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.cat-stack .cat-card {
    flex: 1;
}

.cat-card-bottom {
    grid-row: 2;
    grid-column: span 1;
}

.cat-card {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
}

.cat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.15) 55%, transparent 100%);
    z-index: 1;
    transition: background 0.4s ease;
}

.cat-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
}

.cat-card:hover::before {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.3) 55%, rgba(0, 0, 0, 0.05) 100%);
}

.cat-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 2rem;
    color: #fff;
}

.cat-tag {
    display: inline-block;
    background: #c3a343;
    /* Solid primary color */
    color: #fff;
    /* White text for better contrast */
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 0.8rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cat-card-overlay h3 {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    margin-bottom: 0.35rem;
    line-height: 1.2;
}

.cat-card-large .cat-card-overlay h3 {
    font-size: 2.4rem;
}

.cat-card-overlay p {
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.cat-cta {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #c3a343;
    text-transform: uppercase;
    transition: letter-spacing 0.3s ease;
}

.cat-card:hover .cat-cta {
    letter-spacing: 3px;
}

@media (max-width: 768px) {
    .cat-magazine-grid {
        grid-template-columns: 1fr;
        grid-template-rows: unset;
    }

    .cat-card-large,
    .cat-stack,
    .cat-card-bottom {
        grid-column: 1;
        grid-row: auto;
    }

    .cat-card-large {
        min-height: 300px;
    }

    .cat-stack {
        flex-direction: column;
        min-height: unset;
    }

    .cat-stack .cat-card {
        min-height: 220px;
    }

    .cat-card-bottom {
        min-height: 220px;
    }

    .cat-card-large .cat-card-overlay h3 {
        font-size: 1.8rem;
    }
}

/* Tourist Guide Styles */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.guide-item {
    text-align: left;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.guide-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.guide-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.guide-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 0.8rem;
}

.guide-item p {
    font-size: 0.95rem;
    color: #5c6b7a;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 480px) {
    .guide-grid {
        grid-template-columns: 1fr;
    }
}

/* Partners & Business Section - Gray Capsule Final */
.partners-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f5 100%);
    padding: 4rem 2.5rem;
    border-radius: 24px;
    color: var(--text-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.partners-header {
    margin-bottom: 3.5rem;
}

.partners-header h2 {
    font-size: 2.2rem;
    line-height: 1.2;
    color: var(--secondary-color);
    margin: 0;
    font-family: var(--font-heading);
}

.partners-features {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    /* Espaciado generoso entre bloques */
    margin-bottom: 4rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-icon {
    background: #ffffff;
    color: var(--primary-color);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-text h4 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    /* Salto de línea visual entre título y texto */
    color: var(--secondary-color);
}

.feature-text p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Form Groups & Inputs */
.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(195, 163, 67, 0.1);
    outline: none;
}

.submit-btn-wrap {
    margin-top: 3rem;
}

.partners-cta {
    background: #25d366;
    /* Color WhatsApp oficial */
    color: #fff !important;
    padding: 1.4rem 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 700;
    width: 100%;
}

.partners-cta:hover {
    background: #20ba5a;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.partners-cta .cta-whatsapp-icon {
    width: 22px;
    /* Tamaño uniforme con la tipografía */
    height: 22px;
}