:root {
    --guide-red: #ff6b5f;
    --guide-red-dark: #d64a3e;
    --guide-ink: #101828;
    --guide-slate: #475467;
    --guide-soft: #667085;
    --guide-line: #eaecf0;
    --guide-sand: #fff7ef;
    --guide-rose: #fff1f0;
    --guide-sea: #edf7ff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--guide-ink);
    background:
        radial-gradient(circle at top right, rgba(255, 107, 95, 0.14), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #fff8f4 28%, #f4f7fb 100%);
}

.guides-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(16, 24, 40, 0.06);
}

.guides-back {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 12px;
    background: #f2f4f7;
    color: #344054;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.guides-topbar img {
    width: 32px;
    height: 32px;
}

.guides-topbar-title {
    min-width: 0;
    flex: 1;
}

.guides-topbar-title strong {
    display: block;
    font-family: 'Nunito', sans-serif;
    font-size: 1.05rem;
}

.guides-topbar-title span {
    display: block;
    color: var(--guide-soft);
    font-size: 0.85rem;
}

.guides-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 48px;
    display: grid;
    gap: 24px;
}

.guides-hero {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    padding: clamp(26px, 5vw, 44px);
    color: white;
    background:
        linear-gradient(135deg, rgba(16, 24, 40, 0.84), rgba(32, 48, 86, 0.68)),
        radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.18), transparent 20%),
        url("../images/guides/travellers-coast.jpg") center center / cover no-repeat;
    box-shadow: 0 26px 80px rgba(16, 24, 40, 0.24);
}

.guides-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.guides-hero h1 {
    margin: 16px 0 10px;
    font-family: 'Nunito', sans-serif;
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 0.98;
}

.guides-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1rem;
    line-height: 1.7;
}

.guides-hero-stats {
    margin-top: 22px;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.guides-hero-stat {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.guides-hero-stat strong {
    display: block;
    font-family: 'Nunito', sans-serif;
    font-size: 1.3rem;
}

.guides-section {
    display: grid;
    gap: 16px;
}

.guides-visual-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guides-visual-card {
    overflow: hidden;
    border-radius: 26px;
    background: white;
    border: 1px solid rgba(16, 24, 40, 0.08);
    box-shadow: 0 18px 44px rgba(16, 24, 40, 0.08);
}

.guides-visual-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.guides-visual-copy {
    padding: 18px;
    display: grid;
    gap: 8px;
}

.guides-visual-copy span {
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--guide-red-dark);
}

.guides-visual-copy h3 {
    margin: 0;
    font-family: 'Nunito', sans-serif;
    font-size: 1.08rem;
}

.guides-visual-copy p {
    margin: 0;
    color: var(--guide-slate);
    line-height: 1.65;
    font-size: 0.92rem;
}

.guides-section-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: end;
}

.guides-section-header h2 {
    margin: 0;
    font-family: 'Nunito', sans-serif;
    font-size: 1.6rem;
}

.guides-section-header p {
    margin: 0;
    color: var(--guide-soft);
    line-height: 1.65;
    max-width: 680px;
}

.guides-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-story-card,
.guide-practical-card,
.guide-deep-card {
    border-radius: 24px;
    background: white;
    border: 1px solid rgba(16, 24, 40, 0.08);
    box-shadow: 0 14px 40px rgba(16, 24, 40, 0.06);
}

.guide-story-card {
    padding: 20px;
    display: grid;
    gap: 14px;
}

.guide-story-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.guide-story-card h3 {
    margin: 0;
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
}

.guide-story-badge {
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--guide-rose);
    color: var(--guide-red-dark);
    font-size: 0.76rem;
    font-weight: 800;
    flex-shrink: 0;
}

.guide-story-copy {
    color: var(--guide-slate);
    line-height: 1.7;
    font-size: 0.94rem;
}

.guide-story-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.guide-story-tag {
    padding: 7px 10px;
    border-radius: 999px;
    background: #f9fafb;
    border: 1px solid var(--guide-line);
    color: var(--guide-slate);
    font-size: 0.78rem;
    font-weight: 700;
}

.guide-story-bottom {
    padding-top: 14px;
    border-top: 1px solid var(--guide-line);
    color: var(--guide-soft);
    font-size: 0.85rem;
    line-height: 1.6;
}

.guides-practical-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-practical-card {
    padding: 20px;
    background: linear-gradient(180deg, #fff, #fffbf8);
}

.guide-practical-card h3 {
    margin: 0 0 8px;
    font-family: 'Nunito', sans-serif;
    font-size: 1.05rem;
}

.guide-practical-card p {
    margin: 0;
    color: var(--guide-slate);
    line-height: 1.65;
    font-size: 0.92rem;
}

.guides-deep-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-deep-card {
    padding: 20px;
    display: grid;
    gap: 14px;
}

.guide-deep-card h3 {
    margin: 0;
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
}

.guide-deep-card p {
    margin: 0;
    color: var(--guide-slate);
    line-height: 1.65;
    font-size: 0.92rem;
}

.guide-deep-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    width: fit-content;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--guide-line);
    background: #fff;
    text-decoration: none;
    color: #344054;
    font-size: 0.85rem;
    font-weight: 800;
}

.guides-footer-note {
    padding: 18px 20px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--guide-sea), var(--guide-sand));
    border: 1px solid rgba(16, 24, 40, 0.08);
    color: var(--guide-slate);
    line-height: 1.7;
}

.guides-footer-note strong {
    color: var(--guide-ink);
}

@media (max-width: 980px) {
    .guides-visual-grid,
    .guides-grid,
    .guides-practical-grid,
    .guides-deep-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .guides-hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .guides-shell {
        width: min(100%, calc(100% - 20px));
    }

    .guides-visual-grid,
    .guides-grid,
    .guides-practical-grid,
    .guides-deep-grid,
    .guides-hero-stats {
        grid-template-columns: 1fr;
    }

    .guides-section-header {
        display: grid;
    }
}
