:root {
    --color-accent: #1d4063;
    --color-accent-light: #2276a0;
    --color-accent-light-bg: #f3ebe0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    color: #000000;
    background-color: #ffffff;
}

.success-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}


.success-modal.hidden {
    display: none;
}

.success-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.success-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    padding: 32px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.success-modal-content h3 {
    margin-bottom: 12px;
    font-size: 22px;
    color: #111827;
}

.success-modal-content p {
    font-size: 15px;
    color: #374151;
    margin-bottom: 24px;
}

.success-modal-content button {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid var(--color-accent);
    background: #ffffff;
    color: var(--color-accent);
    cursor: pointer;
}

.property-highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .property-highlights-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .property-highlights-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.property-highlight-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1.25rem;
    border-radius: 0.75rem;
    background: var(--card-bg, #f3ebe0);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.property-highlight-card:hover {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.highlight-icon {
    color: var(--color-accent-light);
    transition: color 0.3s ease;
}

.property-highlight-card:hover .highlight-icon {
    color: var(--color-accent-light);
}

.highlight-label {
    font-size: 10px;
    letter-spacing: 0.18em;
    font-weight: 500;
    color: #6b7280;
    text-align: center;
}

.highlight-value {
    font-family: 'Playfair Display';
    font-size: 1.125rem;
    font-weight: 300;
    color: #111827;
    text-align: center;
}


