/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #F2E8DC;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Page Hero */
.page-hero {
    background: #2e1a08;
    color: #ffffff;
    padding: 8rem 1.5rem 4rem;
    text-align: center;
}

.page-hero--narrow {
    padding: 6rem 1.5rem 2.5rem;
}

.page-hero__container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-hero__title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.page-hero__subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 6.5rem 1.5rem 3rem;
    }

    .page-hero--narrow {
        padding: 5rem 1.5rem 2rem;
    }

    .page-hero__title {
        font-size: 1.9rem;
    }

    .page-hero__subtitle {
        font-size: 1rem;
    }
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: #c5500a;
    color: #2e1a08;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
    z-index: 900;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
}

.back-to-top--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #C1440E;
    color: #ffffff;
    transform: translateY(-3px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    padding: 1rem 0;
}

.navbar--scrolled {
    background: rgba(242, 232, 220, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

.navbar__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.navbar__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: #ffffff;
    flex-shrink: 0;
}

.navbar--scrolled .navbar__logo {
    color: #2e1a08;
}

.navbar__logo img {
    height: 60px;
    width: auto;
}

.navbar__menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar__dropdown {
    position: relative;
}

.navbar__dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
}

.navbar__dropdown-toggle::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-right: 0.45rem;
    vertical-align: middle;
    transform: translateY(-1px);
}

.navbar__dropdown-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: -0.75rem;
    min-width: 220px;
    background: #ffffff;
    border: 1px solid rgba(11, 29, 46, 0.1);
    border-radius: 12px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.16);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1200;
}

.navbar__dropdown:hover .navbar__dropdown-menu,
.navbar__dropdown:focus-within .navbar__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar__dropdown-link {
    display: block;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    color: rgba(26, 26, 26, 0.9);
    font-size: 0.92rem;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

.navbar__dropdown-link:hover {
    background: rgba(197, 80, 10, 0.12);
    color: #2e1a08;
}

.navbar__link {
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s ease;
    position: relative;
}

.navbar--scrolled .navbar__link {
    color: rgba(26, 26, 26, 0.85);
}

.navbar__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #c5500a;
    transition: width 0.3s ease;
}

.navbar__link:hover {
    color: #ffffff;
}

.navbar--scrolled .navbar__link:hover {
    color: #1a1a1a;
}

.navbar__link:hover::after {
    width: 100%;
}

.navbar__cta {
    flex-shrink: 0;
    padding: 0.6rem 1.4rem;
    background: #c5500a;
    color: #2e1a08;
    font-weight: 600;
    border-radius: 50px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.navbar__cta:hover {
    background: #C1440E;
    color: #ffffff;
    transform: translateY(-2px);
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.navbar__toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar--scrolled .navbar__toggle span {
    background: #1a1a1a;
}

/* Offcanvas */
.offcanvas {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 85vw);
    height: 100vh;
    background: #2e1a08;
    z-index: 1100;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4);
}

.offcanvas--open {
    transform: translateX(0);
}

.offcanvas__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}

.offcanvas__logo img {
    height: 45px;
    width: auto;
}

.offcanvas__close {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: background 0.2s ease;
}

.offcanvas__close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.offcanvas__close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
}

.offcanvas__close span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.offcanvas__close span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.offcanvas__nav {
    flex: 1;
}

