/* Connie Stetler — extras on top of precompiled Tailwind (assets/styles.css) */
:root {
    --cs-primary: #9A7753;
    --cs-primary-light: #B79A79;
    --cs-dark: #111111;
    --cs-text: #5D5D5D;
    --cs-off-white: #FAF8F5;
}

.icon {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    vertical-align: -0.2em;
    flex-shrink: 0;
}

.icon-sm {
    width: 1rem;
    height: 1rem;
}

.icon-md {
    width: 1.25rem;
    height: 1.25rem;
}

.icon-lg {
    width: 1.5rem;
    height: 1.5rem;
}

.icon-xl {
    width: 2rem;
    height: 2rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

* {
    scroll-behavior: smooth;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--cs-text);
    line-height: 1.65;
    letter-spacing: 0.01em;
}

h1,
h2,
h3,
.font-josefin,
.font-playfair {
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 0.01em;
}

.font-poppins {
    font-family: 'Lato', sans-serif;
}

p {
    line-height: 1.75;
}

.hero-bg h1,
.hero-bg h2,
.hero-bg h3,
.hero-bg p,
.bg-primary h1,
.bg-primary h2,
.bg-primary h3,
.bg-primary p,
.testimonial-bg h1,
.testimonial-bg h2,
.testimonial-bg h3,
.testimonial-bg p {
    color: #ffffff;
}

.text-gradient {
    background: linear-gradient(135deg, #9A7753 0%, #B79A79 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-primary {
    background: #111111;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 600;
    border: 1px solid #111111;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(17, 17, 17, 0.24);
}

.btn-outline {
    border: 2px solid #9A7753;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline:hover {
    background: #9A7753;
    color: white;
    transform: translateY(-2px);
}

.nav-link {
    position: relative;
    letter-spacing: 0.16em;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: #9A7753;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu {
    width: min(20rem, 100vw);
    max-width: 100vw;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    background-color: #ffffff;
    opacity: 1;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 60;
    isolation: isolate;
}

.mobile-menu.active {
    transform: translateX(0);
    box-shadow: -9999px 0 0 9999px rgba(0, 0, 0, 0.45);
}

#mobile-menu > div {
    height: 100%;
    background: #ffffff;
}

