/* =========================================
   11. HOSPITALITY SECTION (Complex Grid)
   ========================================= */

.hospitality-section {
    padding: 2rem 10% 4rem 10%; /* Increased Side Padding */
    width: 100%;
}

/* The Complex Grid Container */
.hosp-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 260px 285px; /* Reduced from 350px 380px */
    gap: 1.2rem; /* Reduced from 1.5rem */
    width: 100%;
    max-width: 1000px; /* Constricted focal width */
    margin: 0 auto; /* Center horizontal */
}

/* Common Tile Styles (Clay) */
.hosp-tile {
    background: var(--surface-color);
    border-radius: 30px; /* Reduced from 40px */
    padding: 1.5rem; /* Reduced from 2rem */
    position: relative;
    overflow: hidden;

    /* Clay Effect */
    box-shadow: var(--shadow-clay);
    border: 1px solid rgba(255, 255, 255, 0.6);

    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.hosp-tile:hover {
    transform: translateY(-5px);
    box-shadow:
        12px 12px 20px #d1d9e6,
        -12px -12px 20px #ffffff;
}

/* --- ROW 1 --- */

/* Block 1: Main Title (Top Left) */
/* Block 1: Main Title Wrapper (Top Left) */
.hosp-block-main-wrapper {
    grid-column: span 5;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Align content to bottom */
    gap: 1.5rem;
    /* Gap between title and card */
    height: 100%;
}

.hosp-big-title {
    font-size: 1.8rem; /* Reduced for single line fit */
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-main);
    margin-bottom: 0;
    /* Handled by gap */
    font-family: var(--font-heading);
    white-space: nowrap; /* Force single line */
}

.highlight-text-dark {
    color: #1b4332;
    /* Dark Green Brand Color */
}

.hosp-content-card {
    background: white;
    padding: 2rem;
    /* Reduced height card */
    height: auto;
    min-height: 220px;
    /* Taller */
    /* Ensure some substance */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-label::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background: black;
    border-radius: 2px;
}

.hosp-number {
    font-size: 6.5rem;
    /* Adjusted to fit */
    font-weight: 800;
    line-height: 0.9;
    color: black;
    letter-spacing: -4px;
    margin-bottom: 1rem;
}

.hosp-title {
    font-size: 1.6rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

/* "Know more" Style Button */
.btn-pill-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 50px;
    padding: 0.25rem 0.4rem 0.25rem 1.2rem; /* Slimmer vertical padding */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    width: fit-content;
    gap: 0.8rem; /* Reduced Gap */
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-pill-group:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.btn-text {
    font-size: 0.85rem; /* Reduced from 0.95rem */
    font-weight: 500;
    color: var(--text-main);
}

.btn-circle-arrow {
    width: 32px; /* Reduced from 40px */
    height: 32px; /* Reduced from 40px */
    background: black;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem; /* Slightly smaller icon */
}

/* Block 2: Revenue (Top Right) */
.hosp-block-revenue {
    grid-column: span 7;
    background: #dbeed5;
    /* Matches the light green ref */
    display: flex;
    flex-direction: row;
    position: relative;
    padding: 0;
}

.revenue-content {
    padding: 2rem; /* Reduced from 3rem */
    position: relative;
    z-index: 2;
    max-width: 60%;
}

.revenue-text {
    font-size: 1.15rem; /* Reduced from 1.5rem */
    font-weight: 600;
    color: #1b4332;
    /* Dark Green */
    line-height: 1.1;
    margin-bottom: 0.8rem;
}

.revenue-sub {
    font-size: 0.95rem;
    color: #2d6a4f;
    /* Medium Dark Green */
    line-height: 1.25;
}

/* --- ROW 2 --- */

/* Block 3: Social Media (Bottom Left - Square) */
.hosp-block-social {
    grid-column: span 4;
    background: #d8e2dc;
    /* Muted Sage Solid Color */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Left Align */
    justify-content: space-between;
    text-align: left;
    position: relative;
    overflow: hidden;
    padding: 0;
}

/* No overlay needed for solid color */

.social-content-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Left Align content */
    gap: 1.2rem; /* Reduced Gap */
    padding: 1.8rem; /* Reduced from 2.5rem */
    height: 100%;
}

.social-icon-box {
    /* "Remove the glowing square" - keeping just the icon content */
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.hosp-tile .tile-title {
    font-size: 1.1rem; /* Uniform across all 4 tiles */
    font-weight: 700;
    color: #1b4332;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.social-desc {
    font-size: 0.72rem; /* Uniform with others */
    color: #2d6a4f;
    line-height: 1.5;
    max-width: 100%;
    margin-top: auto;
}

/* Center Group */
/* Center Group */
.hosp-block-center {
    grid-column: span 5;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Anchors the 2 tiles to the floor */
    gap: 0.8rem; /* Space between header and tiles */
    height: 100%;
}

.hosp-center-header {
    font-size: 1.5rem; /* Reduced from 2rem */
    font-weight: 500;
    line-height: 1.2;
    padding: 0;
    color: var(--text-main);
}

.hosp-center-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    flex: 1;
}

.small-tile {
    background: #fdfdfd;
    border-radius: 20px; /* Reduced for consistency */
    padding: 1.1rem; /* Reduced from 1.2rem for alignment */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-clay);
    border: 1px solid rgba(255, 255, 255, 0.6);
    min-height: 0;
    height: 205px; /* Forced height to match the floor of others */
}

.tag-pill-small {
    align-self: flex-start;
    padding: 0.3rem 0.8rem;
    border: 1px solid #eee;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Block 5: Vertical End (Bottom Right) */
.hosp-block-end {
    grid-column: span 3;
    background: #e0f2f1;
    /* Light Teal */
    position: relative;
}

.end-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: auto;
    /* Push to bottom */
}


/* Responsive */
@media (max-width: 1024px) {
    .hosp-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: auto;
        display: grid;
    }

    .hosp-block-main-wrapper {
        grid-column: span 2;
        width: 100%;
        min-height: 250px;
    }
    
    .hosp-block-revenue {
        grid-column: span 2;
        width: 100%;
    }

    .hosp-block-social,
    .hosp-block-end {
        grid-column: span 1;
        width: 100%;
    }

    .hosp-block-center {
        grid-column: span 2;
    }
    .hosp-center-tiles {
        grid-template-columns: repeat(2, 1fr);
    }
    .hosp-big-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hosp-grid {
        grid-template-columns: 1fr !important;
        display: flex;
        flex-direction: column;
    }
    
    .hosp-block-social,
    .hosp-block-end {
        grid-column: auto;
    }

    .hosp-center-tiles {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   MOBILE LAYOUT OPTIMIZER (320px - 480px)
   ========================================= */
@media (max-width: 480px) {

    .hosp-tile,
    .hosp-content-card,
    .revenue-content,
    .social-content-wrapper {
        padding: 1rem !important;
        /* 16px min padding */
        border-radius: 20px !important;
        /* Slightly smaller radius for visual balance */
    }

    .hosp-big-title {
        font-size: 32px !important;
        /* Increased from 24px */
        line-height: 1.2 !important;
        margin-bottom: 16px !important;
    }

    .hosp-number {
        font-size: 4rem !important;
        /* Scale down giant number */
        letter-spacing: -2px !important;
    }

    .hosp-block-revenue {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .revenue-content {
        max-width: 100% !important;
    }

    /* Stack small tiles */
    .hosp-center-tiles {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}