.offcanvas__menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.offcanvas__dropdown-toggle {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.offcanvas__submenu {
    display: none;
    margin: 0.35rem 0 0.5rem;
    padding-left: 0.9rem;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.offcanvas__dropdown--open .offcanvas__submenu {
    display: block;
}

.offcanvas__sublink {
    display: block;
    padding: 0.5rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.offcanvas__sublink:hover {
    color: #c5500a;
    padding-left: 0.35rem;
}

.offcanvas__link {
    display: block;
    padding: 0.9rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.offcanvas__link:hover {
    color: #c5500a;
    padding-left: 0.5rem;
}

.offcanvas__cta {
    margin-top: 1.5rem;
    padding: 1rem;
    text-align: center;
    background: #c5500a;
    color: #2e1a08;
    font-weight: 700;
    border-radius: 50px;
    transition: background 0.2s ease;
}

.offcanvas__cta:hover {
    background: #C1440E;
    color: #ffffff;
}

.offcanvas__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.offcanvas__backdrop--visible {
    opacity: 1;
    visibility: visible;
}

body.offcanvas--locked {
    overflow: hidden;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero__video {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero__video-item {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero__video-item--active {
    opacity: 1;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(11, 29, 46, 0.5) 0%,
        rgba(11, 29, 46, 0.3) 50%,
        rgba(11, 29, 46, 0.7) 100%
    );
    z-index: -1;
}

.hero__content {
    max-width: 800px;
    padding: 0 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero__logo {
    max-width: min(70vw, 420px);
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.4));
}

.btn {
    display: inline-block;
    padding: 0.55rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn--primary {
    background: #c5500a;
    color: #2e1a08;
}

.btn--primary:hover {
    background: #C1440E;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn--outline {
    border: 2px solid #c5500a;
    color: #c5500a;
    background: transparent;
}

.btn--outline:hover {
    background: #c5500a;
    color: #fff;
    transform: translateY(-2px);
}

/* Marquee */
.marquee {
    background: #F2E8DC;
    color: #000;
    padding: 0.75rem 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee__track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 20s linear infinite;
}

.marquee__text {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    padding: 0 5rem;
    flex-shrink: 0;
}

.marquee--static {
    overflow: hidden;
    white-space: normal;
    padding: 1.25rem 1rem;
}

.marquee__track--static {
    width: min(1200px, 100%);
    margin: 0 auto;
    justify-content: center;
    animation: none;
}

.marquee__text--static {
    display: block;
    max-width: 100%;
    padding: 0;
    font-size: clamp(1.9rem, 3.8vw, 3.5rem);
    text-transform: none;
    letter-spacing: 0.045em;
    text-align: center;
    line-height: 1.2;
}

.marquee__text--static::before,
.marquee__text--static::after {
    font-size: 1.25em;
    line-height: 0;
    vertical-align: -0.08em;
}

.marquee__text--static::before {
    content: "\201C";
    margin-right: 0.2em;
}

.marquee__text--static::after {
    content: "\201D";
    margin-left: 0.2em;
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 900px) {
    .marquee {
        display: none;
    }
}

/* Feature split */
.feature-split {
    background: #F2E8DC;
}

.feature-split__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 100vh;
}

.feature-split__gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.feature-split__image {
    overflow: hidden;
}

.feature-split__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.feature-split__image:hover img {
    transform: scale(1.05);
}

.feature-split__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.5rem;
    padding: 4rem 8vw;
}

.feature-split__label {
    color: #c5500a;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.feature-split__content h1,
.feature-split__content h2 {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: #1a1a1a;
}

.feature-split__content p {
    color: rgba(26, 26, 26, 0.75);
    font-size: 1.1rem;
    line-height: 1.8;
}

@media (max-width: 900px) {
    .feature-split__container {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .feature-split__gallery {
        order: 2;
        min-height: 60vh;
    }

    .feature-split__content {
        order: 1;
        padding: 4rem 1.5rem;
    }
}

/* Tour categories */
.tour-categories {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #F2E8DC;
}

.tour-categories__header {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 5rem 1.5rem 2.5rem;
}

.tour-categories__label {
    display: inline-block;
    color: #c5500a;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.tour-categories__header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #1a1a1a;
}

.tour-categories__grid {
    position: relative;
    z-index: 2;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 50vh;
    overflow: hidden;
}

.tour-categories__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.tour-categories__bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.tour-categories__bg-img[data-category="default"] {
    opacity: 1;
}

.tour-categories__bg-img--active {
    opacity: 1;
}

.tour-categories__overlay {
    position: absolute;
    inset: 0;
    background: rgba(46, 26, 8, 0.1);
    z-index: 1;
}

.tour-categories__panel {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    color: #c5500a;
    text-decoration: none;
    transition: background 0.35s ease;
    position: relative;
}

.tour-categories__panel:last-child {
    border-right: none;
}

.tour-categories__panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(46, 26, 8, 0.6) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.tour-categories__panel:hover::before {
    opacity: 1;
}

.tour-categories__panel > * {
    position: relative;
    z-index: 1;
}

.tour-categories__number {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.35s ease;
}

.tour-categories__panel:hover .tour-categories__number {
    color: #c5500a;
}

.tour-categories__panel h3 {
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    transition: color 0.35s ease;
}

.tour-categories__panel:hover h3 {
    color: #c5500a;
}

@media (max-width: 900px) {
    .tour-categories__grid {
        display: block;
        min-height: auto;
    }

    .tour-categories__bg,
    .tour-categories__overlay,
    .tour-categories__panel::before {
        display: none;
    }

    .tour-categories__panel {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 1.5rem;
        border-bottom: 1px solid rgba(26, 26, 26, 0.12);
        min-height: auto;
        background: transparent;
    }

    .tour-categories__panel:last-child {
        border-bottom: none;
    }

    .tour-categories__panel h3 {
        color: #1a1a1a;
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        margin-bottom: 0;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .tour-categories__number {
        color: #c5500a;
        margin-bottom: 0;
        font-size: 0.8rem;
        order: 2;
    }
}

/* Affiliates */
.affiliates {
    background: #F2E8DC;
    padding: 4rem 1.5rem;
}

.affiliates__container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.affiliates__label {
    color: #c5500a;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.affiliates__bar {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    align-items: center;
}

.affiliates__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
    flex: 0 0 calc((100% - 8rem) / 9);
    max-width: calc((1280px - 8rem) / 9);
}

.affiliates__logo:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.affiliates__logo img {
    max-width: 100%;
    max-height: 150px;
    width: auto;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.2s ease;
}

.affiliates__logo:hover img {
    filter: grayscale(0%);
}

@media (max-width: 1100px) {
    .affiliates__logo {
        flex: 0 0 calc((100% - 3rem) / 4);
        max-width: calc((1280px - 3rem) / 4);
    }
}

@media (max-width: 600px) {
    .affiliates__bar {
        gap: 1.5rem;
    }

    .affiliates__logo {
        flex: 0 0 calc((100% - 3rem) / 3);
        max-width: calc((1280px - 3rem) / 3);
    }

    .affiliates__logo img {
        max-height: 100px;
    }
}

/* Featured Blog */
.featured-blog {
    background: #F2E8DC;
    padding: 2rem 1.5rem;
}

.featured-blog__container {
    max-width: 1280px;
    margin: 0 auto;
}

.featured-blog__header {
    text-align: center;
    margin-bottom: 3rem;
}

.featured-blog__label {
    display: block;
    color: #c5500a;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.featured-blog__header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #2e1a08;
    line-height: 1.2;
}

.featured-blog__grid {
    --featured-columns: 4;
    display: grid;
    grid-template-columns: repeat(var(--featured-columns), minmax(240px, 300px));
    gap: 1.5rem;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
}

.blog-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 300px;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.blog-card__link {
    display: block;
    height: 100%;
}

.blog-card__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__media img {
    transform: scale(1.06);
}

.blog-card__content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.blog-card__category {
    display: inline-block;
    align-self: flex-start;
    padding: 0.25rem 0.75rem;
    background: rgba(244, 162, 97, 0.15);
    color: #C1440E;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
}

.blog-card__date {
    font-size: 0.8rem;
    color: rgba(26, 26, 26, 0.55);
    font-weight: 600;
}

.blog-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2e1a08;
    line-height: 1.35;
}

.blog-card__excerpt {
    font-size: 0.9rem;
    color: rgba(26, 26, 26, 0.75);
    line-height: 1.55;
}

.blog-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 0.5rem;
    color: #c5500a;
    font-weight: 700;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.blog-card__cta::after {
    content: '\2192';
    transition: transform 0.2s ease;
}

.blog-card:hover .blog-card__cta {
    color: #C1440E;
}

.blog-card:hover .blog-card__cta::after {
    transform: translateX(4px);
}

.featured-blog__footer {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.blog-list {
    background: #F2E8DC;
    padding: 2rem 1.5rem 4rem;
}

.blog-list__container {
    max-width: 1280px;
    margin: 0 auto;
}

.blog-list__header {
    text-align: center;
    margin-bottom: 2.25rem;
}

.blog-list__header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #2e1a08;
    line-height: 1.2;
}

.blog-list__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.blog-list__grid .blog-card {
    max-width: none;
}

/* Read Post */
.read-post {
    background: #F2E8DC;
    padding: 2.5rem 1.5rem 4rem;
}

.read-post__container {
    max-width: 920px;
    margin: 0 auto;
}

.read-post__article,
.read-post__state {
    background: none;
    border: none;
    border-radius: 18px;
    padding: 2rem;
}

.read-post__header {
    margin-bottom: 1.75rem;
}

.read-post__category {
    display: inline-block;
    align-self: flex-start;
    padding: 0.25rem 0.75rem;
    background: rgba(244, 162, 97, 0.15);
    color: #C1440E;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 0.9rem;
}

.read-post__title {
    font-size: 2rem;
    font-weight: 800;
    color: #2e1a08;
    line-height: 1.2;
    margin-bottom: 0.85rem;
}

.read-post__blurb {
    color: rgba(26, 26, 26, 0.75);
    font-size: 1.02rem;
}

.read-post__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
    color: rgba(26, 26, 26, 0.66);
    font-size: 0.92rem;
    font-weight: 600;
}

.read-post__meta-separator {
    color: rgba(26, 26, 26, 0.4);
}

.read-post__media {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1.6rem;
    background: #f3ede4;
}

.read-post__media img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
}

.read-post__content {
    color: rgba(26, 26, 26, 0.92);
    font-size: 1.03rem;
}

.read-post__content h1,
.read-post__content h2,
.read-post__content h3,
.read-post__content h4 {
    color: #2e1a08;
    line-height: 1.25;
    margin-top: 1.5rem;
    margin-bottom: 0.7rem;
}

.read-post__content p,
.read-post__content ul,
.read-post__content ol,
.read-post__content blockquote {
    margin-bottom: 0.75rem;
}

.read-post__content p:last-child,
.read-post__content ul:last-child,
.read-post__content ol:last-child,
.read-post__content blockquote:last-child {
    margin-bottom: 0;
}

.read-post__content ul,
.read-post__content ol {
    padding-left: 1.2rem;
}

.read-post__content ul {
    list-style: disc;
}

.read-post__content ol {
    list-style: decimal;
}

.read-post__content li {
    margin-bottom: 0.4rem;
}

.read-post__content a {
    color: #c5500a;
    text-decoration: underline;
}

.read-post__content img {
    border-radius: 12px;
    margin: 1rem auto;
}

.read-post__footer {
    margin-top: 2rem;
}

.read-post__state {
    text-align: center;
}

.hs-featured {
    background: #F2E8DC;
    padding: 2rem 1rem 0;
}
.hs-featured__container {
    max-width: 1280px;
    margin: 0 auto;
}
.hs-featured__header {
    text-align: center;
    margin-bottom: 0.5rem;
}
.hs-featured__header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #18120d;
    line-height: 1.1;
}
.hs-featured__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
}
.hs-featured__grid--single {
    grid-template-columns: minmax(0, 1fr);
}
.hs-featured__grid--single > .hs-featured-card {
    width: min(100%, 760px);
    margin: 0 auto;
}
.hs-featured-card {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(220px, 1fr);
    min-height: 270px;
    background: #F2E8DC;
    text-decoration: none;
    color: inherit;
}
.hs-featured-card__media {
    width: 100%;
    height: 100%;
    background: #F2E8DC;
    overflow: hidden;
}
.hs-featured-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hs-featured-card__content {
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: #F2E8DC;
    gap: 0.18rem;
}
.hs-featured-card__tiers {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(24, 18, 13, 0.82);
}
.hs-featured-card__name {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.08;
    color: #0f0b08;
}
.hs-featured-card__duration,
.hs-featured-card__price {
    font-size: 0.96rem;
    font-weight: 700;
    color: rgba(24, 18, 13, 0.86);
    line-height: 1.2;
}

.hs-featured-card__price {
    margin-top: 0;
}
.hs-featured-card--loading {
    grid-column: 1 / -1;
}

.hs-featured__empty {
    grid-column: 1 / -1;
    padding: 1rem;
    text-align: center;
    color: rgba(24, 18, 13, 0.72);
}

.hs-featured-card:hover .hs-featured-card__name {
    color: #c5500a;
}

@media (max-width: 760px) {
    .hs-featured__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hs-featured {
        padding: 1.5rem 0.75rem 0;
    }
    .hs-featured__header h2 {
        font-size: 2rem;
    }
    .hs-featured-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .hs-featured-card__media {
        aspect-ratio: 16 / 10;
    }
    .hs-featured-card__name {
        font-size: 1.45rem;
    }
}

.read-post__state h2 {
    color: #2e1a08;
    margin-bottom: 0.6rem;
}

.read-post__state p {
    color: rgba(26, 26, 26, 0.72);
    margin-bottom: 1.2rem;
}

@media (max-width: 1024px) {
    .featured-blog__grid {
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-list__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-card {
        max-width: none;
    }
}

@media (max-width: 600px) {
    .featured-blog {
        padding: 3rem 1.5rem;
    }

    .blog-list {
        padding: 3rem 1.5rem;
    }

    .blog-list__header h2 {
        font-size: 1.75rem;
    }

    .blog-list__grid {
        grid-template-columns: 1fr;
    }

    .read-post {
        padding: 2rem 1rem 3rem;
    }

    .read-post__article,
    .read-post__state {
        border-radius: 14px;
        padding: 1.35rem;
    }

    .read-post__title {
        font-size: 1.5rem;
    }

    .read-post__content {
        font-size: 0.98rem;
    }

    .featured-blog__header h2 {
        font-size: 1.75rem;
    }

    .featured-blog__grid {
        grid-template-columns: 1fr;
    }

    .featured-blog__footer {
        margin-top: 2rem;
    }

}

/* Footer */
.footer {
    background: #2e1a08;
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 1.5rem;
}

.footer__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer__logo img {
    height: 80px;
    width: auto;
}

.footer__brand p {
    max-width: 300px;
    line-height: 1.7;
}

.footer__links h4,
.footer__social h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer__links li {
    margin-bottom: 0.75rem;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.footer__links a:hover {
    color: #c5500a;
}

.footer__social-icons {
    display: flex;
    gap: 1rem;
}

.footer__social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.footer__social-icons a:hover {
    background: #c5500a;
    transform: translateY(-3px);
}

.footer__bottom {
    max-width: 1280px;
    margin: 3rem auto 0;
    padding: 1.5rem 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 900px) {
    .navbar__nav,
    .navbar__cta {
        display: none;
    }

    .navbar__toggle {
        display: flex;
        z-index: 1001;
    }

    .navbar__toggle--active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .navbar__toggle--active span:nth-child(2) {
        opacity: 0;
    }

    .navbar__toggle--active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .footer__container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .footer__container {
        grid-template-columns: 1fr;
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* About Page */
.about-values {
    background: #fff6e9;
    padding: 5rem 1.5rem;
}

.about-values__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.about-values__label {
    display: block;
    color: #c5500a;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.about-values__header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #2e1a08;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.about-values__header p {
    color: rgba(26, 26, 26, 0.75);
    font-size: 1.05rem;
    line-height: 1.7;
}

.about-values__grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.value-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem 1.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.value-card__number {
    display: block;
    font-family: 'Arial Black', 'Manrope', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: rgba(197, 80, 10, 0.35);
    margin-bottom: 0.75rem;
}

.value-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2e1a08;
    margin-bottom: 0.6rem;
}

.value-card p {
    color: rgba(26, 26, 26, 0.72);
    font-size: 0.95rem;
    line-height: 1.65;
}

.about-stats {
    background: #2e1a08;
    padding: 4rem 1.5rem;
}

.about-stats__grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    text-align: center;
}

.about-stats__item strong {
    display: block;
    font-family: 'Arial Black', 'Manrope', sans-serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 900;
    color: #c5500a;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.about-stats__item span {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

@media (max-width: 600px) {
    .about-values {
        padding: 3.5rem 1.5rem;
    }

    .about-stats {
        padding: 3rem 1.5rem;
    }
}

/* Contact Page */
.contact-section {
    background: #F2E8DC;
    padding: 5rem 1.5rem;
}

.contact-section__container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(260px, 0.85fr) 1.15fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-info__label {
    display: block;
    color: #c5500a;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #2e1a08;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.contact-info__intro {
    color: rgba(26, 26, 26, 0.75);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.contact-info__item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 1.1rem 1.25rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-info__item span {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(26, 26, 26, 0.5);
}

.contact-info__item a,
.contact-info__item p {
    font-size: 1rem;
    font-weight: 700;
    color: #2e1a08;
}

.contact-info__item a:hover {
    color: #c5500a;
}

.contact-info__social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.contact-info__social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #2e1a08;
    color: #fff6e9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease;
}

.contact-info__social a:hover {
    background: #c5500a;
    color: #2e1a08;
    transform: translateY(-2px);
}

.contact-form {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
}

.contact-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.contact-form__label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2e1a08;
}

.contact-form__input,
.contact-form__textarea {
    padding: 0.85rem 1rem;
    border: 1px solid rgba(11, 29, 46, 0.15);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    background: #fafafa;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form__textarea {
    resize: vertical;
    min-height: 130px;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
    outline: none;
    border-color: #c5500a;
    box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.15);
    background: #ffffff;
}

.contact-form__submit {
    border: none;
    cursor: pointer;
    align-self: flex-start;
}

.contact-form__submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.contact-form__message {
    padding: 0.85rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    display: none;
}

.contact-form__message--success {
    display: block;
    background: rgba(39, 174, 96, 0.12);
    color: #27ae60;
}

.contact-form__message--error {
    display: block;
    background: rgba(176, 57, 33, 0.1);
    color: #b03921;
}

@media (max-width: 860px) {
    .contact-section__container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .contact-section {
        padding: 3.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-form__row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1.75rem;
    }
}

/* Admin Inbox */
.inbox {
    background: #F2E8DC;
    padding: 3rem 1.5rem 6rem;
}

.inbox__container {
    max-width: 1000px;
    margin: 0 auto;
}

.inbox__auth-message {
    display: none;
    text-align: center;
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    color: rgba(26, 26, 26, 0.75);
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.inbox__auth-message--visible {
    display: block;
}

.inbox__panel {
    display: none;
}

.inbox__panel--visible {
    display: block;
}

.inbox__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.inbox__stats {
    display: flex;
    gap: 1.25rem;
    font-size: 0.95rem;
    color: rgba(26, 26, 26, 0.7);
}

.inbox__stats strong {
    color: #2e1a08;
    font-weight: 800;
}

.inbox__stat--unread strong {
    color: #c5500a;
}

.inbox__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.inbox__export {
    padding: 0.65rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    border: 2px solid #2e1a08;
    color: #2e1a08;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.inbox__export:hover {
    background: #2e1a08;
    color: #ffffff;
}

.inbox__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.inbox__empty {
    text-align: center;
    padding: 3rem 1.5rem;
    color: rgba(26, 26, 26, 0.6);
    background: #ffffff;
    border-radius: 12px;
}

.inbox__item {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border-left: 4px solid transparent;
    transition: box-shadow 0.2s ease;
}

.inbox__item--unread {
    border-left-color: #c5500a;
}

.inbox__item-summary {
    width: 100%;
    display: grid;
    grid-template-columns: 10px 1fr 1fr 1fr auto auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.inbox__item-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c5500a;
    opacity: 0;
}

.inbox__item--unread .inbox__item-dot {
    opacity: 1;
}

.inbox__item-name {
    font-weight: 700;
    color: #2e1a08;
    font-size: 0.95rem;
}

.inbox__item-email {
    color: rgba(26, 26, 26, 0.65);
    font-size: 0.88rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.inbox__item-subject {
    color: rgba(26, 26, 26, 0.75);
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.inbox__item-date {
    font-size: 0.8rem;
    color: rgba(26, 26, 26, 0.5);
    white-space: nowrap;
}

.inbox__item-status {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    white-space: nowrap;
    justify-self: end;
}

.inbox__item-status--new {
    background: rgba(197, 80, 10, 0.15);
    color: #C1440E;
}

.inbox__item-status--read {
    background: rgba(26, 26, 26, 0.08);
    color: rgba(26, 26, 26, 0.6);
}

.inbox__item-status--archived {
    background: rgba(26, 26, 26, 0.05);
    color: rgba(26, 26, 26, 0.4);
}

.inbox__item-body {
    display: none;
    padding: 0 1.25rem 1.25rem;
    border-top: 1px solid rgba(11, 29, 46, 0.08);
}

.inbox__item--open .inbox__item-body {
    display: block;
    padding-top: 1.1rem;
}

.inbox__item-message {
    color: rgba(26, 26, 26, 0.8);
    font-size: 0.95rem;
    line-height: 1.7;
    white-space: pre-wrap;
    margin-bottom: 1.25rem;
}

.inbox__item-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.inbox__item-btn {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: inherit;
    border: 1px solid rgba(11, 29, 46, 0.15);
    background: #fafafa;
    color: #2e1a08;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.inbox__item-btn:hover {
    background: #2e1a08;
    color: #ffffff;
    border-color: #2e1a08;
}

.inbox__item-btn--danger {
    color: #b03921;
    border-color: rgba(176, 57, 33, 0.3);
}

.inbox__item-btn--danger:hover {
    background: #b03921;
    color: #ffffff;
    border-color: #b03921;
}

@media (max-width: 800px) {
    .inbox__item-summary {
        grid-template-columns: 10px 1fr auto;
        grid-template-areas:
            "dot name status"
            "dot email email"
            "dot subject date";
        row-gap: 0.35rem;
    }

    .inbox__item-dot {
        grid-area: dot;
        align-self: start;
        margin-top: 6px;
    }

    .inbox__item-name {
        grid-area: name;
    }

    .inbox__item-status {
        grid-area: status;
    }

    .inbox__item-email {
        grid-area: email;
    }

    .inbox__item-subject {
        grid-area: subject;
    }

    .inbox__item-date {
        grid-area: date;
        justify-self: end;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .inbox {
        padding: 2rem 1rem 4rem;
    }

    .inbox__toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .inbox__actions {
        justify-content: stretch;
    }

    .inbox__export {
        flex: 1;
        text-align: center;
    }
}

/* Auth Modal */
.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.auth-modal--open {
    opacity: 1;
    visibility: visible;
}

.auth-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
}

.auth-modal__content {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    z-index: 1;
}

.auth-modal--open .auth-modal__content {
    transform: translateY(0);
}

.auth-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: rgba(11, 29, 46, 0.08);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s ease;
}

.auth-modal__close:hover {
    background: rgba(11, 29, 46, 0.15);
}

.auth-modal__close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    background: #2e1a08;
    border-radius: 2px;
}

.auth-modal__close span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.auth-modal__close span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.auth-modal__header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-modal__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #2e1a08;
    margin-bottom: 0.25rem;
}

.auth-modal__subtitle {
    font-size: 0.95rem;
    color: rgba(26, 26, 26, 0.7);
}

.auth-modal__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-modal__field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.auth-modal__label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2e1a08;
}

.auth-modal__input {
    padding: 0.85rem 1rem;
    border: 1px solid rgba(11, 29, 46, 0.15);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    background: #fafafa;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-modal__input:focus {
    outline: none;
    border-color: #c5500a;
    box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.15);
    background: #ffffff;
}

