.home-modern {
    --home-ivory: #f8f4ee;
    --home-sand: #efe2cf;
    --home-navy: #0b2341;
    --home-navy-soft: #16365f;
    --home-blue: #2d79de;
    --home-blue-deep: #1a57aa;
    --home-copper: #c59a63;
    --home-ink: #1f2230;
    --home-muted: #61687a;
    --home-border: rgba(11, 35, 65, 0.12);
    --home-shadow: 0 18px 40px rgba(16, 31, 54, 0.12);
    background:
        radial-gradient(circle at top left, rgba(197, 154, 99, 0.08), transparent 25%),
        linear-gradient(180deg, #fffdfa 0%, var(--home-ivory) 100%);
    color: var(--home-ink);
}

.home-modern h1,
.home-modern h2,
.home-modern h3,
.home-modern h4,
.home-modern h5,
.home-modern h6 {
    font-family: "Lora", serif;
    color: var(--home-navy);
}

.home-modern p,
.home-modern li,
.home-modern label,
.home-modern input,
.home-modern select,
.home-modern button,
.home-modern a {
    font-family: "Cabin", sans-serif;
}

.home-modern .section-title {
    margin-bottom: 42px;
    text-align: center;
}

.home-modern .section-title span {
    display: inline-block;
    margin-bottom: 12px;
    letter-spacing: 0.28em;
    font-size: 11px;
    font-weight: 700;
    color: var(--home-copper);
    text-transform: uppercase;
}

.home-modern .section-title h2 {
    font-size: clamp(1.85rem, 3.1vw, 2.85rem);
    line-height: 1.18;
    margin: 0;
}

.home-modern .primary-btn,
.home-modern .home-btn-primary,
.home-modern .home-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 28px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.home-modern .home-btn-primary,
.home-modern .primary-btn.home-btn-primary,
.home-modern .home-hero-text .primary-btn:first-child {
    background: linear-gradient(135deg, var(--home-blue) 0%, var(--home-blue-deep) 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(45, 121, 222, 0.28);
}

.home-modern .home-btn-secondary,
.home-modern .primary-btn.home-btn-secondary {
    background: rgba(11, 35, 65, 0.45);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}

.home-modern .home-btn-primary:hover,
.home-modern .home-btn-secondary:hover,
.home-modern .primary-btn:hover {
    transform: translateY(-2px);
}

.home-modern .primary-btn::after,
.home-modern .home-btn-primary::after,
.home-modern .home-btn-secondary::after,
.home-modern .home-room-card .primary-btn::after,
.home-modern .home-rooms-cta::after {
    display: none !important;
}

.home-modern .home-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 68px;
    min-height: 760px;
}

.home-modern .home-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 18, 33, 0.82) 0%, rgba(7, 18, 33, 0.58) 44%, rgba(7, 18, 33, 0.4) 100%),
        linear-gradient(180deg, rgba(197, 154, 99, 0.12) 0%, rgba(8, 26, 50, 0.18) 100%);
    z-index: 1;
}

.home-modern .home-hero-content {
    position: relative;
    z-index: 3;
}

.home-modern .home-hero-row {
    min-height: 560px;
}

.home-modern .hero-slider,
.home-modern .hero-slider .owl-stage-outer,
.home-modern .hero-slider .owl-stage,
.home-modern .hero-slider .owl-item,
.home-modern .hero-slider .hs-item {
    height: 100%;
}

.home-modern .hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.home-modern .hero-slider .hs-item {
    background-position: center;
    background-size: cover;
}

.home-modern .home-hero-text {
    max-width: 620px;
    color: #fff;
}

.home-modern .hero-text {
    padding-top: 0;
    margin-bottom: 0;
}

.home-modern .home-hero-text h1 {
    color: #fff;
    font-size: clamp(2.6rem, 4.8vw, 4.4rem);
    line-height: 1.08;
    margin-bottom: 18px;
    max-width: 9.5ch;
}

.home-modern .home-hero-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 480px;
}

.home-modern .home-hero-eyebrow {
    display: inline-flex;
    margin-bottom: 16px;
    color: #f4d7ad;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.home-modern .home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.home-modern .home-hero-booking {
    position: relative;
}

.home-modern .booking-form {
    background: rgba(255, 255, 255, 0.96) !important;
    border-radius: 30px !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 28px 60px rgba(6, 20, 38, 0.24) !important;
    padding: 34px 30px !important;
}

.home-modern .booking-form h3 {
    color: var(--home-navy);
    font-size: 1.7rem;
}

