﻿:root {
    --home-primary: #bf9456;
    --home-primary-dark: #a37b44;
    --home-surface: #ffffff;
    --home-muted-bg: #f6f3ef;
    --home-dark: #1f1a14;
    --home-text: #4d4338;
    --home-radius-lg: 22px;
    --home-radius-md: 14px;
    --home-shadow: 0 20px 45px rgba(32, 24, 16, 0.12);
}

.modern-home-main {
    background: radial-gradient(circle at top left, #fffdf9 0%, #f5efe8 45%, #f8f7f5 100%);
    color: var(--home-text);
}

.modern-home-main section {
    position: relative;
}

.home-section-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--home-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
}

.home-section-title {
    color: var(--home-dark);
    font-size: 44px;
    line-height: 1.2;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.home-section-head p {
    max-width: 760px;
    margin: 0 auto;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 2px solid transparent;
    padding: 13px 28px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.28s ease;
    text-decoration: none;
}

.home-btn-primary {
    background: linear-gradient(135deg, #cb9f61 0%, #b58a4e 100%);
    color: #19150f;
    box-shadow: 0 14px 30px rgba(191, 148, 86, 0.3);
}

.home-btn-primary:hover {
    background: linear-gradient(135deg, #d6ad72 0%, #bf9456 100%);
    color: #19150f;
    transform: translateY(-2px);
}

.home-btn-outline {
    border-color: rgba(31, 26, 20, 0.3);
    color: var(--home-dark);
    background: transparent;
}

.home-btn-outline:hover {
    border-color: var(--home-primary);
    color: var(--home-primary);
}

.home-experience-strip {
    margin-top: -65px;
    z-index: 3;
    padding-bottom: 40px;
}

.home-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.home-feature-card {
    background: rgba(24, 19, 14, 0.95);
    color: #f4eee5;
    border-radius: var(--home-radius-md);
    padding: 28px 24px;
    box-shadow: var(--home-shadow);
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 200px;
}

.home-feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 22px;
    color: #111;
    background: linear-gradient(145deg, #dfbc88, #bf9456);
}

.home-feature-title {
    color: #fff;
    margin: 0 0 10px;
    font-size: 21px;
}

.home-feature-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.86);
}

.home-about-section {
    padding: 48px 0 86px;
}

.home-about-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
    align-items: center;
}

.home-about-image {
    position: relative;
}

.home-about-image img {
    width: 100%;
    border-radius: var(--home-radius-lg);
    box-shadow: var(--home-shadow);
}

.home-about-badge {
    position: absolute;
    right: 20px;
    bottom: -28px;
    background: #1f1a14;
    color: #fff;
    border-radius: 18px;
    padding: 14px 18px;
    display: grid;
    gap: 2px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.2);
}

.home-about-badge-count {
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    color: #dfbc88;
}

.home-about-badge-text {
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.home-about-content p {
    margin-bottom: 12px;
    line-height: 1.8;
}

.home-about-points {
    margin: 24px 0;
    display: grid;
    gap: 10px;
}

.home-point-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #3b332a;
    font-size: 15px;
}

.home-point-item i {
    margin-top: 3px;
    color: var(--home-primary);
}

.home-about-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.home-services-section {
    padding: 86px 0;
    background: linear-gradient(180deg, rgba(255, 251, 245, 0.85) 0%, #fff 100%);
}

.home-services-grid {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.home-service-card {
    background: var(--home-surface);
    border-radius: var(--home-radius-md);
    padding: 28px 24px;
    border: 1px solid #efe7de;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(43, 31, 21, 0.08);
}

.home-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(43, 31, 21, 0.14);
    border-color: rgba(191, 148, 86, 0.45);
}

.home-service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    margin-bottom: 18px;
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #c59a5d, #a77e46);
}

.home-service-card h3 {
    margin: 0 0 10px;
    color: #241c15;
    font-size: 22px;
}

.home-service-card p {
    margin: 0;
    line-height: 1.75;
}

.home-testimonial-section {
    padding: 86px 0;
    background: #1b150f;
    color: #f8efe3;
}

.home-testimonial-section .home-section-title {
    color: #fff;
}

.home-testimonial-carousel {
    margin-top: 28px;
}

.home-testimonial-card {
    background: linear-gradient(155deg, #2a2118 0%, #20180f 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--home-radius-md);
    padding: 34px 30px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.3);
}

.home-testimonial-quote {
    color: rgba(223, 188, 136, 0.9);
    font-size: 24px;
    margin-bottom: 14px;
}

.home-testimonial-content {
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.home-testimonial-card .ttm-ratting-star {
    margin-bottom: 12px;
    color: #dfbc88;
}

.home-testimonial-name {
    margin: 0;
    color: #fff;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.home-testimonial-section .owl-nav {
    margin-top: 24px;
    text-align: center;
}

.home-testimonial-section .owl-nav button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.home-testimonial-section .owl-nav button:hover {
    background: var(--home-primary);
    border-color: var(--home-primary);
}

.home-review-btn-wrap {
    margin-top: 30px;
}

.home-appointment-section {
    padding: 92px 0;
    background:
        linear-gradient(180deg, rgba(246, 239, 229, 0.7), rgba(251, 249, 246, 1)),
        url('../images/bg-image/row-bgimage-1.jpg') center/cover no-repeat;
}

.home-appointment-wrap {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 28px;
}

.home-appointment-info,
.home-appointment-form-card {
    border-radius: var(--home-radius-lg);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(188, 161, 125, 0.25);
    box-shadow: var(--home-shadow);
}

.home-appointment-info {
    padding: 36px;
}

.home-appointment-info p {
    line-height: 1.8;
}

.home-contact-list {
    margin: 24px 0;
    display: grid;
    gap: 12px;
}

.home-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #3e362d;
    line-height: 1.6;
}