.auth-modal__submit {
    width: 100%;
    margin-top: 0.5rem;
    border: none;
    cursor: pointer;
}

.auth-modal__submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.auth-modal__footer {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: rgba(26, 26, 26, 0.75);
}

.auth-modal__footer a {
    color: #c5500a;
    font-weight: 700;
    transition: color 0.2s ease;
}

.auth-modal__footer a:hover {
    color: #C1440E;
}

body.auth-modal--locked {
    overflow: hidden;
}

@media (max-width: 480px) {
    .auth-modal {
        padding: 1rem;
        align-items: flex-end;
    }

    .auth-modal__content {
        padding: 1.5rem;
        border-radius: 16px 16px 0 0;
        max-width: 100%;
    }
}

/* Block Builder */
.block-builder {
    background: #F2E8DC;
    padding: 4rem 1.5rem;
}

.block-builder__container {
    max-width: 800px;
    margin: 0 auto;
}

.block-builder__form {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.block-builder__form--disabled {
    opacity: 0.5;
    pointer-events: none;
    user-select: none;
}

.block-builder__auth-message {
    display: none;
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.block-builder__auth-message h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #2e1a08;
    margin-bottom: 0.5rem;
}

.block-builder__auth-message p {
    color: rgba(26, 26, 26, 0.75);
}

.block-builder__auth-message a {
    color: #c5500a;
    font-weight: 700;
    text-decoration: underline;
}

.block-builder__auth-message a:hover {
    color: #C1440E;
}

.block-builder__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.block-builder__field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.block-builder__grid .block-builder__field {
    margin-bottom: 0;
}

.block-builder__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 700;
    color: #2e1a08;
}