.home-modern .booking-form h3:after {
    background: linear-gradient(90deg, var(--home-copper), var(--home-blue));
}

.home-modern .booking-form label {
    color: var(--home-navy-soft);
    font-weight: 600;
}

.home-modern .booking-form input.form-control,
.home-modern .booking-form input.datepicker,
.home-modern .booking-form select.form-select {
    height: 52px;
    border-radius: 14px;
    border: 1px solid rgba(11, 35, 65, 0.12);
    background: #f8fafc;
}

.home-modern .booking-form .input-group {
    gap: 8px;
    box-shadow: none;
    border: 1px solid rgba(11, 35, 65, 0.1);
    border-radius: 14px;
    padding: 8px;
    background: #f8fafc;
}

.home-modern .booking-form .input-group .form-control {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.home-modern .booking-form .input-group .btn {
    background: #fff;
    border: 1px solid rgba(11, 35, 65, 0.14);
    color: var(--home-blue-deep);
}

.home-modern .booking-form .btn-primary {
    min-height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--home-blue) 0%, var(--home-blue-deep) 100%);
    box-shadow: 0 16px 28px rgba(45, 121, 222, 0.24);
}

.home-modern .booking-form .mt-3 {
    margin-top: 0.9rem !important;
}

.home-modern .booking-form .mt-4 {
    margin-top: 1.1rem !important;
}

.home-modern .home-about {
    position: relative;
    padding-top: 110px;
    padding-bottom: 110px;
}

.home-modern .home-about::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 244, 238, 0.95) 100%),
        radial-gradient(circle at right top, rgba(197, 154, 99, 0.08), transparent 28%);
    z-index: 0;
}

.home-modern .home-about .container {
    position: relative;
    z-index: 1;
}

.home-modern .home-about-content {
    row-gap: 30px;
}

.home-modern .about-text {
    max-width: 540px;
}

.home-modern .about-text .f-para,
.home-modern .about-text .s-para {
    color: var(--home-muted);
    line-height: 1.8;
    font-size: 0.98rem;
}

.home-modern .home-about-images {
    position: relative;
}

.home-modern .about-image-card {
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--home-shadow);
}

.home-modern .about-image-card img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    display: block;
}

.home-modern .about-image-card-offset {
    margin-top: 56px;
}

.home-modern .home-services {
    padding-top: 90px;
    padding-bottom: 100px;
    background: linear-gradient(180deg, rgba(255, 253, 250, 0.3) 0%, rgba(243, 237, 229, 0.9) 100%);
}

.home-modern .services-grid {
    row-gap: 28px;
}

.home-modern .service-card {
    height: 100%;
    padding: 34px 28px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(11, 35, 65, 0.08);
    box-shadow: 0 16px 32px rgba(16, 31, 54, 0.08);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-modern .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 44px rgba(16, 31, 54, 0.14);
}

.home-modern .service-icon-wrap {
    width: 76px;
    height: 76px;
    margin: 0 auto 22px;
    border-radius: 50%;
    border: 1px solid rgba(197, 154, 99, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--home-copper);
    background: linear-gradient(180deg, rgba(255, 252, 247, 1) 0%, rgba(245, 239, 231, 1) 100%);
}

.home-modern .service-card i {
    font-size: 32px;
}

.home-modern .service-card h4 {
    margin-bottom: 14px;
    font-size: 1.35rem;
}

.home-modern .service-card p {
    margin-bottom: 0;
    color: var(--home-muted);
    line-height: 1.7;
    font-size: 0.96rem;
}

.home-modern .home-rooms {
    padding: 100px 0 110px;
    background: #fff;
}

.home-modern .home-room-grid {
    row-gap: 28px;
}

.home-modern .home-room-col {
    display: flex;
}

.home-modern .home-room-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(11, 35, 65, 0.08);
    box-shadow: var(--home-shadow);
}

.home-modern .home-room-image-link {
    display: block;
    overflow: hidden;
}

.home-modern .home-room-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.home-modern .home-room-card:hover .home-room-image {
    transform: scale(1.04);
}

.home-modern .home-room-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 28px;
}

.home-modern .home-room-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.home-modern .home-room-card-head h3 {
    font-size: 1.3rem;
    margin-bottom: 0;
}

.home-modern .home-room-price {
    margin: 0;
    color: var(--home-blue-deep);
    font-size: 1.2rem;
    font-weight: 700;
    white-space: nowrap;
}