.hero-content > * {
    opacity: 0;
    transform: translateY(16px);
    animation: heroFadeUp 0.8s ease-out forwards;
}
.stats {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

  /* Initial hidden state */
  .hero-title,
  .hero-features {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 0.8s ease,
      transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
  }

  /* Visible state */
  .hero-visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Stagger children (features) */
  .hero-features .property-feat-icon {
    opacity: 0;
    transform: translateY(16px);
    transition:
      opacity 0.6s ease,
      transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .hero-features.hero-visible .property-feat-icon {
    opacity: 1;
    transform: translateY(0);
  }

  .hero-features.hero-visible .property-feat-icon:nth-child(1) { transition-delay: 0.15s; }
  .hero-features.hero-visible .property-feat-icon:nth-child(2) { transition-delay: 0.25s; }
  .hero-features.hero-visible .property-feat-icon:nth-child(3) { transition-delay: 0.35s; }


/* =========================
ICON MICRO INTERACTIONS
========================= */

.property-feat-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.property-feat-icon svg {
    transition: transform 0.3s ease, stroke 0.3s ease;
}

.property-feat-icon:hover {
    transform: translateY(-2px);
    color: #bccaff;
}

.property-feat-icon:hover svg {
    transform: scale(1.08);
}

/* Hero primary text micro interactions (price, address, badge) */
.hero-price,
.hero-address,
.hero-badge {
    transition: transform 0.3s ease, color 0.3s ease;
}

.hero-price:hover,
.hero-address:hover,
.hero-badge:hover {
    transform: translateY(-2px);
    color: #bccaff;
}

.hero-address svg {
    transition: transform 0.3s ease, stroke 0.3s ease;
}

.hero-address:hover svg {
    transform: scale(1.08);
}

.fade-in-section {
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms ease-out, visibility 300ms ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.is-section-visible {
    opacity: 1;
    visibility: visible;
}

.header {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 10px;
}
.bg-header {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 50vh;
    text-align: center;
    color: #fff;
}
.bg-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50vh;
    background-color: rgba(0,0,0,0.4);
    z-index: 10;
}
.heading-title {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 70px;
    line-height: 1;
    font-weight: 500;
    z-index: 20;
}
.heading-subtitle {
    margin: 0;
    font-size: 24px;
    font-weight: 300;
    z-index: 20;
}

.btn-header {
    margin-top: 20px;
    display: inline-block;
    background-color: transparent;
    padding: 14px 39px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .05em;
    border: 2px solid #fff;
    /* Transition colors */
    transition: background-color 200ms ease-in-out, color 200ms ease-in-out;
    z-index: 30;
}
.btn-header:hover {
    background-color: #fff;
    color: #000000;
}

.down-button {
    position: absolute;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    color: #FFFFFF;
    border: 1px solid #fff;
    border-radius: 100%;
}

.down-button svg {
    width: 30px;
    height: 30px;
}

/* description-container */
.description-container {
    max-width: 1330px;
    margin-left: auto;
    margin-right: auto;
    padding: 85px 8px;
    display: flex;
    flex-wrap: wrap-reverse;
    align-items: flex-start;
    justify-content: center;
    row-gap: 60px;
    column-gap: 60px;
}

@media (min-width: 1024px) {
    .description-container {
        padding: 85px 0;
        flex-wrap: nowrap;
    }
}
    
.description-subtitle {
    font-size: 14px;
    font-weight: 500;
    color:var(--color-accent-light);
    text-transform: uppercase;
    letter-spacing: 1.12px;
}

.description-title {
    margin: 0;
    font-size: 54px;
    font-weight: 500;
    font-family: 'Cormorant Garamond', serif;
}

@media (min-width: 1280px) {
    .description-title {
        font-size: 64px;
    }
}
   

.property-tabs-card {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
}

/* TAB BAR */
.property-tabs-bar {
    display: flex;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.property-tab {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
}

.property-tab:hover {
    color: #111827;
}

.property-tab.is-active {
    color: #111827;
}

.tab-icon {
    font-size: 0.9rem;
}

.tab-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #c8a24d;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.property-tab.is-active .tab-underline {
    opacity: 1;
}

/* CONTENT */
.property-tab-content {
    padding: 2rem;
}

.property-tab-panel {
    display: none;
}

.property-tab-panel.is-active {
    display: block;
}

/* DATA GRID */
.property-data-grid {
    display: grid;
}

.property-data-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: background 0.2s ease;
}

.property-data-row:hover {
    background: rgba(0,0,0,0.03);
}

.property-data-row:last-child {
    border-bottom: none;
}

.property-data-label {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
}

.property-data-value {
    font-size: 0.875rem;
    font-weight: 500;
    color: #111827;
    text-align: right;
}


.description-text {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.77;
    text-align: justify;
    text-justify: inter-word;
}

.description {
    max-height: 200px;
    overflow: hidden;
    position: relative;
}

.description.expand {
    max-height: 100%;
}

.fade-out {
    width: 100%;
    height: 100px;
    position: absolute;
    bottom: 0;
    right: 0;
    background: linear-gradient(transparent, white);
}

.show-more-button {
    cursor: pointer;
    margin-bottom: 20px;
}

/* lg:w-1/2 container */
@media (min-width: 1024px) {
    .lg\:w-1\/2 {
        width: 50%;
    }
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    padding: 14px 39px;
    color: var(--color-accent);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .05em;
    border: 2px solid var(--color-accent);
    /* Transition colors */
    transition: background-color 200ms ease-in-out, color 200ms ease-in-out;
}

.btn-outline:hover {
    background-color: var(--color-accent);
    color: #fff;
}

.features-container {
    padding: 85px 8px;
    background-color: var(--color-accent-light-bg);
}

@media (min-width: 1024px) {
    .features-container {
        padding: 85px 0;
    }
}

.features-container .container-inner {
    max-width: 1330px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 60px;
}

.features-title {
    margin: 0;
    font-size: 54px;
    font-weight: 500;
    font-family: 'Cormorant Garamond', serif;
}

@media (min-width: 1024px) {
    .features-title{
        font-size: 64px;
    }
}
   

.features-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    row-gap: 60px;
    column-gap: 80px;
}

@media (min-width: 1024px) {
    .features-list {
        column-gap: 240px;
        flex-wrap: nowrap;
    }
}

.features-item {
    width: calc(100% / 4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    column-gap: 20px;
    text-align: center;
}

@media (min-width: 1024px) {
    .features-item {
        width: auto;
    }
}


.feature-icon-text {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 10px;
}

.feature-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    color: var(--color-accent);
}