.block-builder__char-count {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(26, 26, 26, 0.5);
    transition: color 0.2s ease;
}

.block-builder__char-count--limit {
    color: #C1440E;
}

.block-builder__input,
.block-builder__textarea {
    padding: 0.85rem 1rem;
    border: 1px solid rgba(11, 29, 46, 0.12);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    background: #fafafa;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    width: 100%;
}

.block-builder__input:focus,
.block-builder__textarea:focus {
    outline: none;
    border-color: #c5500a;
    box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.12);
    background: #ffffff;
}

.block-builder__textarea {
    resize: vertical;
    min-height: 100px;
}

.block-builder__editor {
    border: 1px solid rgba(11, 29, 46, 0.12);
    border-radius: 10px;
    overflow: hidden;
    background: #fafafa;
}

.block-builder__editor .ql-toolbar.ql-snow {
    border: none;
    border-bottom: 1px solid rgba(11, 29, 46, 0.08);
    background: rgba(11, 29, 46, 0.04);
}

.block-builder__editor .ql-container.ql-snow {
    border: none;
    background: #ffffff;
}

.block-builder__editor .ql-editor {
    min-height: 180px;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.6;
}

.block-builder__hint {
    font-size: 0.8rem;
    color: rgba(26, 26, 26, 0.6);
    margin-top: 0.25rem;
}