@keyframes cs-fade-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cs-slide-left {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes cs-slide-right {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes cs-scale-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes cs-testimonial-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in,
.slide-left,
.slide-right,
.scale-in {
    opacity: 0;
    will-change: opacity, transform;
}

/* Hero: animate on page load (no JS required) */
@media (prefers-reduced-motion: no-preference) {
    .hero-bg .fade-in {
        animation: cs-fade-in 1s cubic-bezier(0.33, 1, 0.68, 1) forwards;
    }

    .hero-bg .fade-in:nth-child(2) {
        animation-delay: 150ms;
    }

    .hero-bg .fade-in:nth-child(3) {
        animation-delay: 300ms;
    }
}

.fade-in.is-visible {
    animation: cs-fade-in 1s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

.slide-left.is-visible {
    animation: cs-slide-left 1s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

.slide-right.is-visible {
    animation: cs-slide-right 1s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

.scale-in.is-visible {
    animation: cs-scale-in 0.8s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

@media (prefers-reduced-motion: reduce) {
    .fade-in,
    .slide-left,
    .slide-right,
    .scale-in {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

.input-field {
    transition: all 0.3s ease;
    border: 2px solid #E5E7EB;
}

.input-field:focus {
    border-color: #9A7753;
    box-shadow: 0 0 0 3px rgba(154, 119, 83, 0.15);
    outline: none;
}

.card-hover {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-hover {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-hover:hover {
    transform: scale(1.05);
}

.hero-bg {
    position: relative;
}

.hero-bg-img {
    object-fit: cover;
    object-position: center;
    z-index: 0;
    will-change: transform;
}

.testimonial-bg {
    background: linear-gradient(rgba(30, 30, 30, 0.45), rgba(30, 30, 30, 0.45)),
        url('https://quseprdus1.blob.core.windows.net/kora-business-images/user-media/e24f2505-6638-440f-b23e-cd11e77d4948/de8c94d8-887e-4625-825f-ec262dbc28df/1775656716_ya5eb6.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.testimonial-slide {
    display: none;
    will-change: transform, opacity;
}

.testimonial-slide.active {
    display: block;
    animation: cs-testimonial-in 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.testimonial-dot {
    width: 7px;
    height: 7px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: #ffffff;
    transform: scale(1.15);
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.county-card {
    position: relative;
    overflow: hidden;
}

.county-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
    z-index: 1;
    transition: all 0.4s ease;
}

.county-card:hover::before {
    background: linear-gradient(to top, rgba(154, 119, 83, 0.8) 0%, rgba(154, 119, 83, 0.4) 50%, transparent 100%);
}

.county-card img {
    transition: all 0.6s ease;
}

.county-card:hover img {
    transform: scale(1.1);
}

.star-rating {
    color: #FFD700;
}

.timeline-item {
    position: relative;
    padding-left: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 16px;
    height: 16px;
    background: #9A7753;
    border-radius: 50%;
    border: 4px solid #F3ECE4;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 24px;
    width: 2px;
    height: calc(100% - 16px);
    background: #9A7753;
}

.timeline-item:last-child::after {
    display: none;
}

.step-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    transition: all 0.3s ease;
}

.feature-card {
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: #9A7753;
    color: white;
}

.feature-card:hover .feature-icon i {
    color: white;
}

.stat-card {
    background: linear-gradient(135deg, rgba(154, 119, 83, 0.12) 0%, rgba(183, 154, 121, 0.12) 100%);
    border: 1px solid rgba(154, 119, 83, 0.24);
}

.step-number {
    background: linear-gradient(135deg, #9A7753 0%, #B79A79 100%);
}

.contact-card {
    transition: all 0.4s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.social-btn {
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
}

.time-slot {
    transition: all 0.3s ease;
}

.time-slot:hover {
    border-color: #9A7753;
    background: rgba(154, 119, 83, 0.08);
}

.time-slot.selected {
    background: #9A7753;
    color: white;
    border-color: #9A7753;
}

.appointment-type {
    transition: all 0.3s ease;
}

.appointment-type:hover,
.appointment-type.selected {
    border-color: #9A7753;
    background: rgba(154, 119, 83, 0.08);
}

.appointment-type.selected {
    background: rgba(154, 119, 83, 0.14);
}

.day-cell {
    transition: all 0.3s ease;
}

.day-cell:hover:not(.disabled) {
    background: rgba(154, 119, 83, 0.14);
}

.day-cell.selected {
    background: #9A7753;
    color: white;
}

.day-cell.disabled {
    color: #D1D5DB;
    cursor: not-allowed;
}

.py-24 {
    padding-top: 5.5rem !important;
    padding-bottom: 5.5rem !important;
}

.pt-32 {
    padding-top: 7.5rem !important;
}

.pb-16 {
    padding-bottom: 4.5rem !important;
}

/* Suggested Searches — floating trigger & modal */
.suggested-searches-fab {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 45;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.4rem;
    background: #111111;
    color: #ffffff;
    border: none;
    border-radius: 0 6px 6px 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    min-width: 2rem;
}

.suggested-searches-fab:hover,
.suggested-searches-fab:focus-visible {
    background: #9A7753;
    outline: none;
    box-shadow: 0 10px 28px rgba(154, 119, 83, 0.35);
}

.suggested-searches-fab__stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
}

.suggested-searches-fab__icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    margin-bottom: 0.15rem;
}

.suggested-searches-fab__word {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.20rem;
}

.suggested-searches-fab__word--gap {
    margin-top: 0.2rem;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.suggested-searches-fab__word span {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 0.60rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.suggested-searches-fab[aria-expanded="true"] {
    background: #9A7753;
}

.suggested-searches-modal {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.suggested-searches-modal[hidden] {
    display: none;
}

.suggested-searches-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 17, 0.55);
    backdrop-filter: blur(2px);
}

.suggested-searches-modal__panel {
    position: relative;
    width: min(100%, 28rem);
    max-height: min(95vh, 40rem);
    overflow-y: auto;
    background: #ffffff;
    border-radius: 4px;
    padding: 1.25rem 1.5rem 1.5rem;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
    animation: suggested-searches-in 0.3s ease;
}

@keyframes suggested-searches-in {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.suggested-searches-modal__close {
    position: absolute;
    top: 1rem;
    right: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    background: transparent;
    color: #5D5D5D;
    border-radius: 4px;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.suggested-searches-modal__close:hover,
.suggested-searches-modal__close:focus-visible {
    color: #111111;
    background: rgba(154, 119, 83, 0.12);
    outline: none;
}

.suggested-searches-modal__title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #111111;
    margin: 0 2rem 0.5rem 0;
    line-height: 1.2;
}

.suggested-searches-modal__intro {
    font-size: 0.9rem;
    color: #5D5D5D;
    margin: 0 0 1.25rem;
    line-height: 1.5;
}

.suggested-searches-modal__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.suggested-searches-modal__link {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(17, 17, 17, 0.1);
    border-radius: 4px;
    background: #FAF8F5;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
    cursor: pointer;
    font: inherit;
}

.suggested-searches-modal__link:hover,
.suggested-searches-modal__link:focus-visible {
    border-color: #9A7753;
    background: rgba(154, 119, 83, 0.1);
    transform: translateX(4px);
    outline: none;
}

.suggested-searches-modal__link-title {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #111111;
    margin-bottom: 0.2rem;
}

.suggested-searches-modal__link-desc {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    color: #5D5D5D;
    line-height: 1.4;
}

.suggested-searches-modal__link--pending {
    opacity: 0.85;
}

.suggested-searches-modal__link--pending:hover,
.suggested-searches-modal__link--pending:focus-visible {
    transform: none;
    cursor: default;
}

@media (max-width: 640px) {
    .suggested-searches-fab {
        padding: 0.5rem 0.35rem;
    }
    
    .suggested-searches-modal {
        align-items: flex-end;
        padding: 0;
    }

    .suggested-searches-modal__panel {
        width: 100%;
        max-height: 75vh;
        border-radius: 12px 12px 0 0;
        padding: 1.5rem 1.25rem 1.25rem;
        animation: suggested-searches-sheet-in 0.35s ease;
    }

    @keyframes suggested-searches-sheet-in {
        from {
            opacity: 0;
            transform: translateY(100%);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* FAQ accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-accordion__item {
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-accordion__item.is-open {
    border-color: rgba(154, 119, 83, 0.45);
    box-shadow: 0 4px 18px rgba(17, 17, 17, 0.06);
}

.faq-accordion__heading {
    margin: 0;
}

.faq-accordion__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.15rem 1.25rem;
    border: 0;
    background: transparent;
    color: var(--cs-dark);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease;
}

.faq-accordion__trigger:hover,
.faq-accordion__trigger:focus-visible {
    color: var(--cs-primary);
    outline: none;
}

.faq-accordion__trigger:focus-visible {
    box-shadow: inset 0 0 0 2px rgba(154, 119, 83, 0.35);
}

.faq-accordion__icon {
    flex-shrink: 0;
    color: var(--cs-primary);
    transition: transform 0.25s ease;
}

.faq-accordion__item.is-open .faq-accordion__icon {
    transform: rotate(180deg);
}

.faq-accordion__panel {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
    padding: 0 1.25rem;
}

.faq-accordion__item.is-open .faq-accordion__panel {
    max-height: 24rem;
    opacity: 1;
    padding: 0 1.25rem 1.15rem;
}

.faq-accordion__panel[hidden] {
    display: block;
}

@media (prefers-reduced-motion: reduce) {
    .faq-accordion__panel,
    .faq-accordion__icon,
    .faq-accordion__item {
        transition: none;
    }
}

/* List Your Home — guide panel */
.guide-panel {
    position: relative;
    min-height: 28rem;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guide-panel__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guide-panel__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(165deg, rgba(17, 17, 17, 0.88) 0%, rgba(154, 119, 83, 0.2) 100%);
}

.guide-panel__content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2.5rem 2rem;
    color: #ffffff;
}

.guide-panel__logo {
    height: 3.5rem;
    width: auto;
    margin: 0 auto 1.5rem;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.guide-panel__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 0.75rem;
}

.guide-panel__subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.9;
    margin: 0;
}

.guide-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 11rem;
    flex: 1;
}

.guide-included {
    padding-top: 0.5rem;
}

.guide-included__heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.guide-included__line {
    flex: 1;
    height: 1px;
    background: rgba(17, 17, 17, 0.12);
}

.guide-included__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.guide-included__item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.guide-included__check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    background: rgba(154, 119, 83, 0.15);
    color: #9A7753;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

@media (max-width: 1023px) {
    .guide-panel {
        min-height: 22rem;
    }
}