.home-contact-item i {
    color: var(--home-primary);
    margin-top: 4px;
}

.home-contact-item a {
    color: inherit;
    text-decoration: none;
}

.home-contact-item a:hover {
    color: var(--home-primary-dark);
}

.home-appointment-image {
    border-radius: 14px;
    width: 100%;
    max-height: 260px;
    object-fit: cover;
}

.home-appointment-form-card {
    padding: 34px;
}

.home-form-title {
    color: var(--home-dark);
    margin-bottom: 18px;
    font-size: 30px;
    text-transform: uppercase;
}

.home-alert {
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 14px;
    font-size: 14px;
}

.home-alert-success {
    background: #e4f4e8;
    color: #1f6b36;
    border: 1px solid #c3e5cc;
}

.home-alert-error {
    background: #fde8ea;
    color: #992938;
    border: 1px solid #f5c3cb;
}

.home-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.home-form-group-full {
    grid-column: 1 / -1;
}

.home-form-input {
    width: 100%;
    border: 1px solid #e3d9cc;
    border-radius: 10px;
    padding: 12px 14px;
    background: #fdfbf8;
    color: #2c251c;
    font-size: 14px;
    transition: all 0.25s ease;
}

.home-form-input:focus {
    outline: none;
    border-color: var(--home-primary);
    box-shadow: 0 0 0 4px rgba(191, 148, 86, 0.14);
    background: #fff;
}

/* Reusable custom dropdown */
.tg-select {
    position: relative;
    width: 100%;
}

.tg-select-native {
    position: absolute !important;
    opacity: 0 !important;
    width: 1px !important;
    height: 1px !important;
    pointer-events: none !important;
}

.tg-select-trigger {
    width: 100%;
    min-height: 47px;
    border: 1px solid #e3d9cc;
    border-radius: 10px;
    padding: 12px 44px 12px 14px;
    background: #fdfbf8;
    color: #2c251c;
    font-size: 14px;
    line-height: 1.3;
    text-align: left;
    transition: all 0.25s ease;
    cursor: pointer;
}

.tg-select-trigger:focus {
    outline: none;
    border-color: var(--home-primary);
    box-shadow: 0 0 0 4px rgba(191, 148, 86, 0.14);
    background: #fff;
}

.tg-select-trigger-text {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tg-select-trigger-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid #8b7a67;
    border-bottom: 2px solid #8b7a67;
    transform: translateY(-60%) rotate(45deg);
    transition: transform 0.25s ease, border-color 0.25s ease;
    pointer-events: none;
}

.tg-select.is-open .tg-select-trigger {
    border-color: var(--home-primary);
    background: #fff;
}

.tg-select.is-open .tg-select-trigger-arrow {
    transform: translateY(-30%) rotate(-135deg);
    border-color: var(--home-primary);
}

.tg-select-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    z-index: 40;
    border-radius: 12px;
    border: 1px solid #dfcfbc;
    background: #fff;
    box-shadow: 0 18px 32px rgba(31, 23, 14, 0.18);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: max-height 0.22s ease, opacity 0.18s ease, transform 0.18s ease;
}

.tg-select.is-open .tg-select-menu {
    max-height: 280px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    overflow-y: auto;
}

.tg-select-option {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #f0e5d8;
    background: #fff;
    color: #2d251b;
    text-align: left;
    padding: 11px 14px;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.tg-select-option:last-child {
    border-bottom: 0;
}

.tg-select-option:hover,
.tg-select-option:focus {
    background: #f8f1e7;
    color: #221a12;
    outline: none;
}

.tg-select-option.is-selected {
    background: linear-gradient(90deg, rgba(191, 148, 86, 0.16), rgba(191, 148, 86, 0.03));
    color: #1f1710;
    font-weight: 700;
}

.tg-select-option.is-disabled {
    color: #9f8f7d;
    cursor: not-allowed;
}

.tg-select.is-invalid .tg-select-trigger {
    border-color: #cf4f5f;
    box-shadow: 0 0 0 4px rgba(207, 79, 95, 0.14);
}

.home-submit-btn {
    margin-top: 16px;
    width: 100%;
}

.home-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.home-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1199px) {
    .home-section-title {
        font-size: 37px;
    }

    .home-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .home-experience-strip {
        margin-top: 0;
        padding: 42px 0 10px;
    }

    .home-feature-grid,
    .home-about-wrap,
    .home-appointment-wrap {
        grid-template-columns: 1fr;
    }

    .home-about-section,
    .home-services-section,
    .home-testimonial-section,
    .home-appointment-section {
        padding: 64px 0;
    }

    .home-about-badge {
        right: 14px;
        bottom: 14px;
    }

    .home-section-title {
        font-size: 33px;
    }
}

@media (max-width: 767px) {
    .home-section-title {
        font-size: 28px;
    }

    .home-feature-card,
    .home-service-card,
    .home-appointment-info,
    .home-appointment-form-card,
    .home-testimonial-card {
        padding: 24px 20px;
    }

    .home-form-grid {
        grid-template-columns: 1fr;
    }

    .home-services-grid {
        grid-template-columns: 1fr;
    }

    .home-about-cta {
        width: 100%;
    }

    .home-btn {
        width: 100%;
    }

    .tg-select-menu {
        top: calc(100% + 6px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-reveal,
    .home-service-card,
    .home-feature-card,
    .home-btn {
        transition: none !important;
        animation: none !important;
    }
}