.block-builder__image-preview {
    margin-top: 0.75rem;
    border: 1px solid rgba(11, 29, 46, 0.12);
    border-radius: 10px;
    padding: 0.75rem;
    background: #ffffff;
    max-width: 260px;
}

.block-builder__image-preview .block-builder__hint {
    margin: 0;
}

.block-builder__image-preview-img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
}

.block-builder__gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.block-builder__gallery-item {
    border: 1px solid rgba(11, 29, 46, 0.12);
    border-radius: 10px;
    background: #ffffff;
    padding: 0.5rem;
}

.block-builder__gallery-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin-bottom: 0.5rem;
}

.block-builder__gallery-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
}

.block-builder__gallery-btn {
    border: 1px solid rgba(11, 29, 46, 0.16);
    border-radius: 8px;
    background: #ffffff;
    color: #2e1a08;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 0.35rem;
    cursor: pointer;
}

.block-builder__gallery-btn:hover {
    background: #f7efe6;
}

.block-builder__gallery-btn--danger {
    color: #b03921;
    border-color: rgba(176, 57, 33, 0.25);
}

.block-builder__tier-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.5rem;
}

.block-builder__tier-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(11, 29, 46, 0.12);
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
    background: #ffffff;
    font-size: 0.9rem;
    color: #2e1a08;
}

