/* ==========================================================================
   CAYO ICACOS PUERTO RICO — OFFICIAL THEME
   Bright, Cheerful, High-Converting Caribbean Design System
   ========================================================================== */

:root {
    /* Brand Colors: Caribbean Turquoise, Azure & Tropical Coral */
    --primary: #0284c7;
    --primary-dark: #0369a1;
    --primary-light: #e0f2fe;
    --primary-surface: #f0f9ff;
    
    --accent: #f97316;
    --accent-hover: #ea580c;
    --accent-light: #ffedd5;
    
    --palm: #10b981;
    --palm-light: #ecfdf5;
    --sand: #fef3c7;
    --sand-border: #fde68a;
    
    /* Neutrals */
    --text-main: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --bg-alt: #f1f5f9;
    --border-color: #e2e8f0;
    --border-subtle: #edf2f7;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 14px rgba(2, 132, 199, 0.08);
    --shadow-lg: 0 12px 30px -4px rgba(2, 132, 199, 0.12), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 18px 36px -6px rgba(2, 132, 199, 0.18);
    
    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-pill: 9999px;
    
    /* Transitions */
    --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-body);
    background-color: var(--bg-page);
    line-height: 1.75;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.editorial-heading {
    font-family: 'Newsreader', Georgia, serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.container-narrow {
    max-width: 920px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    padding: 0 1.5rem;
    max-width: 1240px;
    margin: 0 auto;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    color: var(--text-body);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary);
    background: var(--primary-surface);
}

.nav-link.active {
    color: var(--primary);
    background: var(--primary-surface);
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.28);
}

.btn-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(249, 115, 22, 0.4);
}

.btn-cta-lg {
    padding: 0.9rem 2rem;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: var(--primary-dark) !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--primary-surface);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Mobile Hamburger */
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.burger span {
    display: block;
    height: 2.5px;
    width: 100%;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */

.breadcrumbs-bar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breadcrumbs-bar a {
    color: var(--primary);
}

.breadcrumbs-bar a:hover {
    text-decoration: underline;
}

.breadcrumbs-sep {
    margin: 0 0.5rem;
    color: var(--text-light);
}

.breadcrumbs-current {
    color: var(--text-main);
    font-weight: 600;
}

/* ==========================================================================
   BRIGHT SUNNY HERO SECTION
   ========================================================================== */

.hero-bright {
    background: linear-gradient(180deg, #e0f2fe 0%, #f0f9ff 50%, var(--bg-page) 100%);
    padding: 3.5rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--sand);
    color: #92400e;
    border: 1px solid var(--sand-border);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.25rem);
    font-weight: 800;
    color: var(--text-main);
    max-width: 900px;
    margin: 0 auto 1.25rem;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    color: var(--text-body);
    max-width: 780px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-media-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid #ffffff;
}

.hero-media-wrapper img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.hero-caption {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.65rem;
}

/* ==========================================================================
   FACTS BAR (Key Stats Overview)
   ========================================================================== */

.facts-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    margin: -1.5rem auto 3rem;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-md);
    max-width: 1100px;
}

.fact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-right: 1px solid var(--border-subtle);
    padding: 0.25rem 0.75rem;
}

.fact-item:last-child {
    border-right: none;
}

.fact-num {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 0.25rem;
    font-feature-settings: "tnum";
}

.fact-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ==========================================================================
   GETYOURGUIDE LIVE WIDGET CONTAINER (Zero CLS Guarantee)
   ========================================================================== */

.gyg-widget-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    margin-bottom: 3.5rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    min-height: 520px;
    display: flex;
    flex-direction: column;
}

.gyg-widget-header {
    margin-bottom: 1.5rem;
}

.gyg-badge {
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
    display: block;
}

.gyg-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.gyg-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 650px;
    margin: 0 auto;
}

/* ==========================================================================
   KEY TAKEAWAYS (TL;DR)
   ========================================================================== */

.takeaways-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #fefce8 100%);
    border: 1.5px solid #bbf7d0;
    border-left: 6px solid #16a34a;
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 3.5rem;
    box-shadow: var(--shadow-md);
}

.takeaways-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.takeaways-title {
    color: #166534;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0;
}

.takeaways-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.takeaways-item {
    position: relative;
    padding-left: 1.75rem;
    color: #14532d;
    font-size: 0.98rem;
    line-height: 1.6;
}

.takeaways-item::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #16a34a;
    font-weight: 800;
    font-size: 1.1rem;
}

/* ==========================================================================
   4-TOUR COMPARISON MATRIX (Standard CRO by Columns)
   ========================================================================== */

.cmp-section {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem;
    margin-bottom: 4rem;
    box-shadow: var(--shadow-md);
}

.cmp-header {
    text-align: center;
    margin-bottom: 2rem;
}

.cmp-table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.cmp-table {
    width: 100%;
    min-width: 860px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.92rem;
    text-align: left;
}

.cmp-table th, .cmp-table td {
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--border-subtle);
    border-right: 1px solid var(--border-subtle);
    vertical-align: top;
}

.cmp-table tr:last-child td {
    border-bottom: none;
}

.cmp-table th:last-child, .cmp-table td:last-child {
    border-right: none;
}

/* Sticky First Column: Feature Labels */
.cmp-th-feature, .cmp-row-label {
    position: sticky;
    left: 0;
    z-index: 5;
    background: #f8fafc !important;
    font-weight: 700;
    color: var(--text-main);
    width: 140px;
    min-width: 130px;
    box-shadow: 3px 0 8px rgba(0, 0, 0, 0.04);
}

