/* Stackly Realty Core Plugin Styles — Swiss Architectural Identity */
:root {
    --stk-cream: #F4F1EA;
    --stk-charcoal: #1D1D1B;
    --stk-terracotta: #D7603B;
    --stk-white: #FFFFFF;
    --stk-muted: #666663;
    --stk-border: rgba(29, 29, 27, 0.12);
    --stk-font-heading: 'DM Serif Display', Georgia, serif;
    --stk-font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --stk-radius: 2px;
}

/* Property Grid */
.stk-properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 3vw, 40px);
    width: 100%;
}

@media (max-width: 1024px) {
    .stk-properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .stk-properties-grid {
        grid-template-columns: 1fr;
    }
}

/* Property Card */
.stk-property-card {
    background: transparent;
    border: 1px solid var(--stk-border);
    border-radius: var(--stk-radius);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: border-color 0.4s ease;
}

.stk-property-card:hover {
    border-color: rgba(29, 29, 27, 0.35);
}

.stk-property-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Card Media & Image Hover */
.stk-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--stk-charcoal);
}

.stk-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 600ms cubic-bezier(0.25, 1, 0.5, 1);
    filter: brightness(0.96);
}

.stk-property-card:hover .stk-card-image {
    transform: scale(1.035);
}

.stk-card-badge-container {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
}

.stk-card-index {
    display: inline-block;
    background: rgba(29, 29, 27, 0.85);
    color: var(--stk-cream);
    font-family: var(--stk-font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 1px;
    backdrop-filter: blur(4px);
}

/* Card Body */
.stk-card-body {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #FFFFFF;
}

.stk-card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}

.stk-card-title {
    font-family: var(--stk-font-heading);
    font-size: clamp(1.25rem, 1.4vw, 1.45rem);
    font-weight: 400;
    line-height: 1.25;
    color: var(--stk-charcoal);
    margin: 0;
    letter-spacing: 0;
    transition: letter-spacing 400ms ease, color 300ms ease;
}

.stk-property-card:hover .stk-card-title {
    letter-spacing: 0.015em;
}

.stk-card-cta-icon {
    color: var(--stk-charcoal);
    display: flex;
    align-items: center;
    transform: translateX(0);
    transition: transform 400ms cubic-bezier(0.2, 0.8, 0.4, 1), color 300ms ease;
}

.stk-property-card:hover .stk-card-cta-icon {
    transform: translateX(5px);
    color: var(--stk-terracotta);
}

.stk-card-meta-primary {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: var(--stk-font-body);
    font-size: 13.5px;
    color: var(--stk-muted);
    margin-bottom: 16px;
}

.stk-card-location {
    font-weight: 400;
}

.stk-card-price {
    font-family: var(--stk-font-body);
    font-size: 15px;
    font-weight: 700;
    color: var(--stk-terracotta);
    letter-spacing: -0.01em;
}

/* Card Divider Expansion */
.stk-card-divider {
    height: 1px;
    background: var(--stk-border);
    width: 100%;
    margin-bottom: 14px;
    position: relative;
    overflow: hidden;
}

.stk-card-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--stk-terracotta);
    transition: width 500ms cubic-bezier(0.25, 1, 0.5, 1);
}

.stk-property-card:hover .stk-card-divider::after {
    width: 100%;
}

/* Card Specs */
.stk-card-specs {
    display: flex;
    gap: 16px;
    font-family: var(--stk-font-body);
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--stk-charcoal);
    margin-top: auto;
}

.stk-spec-item strong {
    font-weight: 700;
    color: var(--stk-charcoal);
}

/* Featured Residence Full Section */
.stk-featured-project-section {
    width: 100%;
    margin: clamp(40px, 6vw, 80px) 0;
}

.stk-featured-project-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--stk-radius);
    overflow: hidden;
}

.stk-featured-project-media {
    position: relative;
    width: 100%;
    height: clamp(400px, 60vh, 650px);
    overflow: hidden;
    background: var(--stk-charcoal);
}

.stk-featured-project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 800ms cubic-bezier(0.25, 1, 0.5, 1);
}

.stk-featured-project-media:hover .stk-featured-project-image {
    transform: scale(1.035);
}

.stk-featured-project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(29,29,27,0.1) 0%, rgba(29,29,27,0.85) 100%);
    display: flex;
    align-items: flex-end;
    padding: clamp(24px, 5vw, 60px);
}

.stk-featured-overlay-content {
    max-width: 600px;
    color: var(--stk-cream);
}

.stk-project-subtitle {
    display: inline-block;
    font-family: var(--stk-font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--stk-terracotta);
    margin-bottom: 8px;
}