.block-builder__tier-option input {
    margin: 0;
}

.block-builder__dynamic-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.block-builder__list-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.5rem;
    align-items: center;
}

.block-builder__list-add {
    align-self: flex-start;
    margin-top: 0.25rem;
}

.block-builder__list-remove {
    border: 1px solid rgba(11, 29, 46, 0.16);
    border-radius: 8px;
    background: #ffffff;
    color: #2e1a08;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.58rem 0.75rem;
    cursor: pointer;
    white-space: nowrap;
}

.block-builder__list-remove:hover:not(:disabled) {
    background: #f7efe6;
}

.block-builder__list-remove:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.block-builder__keyword-cloud {
    margin-top: 0.75rem;
}

.block-builder__keyword-cloud-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(26, 26, 26, 0.7);
    margin-bottom: 0.5rem;
}

.block-builder__keyword-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.block-builder__keyword-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border: 1px solid rgba(11, 29, 46, 0.12);
    border-radius: 50px;
    background: #ffffff;
    color: #2e1a08;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.block-builder__keyword-chip:hover:not(:disabled) {
    background: #c5500a;
    border-color: #c5500a;
    color: #2e1a08;
}

.block-builder__keyword-chip:disabled {
    opacity: 0.6;
    cursor: default;
    background: rgba(11, 29, 46, 0.06);
}