.home-modern .home-room-price span {
    display: block;
    color: var(--home-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.home-modern .home-room-meta {
    display: grid;
    gap: 12px;
    margin: 0 0 24px;
    color: var(--home-muted);
    font-size: 0.93rem;
}

.home-modern .home-room-meta li {
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.6;
}

.home-modern .home-room-meta i {
    width: 18px;
    color: var(--home-copper);
}

.home-modern .home-room-card .primary-btn {
    width: 100%;
    margin-top: auto;
}

.home-modern .home-rooms-cta {
    margin: 36px auto 0;
    display: flex;
    max-width: 240px;
    color: var(--home-navy);
    background: transparent;
    border-color: rgba(11, 35, 65, 0.14);
}

.home-modern .home-rooms-cta:hover {
    color: #fff;
    background: var(--home-navy);
    border-color: var(--home-navy);
}

.home-modern .places-section.home-nearby {
    padding: 80px 0 60px;
}

.home-modern .nearby-grid {
    row-gap: 0;
}

.home-modern .nearby-col {
    display: flex;
}

.home-modern .nearby-card {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 220px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--home-shadow);
}

.home-modern .nearby-card img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.home-modern .nearby-card:hover img {
    transform: scale(1.05);
}

.home-modern .place-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(8, 26, 50, 0.82) 100%);
}

.home-modern .place-info {
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
}

.home-modern .place-info h4 {
    margin: 0;
    color: var(--home-navy);
    font-size: 0.95rem;
    font-weight: 700;
}

.home-modern .place-info span {
    color: var(--home-blue-deep);
    font-weight: 700;
    white-space: nowrap;
    font-size: 0.9rem;
}

.home-modern .nearby-popup {
    text-decoration: none;
    color: inherit;
}

.home-modern .nearby-popup::before {
    content: "View";
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(11, 35, 65, 0.72);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    transform: translateY(-4px);
}

.home-modern .nearby-popup:hover::before {
    opacity: 1;
    transform: translateY(0);
}

.home-modern .home-testimonials .testimonial-section {
    padding: 96px 0;
    background:
        linear-gradient(180deg, rgba(248, 244, 238, 0.96) 0%, rgba(255, 255, 255, 0.96) 100%),
        radial-gradient(circle at center, rgba(197, 154, 99, 0.07), transparent 40%);
}

.home-modern .testimonial-slider .ts-item {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(11, 35, 65, 0.08);
    border-radius: 28px;
    box-shadow: var(--home-shadow);
    padding: 44px 40px;
}

.home-modern .testimonial-slider .ts-item p {
    color: var(--home-muted);
    font-size: 1.05rem;
    line-height: 1.9;
}

.home-modern .testimonial-slider .ts-item .rating i {
    color: var(--home-copper);
}

.home-modern .testimonial-slider .ts-item h5 {
    margin-top: 12px;
    color: var(--home-navy);
}

.home-modern .demo-popup {
    left: 24px;
    right: 24px;
    bottom: 24px;
    background: rgba(12, 34, 63, 0.94);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 40px rgba(7, 23, 45, 0.28);
}

.home-modern .demo-popup button {
    background: linear-gradient(135deg, var(--home-blue) 0%, var(--home-blue-deep) 100%);
    color: #fff;
}

.home-modern #backToTop {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99;
    border: none;
    outline: none;
    background: linear-gradient(135deg, var(--home-blue) 0%, var(--home-blue-deep) 100%);
    color: #fff;
    cursor: pointer;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    box-shadow: 0 16px 26px rgba(45, 121, 222, 0.28);
}

.home-modern #backToTop:hover {
    background: linear-gradient(135deg, var(--home-navy-soft) 0%, var(--home-navy) 100%);
}

@media (max-width: 1199px) {
    .home-modern .home-hero {
        min-height: auto;
        padding-top: 56px;
    }

    .home-modern .home-hero-row {
        min-height: auto;
        row-gap: 36px;
    }
}

@media (min-width: 1200px) {
    .home-modern .home-hero {
        min-height: calc(100vh - 138px);
        padding-top: 34px;
        padding-bottom: 34px;
    }

    .home-modern .home-hero-row {
        min-height: calc(100vh - 206px);
    }

    .home-modern .home-hero-text h1 {
        font-size: clamp(2.5rem, 4vw, 4rem);
    }

    .home-modern .booking-form {
        max-width: 360px;
        margin-left: auto;
    }
}