.stk-project-title {
    font-family: var(--stk-font-heading);
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--stk-cream);
    margin: 0 0 12px 0;
}

.stk-project-meta {
    font-family: var(--stk-font-body);
    font-size: clamp(14px, 1.2vw, 17px);
    color: rgba(244, 241, 234, 0.9);
    margin-bottom: 24px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.stk-project-price {
    font-weight: 700;
    color: var(--stk-cream);
}

/* Buttons */
.stk-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--stk-font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: var(--stk-radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 300ms ease;
}

.stk-btn .stk-arrow {
    display: inline-block;
    transition: transform 300ms ease;
}

.stk-btn:hover .stk-arrow {
    transform: translateX(5px);
}

.stk-btn-primary {
    background-color: var(--stk-terracotta);
    color: var(--stk-cream);
    border-color: var(--stk-terracotta);
}

.stk-btn-primary:hover {
    background-color: var(--stk-charcoal);
    border-color: var(--stk-charcoal);
    color: var(--stk-cream);
}

.stk-btn-secondary {
    background-color: transparent;
    color: var(--stk-charcoal);
    border-color: var(--stk-charcoal);
}

.stk-btn-secondary:hover {
    background-color: var(--stk-charcoal);
    color: var(--stk-cream);
}

/* Filter Bar */
.stk-filter-container {
    width: 100%;
    margin-bottom: 40px;
}

.stk-filter-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 16px;
    align-items: flex-end;
    padding: 24px;
    background: #FFFFFF;
    border: 1px solid var(--stk-border);
    border-radius: var(--stk-radius);
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .stk-filter-bar {
        grid-template-columns: 1fr 1fr;
    }
    .stk-filter-action {
        grid-column: span 2;
    }
}

@media (max-width: 550px) {
    .stk-filter-bar {
        grid-template-columns: 1fr;
    }
    .stk-filter-action {
        grid-column: span 1;
    }
}

.stk-filter-item {
    display: flex;
    flex-direction: column;
}

.stk-filter-item label {
    font-family: var(--stk-font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--stk-charcoal);
    margin-bottom: 6px;
}

.stk-select {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--stk-font-body);
    font-size: 14px;
    color: var(--stk-charcoal);
    background-color: var(--stk-cream);
    border: 1px solid var(--stk-border);
    border-radius: var(--stk-radius);
    outline: none;
    cursor: pointer;
    transition: border-color 200ms ease;
}

.stk-select:focus {
    border-color: var(--stk-terracotta);
}

/* Contact Form */
.stk-inquiry-form {
    width: 100%;
}

.stk-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

@media (max-width: 600px) {
    .stk-form-grid {
        grid-template-columns: 1fr;
    }
}

.stk-form-field {
    display: flex;
    flex-direction: column;
}

.stk-form-full {
    grid-column: span 2;
}

@media (max-width: 600px) {
    .stk-form-full {
        grid-column: span 1;
    }
}

.stk-form-field label {
    font-family: var(--stk-font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--stk-charcoal);
    margin-bottom: 8px;
}

.stk-req {
    color: var(--stk-terracotta);
}

.stk-form-field input[type="text"],
.stk-form-field input[type="email"],
.stk-form-field input[type="tel"],
.stk-form-field textarea {
    width: 100%;
    padding: 14px 0;
    font-family: var(--stk-font-body);
    font-size: 15px;
    color: var(--stk-charcoal);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--stk-border);
    border-radius: 0;
    outline: none;
    transition: border-color 300ms ease;
}

.stk-form-field input:focus,
.stk-form-field textarea:focus {
    border-bottom-color: var(--stk-terracotta);
}

.stk-form-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.stk-form-status {
    font-family: var(--stk-font-body);
    font-size: 14px;
    color: var(--stk-charcoal);
}

.stk-form-status.success {
    color: #2e7d32;
    font-weight: 600;
}

.stk-form-status.error {
    color: #c62828;
    font-weight: 600;
}

/* Stats */
.stk-stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    border-top: 1px solid var(--stk-border);
    border-bottom: 1px solid var(--stk-border);
    padding: 40px 0;
    margin: 40px 0;
}

@media (max-width: 768px) {
    .stk-stats-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.stk-stat-box {
    display: flex;
    flex-direction: column;
}

.stk-stat-number {
    font-family: var(--stk-font-heading);
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    line-height: 1;
    color: var(--stk-terracotta);
    margin-bottom: 8px;
}

.stk-stat-label {
    font-family: var(--stk-font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--stk-charcoal);
}

/* Philosophy Grid */
.stk-philosophy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--stk-border);
    border-bottom: 1px solid var(--stk-border);
}