/* Tour Column Headers */
.cmp-col-header {
    background: #ffffff;
    text-align: center;
    padding: 1.5rem 1rem !important;
}

.cmp-col-header.bestseller {
    background: #fff7ed;
    border-top: 3px solid var(--accent);
}

.cmp-tour-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0.5rem 0 0.25rem;
    line-height: 1.3;
}

.cmp-tour-rating {
    font-size: 0.85rem;
    color: #d97706;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cmp-tour-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.cmp-tour-price small {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

.cmp-badge {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cmp-badge.viator {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.cmp-badge.gyg {
    background: #fff7ed;
    color: #ea580c;
    border: 1px solid #fed7aa;
}

/* ==========================================================================
   AGGREGATOR PERKS & TOURS CATALOG (For /tickets)
   ========================================================================== */

.aggregator-perks-bright {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    gap: 1.25rem;
    background: #ffffff;
    border: 1.5px solid var(--primary-light);
    border-radius: var(--radius-lg);
    padding: 1.25rem 2rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-md);
}

.perk-pill {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text-main);
}

.perk-icon-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.tours-catalog {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.tour-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.tour-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.tour-card-thumb {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #e2e8f0;
}

.tour-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tour-card:hover .tour-card-thumb img {
    transform: scale(1.05);
}

.tour-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.tour-card-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    color: #ffffff;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
}

.tour-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tour-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.tour-card-rating {
    color: #d97706;
    font-weight: 700;
}

.tour-card-dock {
    color: var(--primary);
    font-weight: 600;
}

.tour-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.35;
    margin-bottom: 0.75rem;
}

.tour-card-desc {
    color: var(--text-body);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.tour-card-inclusions {
    background: var(--primary-surface);
    border: 1px solid var(--primary-light);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.84rem;
    color: var(--text-main);
    margin-bottom: 1.25rem;
}

.tour-card-inclusions strong {
    color: var(--primary-dark);
}

.tour-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.25rem;
    margin-top: auto;
}

.tour-card-price-box {
    display: flex;
    flex-direction: column;
}

.tour-card-price-val {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
}

.tour-card-price-eur {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ==========================================================================
   RED FLAGS LIST
   ========================================================================== */

.flag-list {
    background: #fff5f5;
    border: 1.5px solid #fed7d7;
    border-left: 6px solid #ef4444;
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 3.5rem 0;
    box-shadow: var(--shadow-sm);
}

.flag-list-title {
    color: #991b1b;
    font-size: 1.35rem;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.flag-item {
    padding: 1rem 0;
    border-bottom: 1px dashed #fca5a5;
}

.flag-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.flag-item-title {
    color: #7f1d1d;
    font-weight: 800;
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
    display: block;
}

.flag-item-desc {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   IN-ARTICLE CONVERSION CTA BOX
   ========================================================================== */

.article-cta-box {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2.5rem;
    margin: 3.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(2, 132, 199, 0.25);
}

@media (min-width: 768px) {
    .article-cta-box {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.article-cta-content h3 {
    color: #ffffff;
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.article-cta-content p {
    color: #e0f2fe;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.article-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #ffffff !important;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.article-cta-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */

.faq-section {
    margin: 3.5rem 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-light);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.25rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.faq-toggle-icon {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 400;
    transition: transform 0.2s ease;
    line-height: 1;
}

.faq-item.active .faq-toggle-icon, .faq-item.open .faq-toggle-icon {
    transform: rotate(45deg);
    color: var(--accent);
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.25rem;
    color: var(--text-body);
    font-size: 0.98rem;
    line-height: 1.7;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1rem;
}

.faq-item.active .faq-answer, .faq-item.open .faq-answer {
    display: block;
}

/* ==========================================================================
   AUTHOR BIO CARD
   ========================================================================== */

.author-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 3.5rem 0 2rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .author-card {
        flex-direction: row;
        align-items: center;
    }
}

.author-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: var(--text-main);
}

.author-role {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.65rem;
    display: block;
}

.author-bio {
    font-size: 0.94rem;
    color: var(--text-body);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   RELATED HUBS GRID
   ========================================================================== */

.related-hubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.hub-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.hub-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.hub-card h4 {
    font-size: 1.15rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.hub-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   FOOTER (Clean & Crisp)
   ========================================================================== */

.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 4.5rem 0 2rem;
    margin-top: 5rem;
    border-top: 3px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-brand p {
    font-size: 0.92rem;
    line-height: 1.65;
    margin-top: 1rem;
    color: #cbd5e1;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.92rem;
}

.footer-links a:hover {
    color: #38bdf8;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 1.75rem;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}

/* ==========================================================================
   MOBILE STICKY BAR
   ========================================================================== */

.sticky-book {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 0.85rem 1.5rem;
    z-index: 999;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sticky-book-info {
    display: flex;
    flex-direction: column;
}

.sticky-book-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.sticky-book-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
}

.sticky-book-price small {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 992px) {
    .burger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem;
        gap: 0.75rem;
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    
    .btn-cta {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }

    .facts-bar {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 1.5rem;
    }
    
    .fact-item:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 600px) {
    .facts-bar {
        grid-template-columns: 1fr;
    }
    
    .fact-item {
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
        padding-bottom: 0.75rem;
    }
    
    .fact-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}