@media (min-width: 1200px) and (max-height: 980px) {
    .home-modern .home-hero {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .home-modern .home-hero-row {
        min-height: calc(100vh - 196px);
    }

    .home-modern .home-hero-text h1 {
        font-size: clamp(2.3rem, 3.6vw, 3.5rem);
        margin-bottom: 14px;
    }

    .home-modern .home-hero-text p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 0;
    }

    .home-modern .home-hero-actions {
        margin-top: 22px;
    }

    .home-modern .home-hero-actions .primary-btn {
        min-height: 48px;
        padding: 0 22px;
        font-size: 12px;
    }

    .home-modern .booking-form {
        padding: 24px 22px !important;
        border-radius: 24px !important;
    }

    .home-modern .booking-form h3 {
        font-size: 1.45rem;
        margin-bottom: 18px;
        padding-bottom: 10px;
    }

    .home-modern .booking-form label {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .home-modern .booking-form input.form-control,
    .home-modern .booking-form input.datepicker,
    .home-modern .booking-form select.form-select {
        height: 44px;
        font-size: 14px;
    }

    .home-modern .booking-form .input-group {
        padding: 4px 6px;
        gap: 4px;
        min-height: 44px;
    }

    .home-modern .booking-form .input-group .btn {
        width: 28px;
        height: 28px;
        min-height: 28px;
        font-size: 14px;
        margin: 0;
    }

    .home-modern .booking-form .fixed-width {
        min-width: 34px;
        max-width: 42px;
        padding: 0;
        font-size: 14px;
    }

    .home-modern .booking-form .btn-primary {
        min-height: 48px;
        font-size: 14px;
    }

    .home-modern .booking-form .mt-3 {
        margin-top: 0.7rem !important;
    }

    .home-modern .booking-form .mt-4 {
        margin-top: 0.9rem !important;
    }
}

@media (max-width: 991px) {
    .home-modern .home-hero {
        padding: 44px 0 56px;
    }

    .home-modern .home-hero-text,
    .home-modern .about-text {
        max-width: none;
    }

    .home-modern .home-hero-text h1 {
        font-size: 2.8rem;
        max-width: 11ch;
    }

    .home-modern .booking-form {
        max-width: none;
    }

    .home-modern .about-image-card-offset {
        margin-top: 24px;
    }

    .home-modern .home-room-card-head {
        flex-direction: column;
    }

    .home-modern .nearby-card,
    .home-modern .nearby-card img {
        min-height: 240px;
    }
}

@media (max-width: 767px) {
    .home-modern .header-section .top-nav {
        display: none;
    }

    .home-modern .home-hero {
        padding: 28px 0 44px;
        min-height: auto;
    }

    .home-modern .home-hero-content {
        padding-left: 18px;
        padding-right: 18px;
    }

    .home-modern .home-hero-row {
        row-gap: 28px;
    }

    .home-modern .home-hero-text h1 {
        font-size: 2.2rem;
        line-height: 1.12;
        max-width: 100%;
    }

    .home-modern .home-hero-text p {
        font-size: 0.96rem;
        max-width: 100%;
        margin-bottom: 22px;
    }

    .home-modern .home-hero-eyebrow {
        font-size: 10px;
        letter-spacing: 0.18em;
        color: #f4d7ad;
    }

    .home-modern .booking-form {
        border-radius: 22px !important;
        padding: 24px 18px !important;
    }

    .home-modern .booking-form h3 {
        font-size: 1.45rem;
    }

    .home-modern .home-hero-actions {
        flex-direction: column;
        margin-top: 22px;
    }

    .home-modern .home-hero-actions .primary-btn {
        width: 100%;
        min-height: 50px;
        font-size: 12px;
    }

    .home-modern .about-image-card img {
        min-height: 280px;
    }

    .home-modern .section-title {
        margin-bottom: 30px;
    }

    .home-modern .section-title h2 {
        font-size: 2rem;
    }

    .home-modern .service-card,
    .home-modern .testimonial-slider .ts-item,
    .home-modern .home-room-card-body {
        padding: 24px;
    }

    .home-modern .place-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-modern .demo-popup {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }

    .home-modern .nearby-card,
    .home-modern .nearby-card img {
        min-height: 190px;
    }
}

@media (max-width: 575px) {
    .home-modern .home-about,
    .home-modern .home-services,
    .home-modern .home-rooms,
    .home-modern .places-section.home-nearby,
    .home-modern .home-testimonials .testimonial-section {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .home-modern .section-title h2 {
        font-size: 1.75rem;
    }

    .home-modern .nearby-card,
    .home-modern .nearby-card img {
        min-height: 180px;
    }
}