@media (max-width: 1024px) {
    .stk-philosophy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .stk-philosophy-grid {
        grid-template-columns: 1fr;
    }
}

.stk-philosophy-card {
    padding: clamp(28px, 4vw, 48px) 28px;
    border-right: 1px solid var(--stk-border);
    display: flex;
    flex-direction: column;
}

.stk-philosophy-card:last-child {
    border-right: none;
}

.stk-ph-number {
    font-family: var(--stk-font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--stk-terracotta);
    margin-bottom: 16px;
}

.stk-ph-title {
    font-family: var(--stk-font-heading);
    font-size: clamp(1.4rem, 1.8vw, 1.8rem);
    font-weight: 400;
    color: var(--stk-charcoal);
    margin: 0 0 12px 0;
}

.stk-ph-desc {
    font-family: var(--stk-font-body);
    font-size: 14px;
    line-height: 1.6;
    color: var(--stk-muted);
    margin: 0;
}

/* Team Grid */
.stk-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 3vw, 40px);
}

@media (max-width: 768px) {
    .stk-team-grid {
        grid-template-columns: 1fr;
    }
}

.stk-team-card {
    display: flex;
    flex-direction: column;
}

.stk-team-media {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--stk-charcoal);
    border-radius: var(--stk-radius);
    margin-bottom: 16px;
}

.stk-team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: transform 600ms ease, filter 400ms ease;
}

.stk-team-card:hover .stk-team-image {
    transform: scale(1.03);
    filter: grayscale(0%);
}

.stk-team-name {
    font-family: var(--stk-font-heading);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--stk-charcoal);
    margin: 0 0 4px 0;
}

.stk-team-role {
    font-family: var(--stk-font-body);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--stk-terracotta);
    margin: 0 0 4px 0;
}

.stk-team-loc {
    font-family: var(--stk-font-body);
    font-size: 12px;
    color: var(--stk-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
/* Single Property Enhancements */
.stk-single-breadcrumbs {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--stk-muted);
    margin-bottom: 12px;
}

.stk-single-breadcrumbs a {
    color: var(--stk-charcoal);
    text-decoration: none;
}

.stk-single-breadcrumbs a:hover {
    color: var(--stk-terracotta);
}

.stk-current-crumb {
    color: var(--stk-terracotta);
}

.stk-single-specs-bar {
    background: #FFFFFF;
    border: 1px solid var(--stk-border);
    border-radius: var(--stk-radius);
    padding: clamp(24px, 3.5vw, 40px);
    margin-bottom: 48px;
}

.stk-single-specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--stk-border);
    margin-bottom: 24px;
}

@media (max-width: 900px) {
    .stk-single-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 550px) {
    .stk-single-specs-grid {
        grid-template-columns: 1fr;
    }
}

.stk-single-spec-item {
    display: flex;
    flex-direction: column;
}

.stk-spec-label {
    font-family: var(--stk-font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--stk-muted);
    margin-bottom: 6px;
}

.stk-spec-val {
    font-family: var(--stk-font-body);
    font-size: 17px;
    font-weight: 700;
    color: var(--stk-charcoal);
}

.stk-terracotta-val {
    font-family: var(--stk-font-heading);
    font-size: 24px;
    font-weight: 400;
    color: var(--stk-terracotta);
}

.stk-single-meta-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .stk-single-meta-table {
        grid-template-columns: 1fr;
    }
}

.stk-meta-row {
    display: flex;
    flex-direction: column;
}

.stk-meta-k {
    font-size: 11px;
    font-weight: 600;
    color: var(--stk-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.stk-meta-v {
    font-size: 14px;
    font-weight: 600;
    color: var(--stk-charcoal);
}

.stk-single-content-body {
    font-size: 16px;
    line-height: 1.7;
    color: var(--stk-charcoal);
    margin-bottom: 40px;
}

.stk-amenities-block {
    border-top: 1px solid var(--stk-border);
    padding-top: 36px;
    margin-top: 36px;
}

.stk-single-subheading {
    font-family: var(--stk-font-heading);
    font-size: 1.6rem;
    font-weight: 400;
    margin: 0 0 20px 0;
}

.stk-amenities-checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
}

@media (max-width: 600px) {
    .stk-amenities-checklist {
        grid-template-columns: 1fr;
    }
}

.stk-amenity-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 14px;
    color: var(--stk-charcoal);
}

.stk-amenity-bullet {
    color: var(--stk-terracotta);
    font-weight: 700;
}