.block-builder__keyword-plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #c5500a;
    color: #2e1a08;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1;
}

.block-builder__keyword-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #27ae60;
    color: #ffffff;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1;
}

.block-builder__actions {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    margin-top: 1.5rem;
}

.block-builder__submit {
    border: none;
    cursor: pointer;
}

.block-builder__submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.block-builder__clear {
    border: 2px solid #2e1a08;
    color: #2e1a08;
    background: transparent;
    cursor: pointer;
}

.block-builder__clear:hover {
    background: #2e1a08;
    color: #ffffff;
}

.block-builder__image-save {
    align-self: flex-start;
    border: 1px solid rgba(11, 29, 46, 0.28);
    color: #2e1a08;
    background: #ffffff;
    margin-top: 0.35rem;
}

.block-builder__image-save:hover:not(:disabled) {
    background: #f7efe6;
    border-color: #2e1a08;
    color: #2e1a08;
}

.block-builder__image-save:disabled {
    opacity: 0.65;
    color: rgba(26, 26, 26, 0.7);
    border-color: rgba(11, 29, 46, 0.16);
    cursor: not-allowed;
}

.block-builder__feedback {
    display: none;
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
}

.block-builder__feedback--success {
    background: rgba(46, 204, 113, 0.12);
    color: #27ae60;
}

.block-builder__feedback--error {
    background: rgba(231, 111, 81, 0.12);
    color: #C1440E;
}

/* Block Library */
.block-library,
.itinerary-library {
    background: #F2E8DC;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(11, 29, 46, 0.08);
}

.block-library__container,
.itinerary-library__container {
    max-width: 800px;
    margin: 0 auto;
}

.block-library__title,
.itinerary-library__title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #2e1a08;
    margin-bottom: 0.5rem;
}

.block-library__subtitle,
.itinerary-library__subtitle {
    color: rgba(26, 26, 26, 0.7);
    margin-bottom: 1.5rem;
}

.block-library__filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.45fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.block-library__pills,
.itinerary-library__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.block-library__pill,
.itinerary-library__pill {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1.25rem;
    background: #ffffff;
    border: 1px solid rgba(11, 29, 46, 0.12);
    border-radius: 50px;
    color: #2e1a08;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.block-library__pill:hover,
.itinerary-library__pill:hover {
    background: #c5500a;
    border-color: #c5500a;
    color: #2e1a08;
    transform: translateY(-2px);
}

.block-library__empty,
.itinerary-library__empty {
    color: rgba(26, 26, 26, 0.6);
    font-size: 0.95rem;
}

@media (max-width: 600px) {
    .block-builder,
    .block-library,
    .itinerary-library {
        padding: 3rem 1.5rem;
    }

    .block-builder__form {
        padding: 1.5rem;
    }

    .block-builder__grid {
        grid-template-columns: 1fr;
    }

    .block-builder__grid .block-builder__field {
        margin-bottom: 1.25rem;
    }

    .block-builder__actions {
        justify-content: stretch;
    }

    .block-library__filters {
        grid-template-columns: 1fr;
    }

    .block-builder__submit {
        width: 100%;
    }
}

/* Itinerary Builder */
.itinerary-builder {
    background: #F2E8DC;
    padding: 1rem 1.5rem;
}

.itinerary-builder__container {
    max-width: 900px;
    margin: 0 auto;
}

.itinerary-builder__auth-message {
    display: none;
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.itinerary-builder__auth-message h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #2e1a08;
    margin-bottom: 0.5rem;
}

.itinerary-builder__auth-message p {
    color: rgba(26, 26, 26, 0.75);
}

.itinerary-builder__auth-message a {
    color: #c5500a;
    font-weight: 700;
    text-decoration: underline;
}

.itinerary-builder__auth-message a:hover {
    color: #C1440E;
}

.itinerary-builder__form {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.itinerary-builder__form--disabled {
    opacity: 0.5;
    pointer-events: none;
    user-select: none;
}

.itinerary-builder__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.itinerary-builder__field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.itinerary-builder__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 700;
    color: #2e1a08;
}

.itinerary-builder__char-count {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(26, 26, 26, 0.5);
}

.itinerary-builder__char-count--limit {
    color: #C1440E;
}

.itinerary-builder__input,
.itinerary-builder__textarea,
.itinerary-builder select {
    padding: 0.85rem 1rem;
    border: 1px solid rgba(11, 29, 46, 0.12);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    background: #fafafa;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    width: 100%;
}

.itinerary-builder__input:focus,
.itinerary-builder__textarea:focus,
.itinerary-builder select:focus {
    outline: none;
    border-color: #c5500a;
    box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.12);
    background: #ffffff;
}