.features-item-text {
    font-size: 18px;
    font-weight: 300;
}

.features-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 60px;
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.features-grid-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #C3C3C3;
    font-weight: 300;
}

.features-item-label {
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--color-accent);
}

.text-right {
    text-align: right;
}

.gallery-container {
    padding: 85px 0;
    background-color: #FFFFFF;
}

.gallery-container-inner {
    max-width: 1330px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
}

.gallery-subtitle {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1.12px;
}

.swiffy-slider {
    margin-top: 40px;
}

/* tabs */
.nav-tabs {
    display: flex;
}

.nav-tabs li.tab {
    padding: 10px 20px;
    cursor: pointer;
    margin-right: 10px;
}
.nav-tabs li.tab span {
    padding: 8px 5px;
    position: relative;
    font-weight: 500;

}

.nav-tabs li.tab span::before {
    content: '';
    background-color: var(--color-accent-light);
    width: 0;
    height: 1px;
    margin: auto!important;
    position: absolute;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    -webkit-transition: width .3s ease-in-out;
    transition: width .3s ease-in-out;
}

.nav-tabs li.tab.is-active {
    font-weight: 500;
    color: var(--color-accent-light);
}
.nav-tabs li.tab.is-active span::before {
    width: 100%;
}

.tab-content {
    width: 100%;
}

.tab-panel {
    display: none;
}

.tab-panel.is-active {
    display: block;
}

/* Video section */
.video-container {
    padding: 85px 0;
    background-color: var(--color-accent-light);
}

.video-container-inner {
    max-width: 1330px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Contact section */
.contact-container {
    padding: 105px 0;
    background-color: var(--color-accent-light-bg);
}

.contact-container-inner {
    max-width: 1330px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Form container */
.custom-contact-form {
    display: grid;
    gap: 1.25rem; /* ~20px */
    font-family: 'Arial', sans-serif;
    width: 600px;
    margin: 0 auto;
}

/* Grid for first two inputs */
.custom-contact-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem; /* ~20px */
}

/* Inputs */
.custom-contact-form .form-input,
.custom-contact-form .form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.875rem; /* 14px */
    color: #111; /* foreground */
    background-color: #fff; /* background */
    border: 1px solid #ccc; /* border */
    border-radius: 4px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.custom-contact-form .form-input:focus,
.custom-contact-form .form-textarea:focus {
    outline: none;
    border-color: var(--color-accent-light); /* primary */
    box-shadow: 0 0 0 1px var(--color-accent-light);
}

/* Textarea resize */
.custom-contact-form .form-textarea {
    resize: none;
}

/* Button */
.custom-contact-form .form-button {
    display: inline-block;
    padding: 0.75rem 2.5rem;
    font-size: 0.875rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: var(--color-accent-light); /* primary */
    color: #fff; /* primary foreground */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.custom-contact-form .form-button:hover {
    background-color: var(--color-accent); /* darker hover */
}

/* Responsive: stack inputs on small screens */
@media (max-width: 640px) {
    .custom-contact-form .form-grid {
        grid-template-columns: 1fr;
    }

    .custom-contact-form .form-button {
        width: 100%;
    }
}


.ep-iFrameContainer {
    width: 100% !important;
}

.video-iframe {
    margin-top: 15px;
    width: 100%;
    height: 600px;
    border-radius: 8px;
}

.pill-link {
    position: relative;
    z-index: 10;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    border-radius: 9999px;
    transition: color 0.2s ease;
    white-space: nowrap;
  }

.pill-link:hover {
    color: #000;
  }

.pill-link.active {
    color: #fff;
  }

@media (min-width: 768px){
    .video-iframe {
        height: 800px;
    }
}

.aspect-video {
    aspect-ratio: auto;
}

@media (min-width: 1024px){
    .aspect-video {
        aspect-ratio: 16 / 9;
    }
}