.itinerary-builder__textarea {
    resize: vertical;
    min-height: 100px;
}

.itinerary-builder__editor {
    border: 1px solid rgba(11, 29, 46, 0.12);
    border-radius: 10px;
    overflow: hidden;
    background: #fafafa;
}

.itinerary-builder__editor .ql-toolbar.ql-snow {
    border: none;
    border-bottom: 1px solid rgba(11, 29, 46, 0.08);
    background: rgba(11, 29, 46, 0.04);
}

.itinerary-builder__editor .ql-container.ql-snow {
    border: none;
    background: #ffffff;
}

.itinerary-builder__editor .ql-editor {
    min-height: 180px;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.6;
}

.itinerary-builder__dates,
.itinerary-builder__days {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.itinerary-builder__date-mode {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.itinerary-builder__date-mode-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(26, 26, 26, 0.7);
}

.itinerary-builder__date-hint {
    font-size: 0.82rem;
    color: rgba(26, 26, 26, 0.66);
}

.itinerary-builder__date-row,
.itinerary-builder__day-row {
    background: rgba(11, 29, 46, 0.04);
    border: 1px solid rgba(11, 29, 46, 0.08);
    border-radius: 10px;
    padding: 0.75rem;
}

.itinerary-builder__day-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.6rem;
}

.itinerary-builder__day-header h4 {
    font-size: 0.95rem;
    color: #2e1a08;
}

.itinerary-builder__remove {
    border: none;
    background: transparent;
    color: #C1440E;
    font-weight: 700;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
}

.itinerary-builder__add-btn {
    align-self: flex-start;
    margin-top: 0.5rem;
    border-color: #2e1a08;
    color: #2e1a08;
}

.itinerary-builder__add-btn:hover {
    background: #2e1a08;
    color: #ffffff;
}

.itinerary-builder__actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.itinerary-builder__submit {
    border: none;
    cursor: pointer;
}

.itinerary-builder__submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.itinerary-builder__clear {
    border: 2px solid #2e1a08;
    color: #2e1a08;
    background: transparent;
    cursor: pointer;
}

.itinerary-builder__clear:hover {
    background: #2e1a08;
    color: #ffffff;
}

.itinerary-builder__feedback {
    display: none;
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
}

.itinerary-builder__feedback--success {
    background: rgba(46, 204, 113, 0.12);
    color: #27ae60;
}

.itinerary-builder__feedback--error {
    background: rgba(231, 111, 81, 0.12);
    color: #C1440E;
}

.itinerary-share {
    background: #F2E8DC;
    padding: 0.5rem 1.5rem 4rem;
}

.itinerary-share__container {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid rgba(11, 29, 46, 0.08);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
}

.itinerary-share__title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #2e1a08;
    margin-bottom: 0.3rem;
}

.itinerary-share__subtitle {
    color: rgba(26, 26, 26, 0.72);
    margin-bottom: 1rem;
}

.itinerary-share__list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.itinerary-share__item {
    display: grid;
    grid-template-columns: minmax(160px, 0.8fr) minmax(0, 1.6fr) auto;
    gap: 0.6rem;
    align-items: center;
    border: 1px solid rgba(11, 29, 46, 0.1);
    border-radius: 12px;
    padding: 0.65rem;
    background: #faf7f2;
}

.itinerary-share__name {
    font-weight: 700;
    color: #2e1a08;
    font-size: 0.9rem;
}

.itinerary-share__link {
    color: #2e1a08;
    font-size: 0.85rem;
    overflow-wrap: anywhere;
    text-decoration: underline;
}

.itinerary-share__link:hover {
    color: #c5500a;
}

.itinerary-share__copy {
    border: 1px solid rgba(11, 29, 46, 0.22);
    border-radius: 999px;
    background: #ffffff;
    color: #2e1a08;
    padding: 0.35rem 0.8rem;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

.itinerary-share__copy:hover {
    background: #2e1a08;
    color: #ffffff;
}

.itinerary-share__empty {
    color: rgba(26, 26, 26, 0.62);
    font-size: 0.92rem;
}

@media (max-width: 700px) {
    .itinerary-builder {
        padding: 3rem 1.5rem;
    }

    .itinerary-share {
        padding: 0.25rem 1.5rem 3rem;
    }

    .itinerary-share__container {
        padding: 1rem;
    }

    .itinerary-share__item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .itinerary-builder__form {
        padding: 1.5rem;
    }

    .itinerary-builder__grid {
        grid-template-columns: 1fr;
    }

    .itinerary-builder__actions {
        flex-direction: column;
    }

    .itinerary-builder__submit,
    .itinerary-builder__clear,
    .itinerary-builder__add-btn {
        width: 100%;
        max-width: 100%;
    }
}
