/**
 * Parhomenko Estate - Frontend Styles
 * Based on Warm & Personal Design Concept
 * Mobile-first responsive design with BEM naming convention
 */

/* =============================================================================
   Fonts (self-hosted, latin subset)
   ============================================================================= */

@font-face {
    font-family: 'Libre Baskerville';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/font-0.woff2) format('woff2');
}

@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/font-1.woff2) format('woff2');
}

@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(../fonts/font-1.woff2) format('woff2');
}

@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(../fonts/font-1.woff2) format('woff2');
}

@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(../fonts/font-1.woff2) format('woff2');
}

/* =============================================================================
   CSS Variables (matching design concept)
   ============================================================================= */

:root {
    /* Brand Colors */
    --color-dark: #392b24;
    --color-medium: #7a6b5d;
    --color-light: #ede9e6;
    --color-highlight: #d8b468;
    --color-highlight-hover: #c9a55e;
    --color-warm-white: #faf8f6;
    --color-white: #ffffff;

    /* Text Colors */
    --color-text: #392b24;
    --color-text-light: #666666;
    --color-text-muted: #888888;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Typography */
    --font-heading: 'Libre Baskerville', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-base: 1rem;
    --font-size-sm: 0.875rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3.25rem;
    --line-height-base: 1.7;
    --line-height-tight: 1.2;

    /* Layout */
    --container-max-width: 1400px;
    --container-padding: 20px;
    --header-height: 90px;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-base: 0.3s ease;

    /* Shadows */
    --shadow-sm: 0 10px 40px rgba(64, 50, 40, 0.1);
    --shadow-md: 0 20px 50px rgba(64, 50, 40, 0.15);
    --shadow-lg: 0 30px 60px rgba(64, 50, 40, 0.2);

    /* Border Radius */
    --radius-sm: 10px;
    --radius-md: 15px;
    --radius-lg: 20px;
    --radius-pill: 30px;
    --radius-full: 9999px;
}

/* =============================================================================
   Reset & Base
   ============================================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    font-weight: 400;
    line-height: var(--line-height-base);
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* =============================================================================
   Typography
   ============================================================================= */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: var(--line-height-tight);
    color: var(--color-dark);
}

h1 {
    font-size: 24px;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: var(--font-size-xl);
}

h4 {
    font-size: var(--font-size-lg);
}

p {
    margin-bottom: var(--spacing-md);
}

p:last-child {
    margin-bottom: 0;
}

.text-highlight {
    color: var(--color-highlight);
}

.text-muted {
    color: var(--color-text-muted);
}

/* =============================================================================
   Rich Text (TinyMCE content)
   ============================================================================= */

.rich-text {
    font-size: 14px;
    color: var(--color-text);
}

.rich-text p {
    margin: 0 0 var(--spacing-md);
}

.rich-text p:last-child {
    margin-bottom: 0;
}

.rich-text h2 {
    font-size: var(--font-size-xl);
    color: var(--color-dark);
    margin: var(--spacing-lg) 0 var(--spacing-sm);
}

.rich-text h2:first-child {
    margin-top: 0;
}

.rich-text h3 {
    font-size: var(--font-size-lg);
    color: var(--color-dark);
    margin: var(--spacing-md) 0 var(--spacing-sm);
}

.rich-text h3:first-child {
    margin-top: 0;
}

.rich-text ul,
.rich-text ol {
    margin: 0 0 var(--spacing-md);
    padding-left: 24px;
    list-style: disc;
}

.rich-text ol {
    list-style: decimal;
}

.rich-text li {
    margin-bottom: var(--spacing-sm);
}

.rich-text blockquote {
    border-left: 4px solid var(--color-highlight);
    padding: var(--spacing-md) var(--spacing-lg);
    margin: var(--spacing-lg) 0;
    background: var(--color-light);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
}

.rich-text a {
    color: var(--color-highlight);
    text-decoration: underline;
}

.rich-text a:hover {
    color: var(--color-dark);
}

/* =============================================================================
   Layout
   ============================================================================= */

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.section {
    padding: 40px var(--container-padding);
    scroll-margin-top: var(--header-height);
}

.section--light {
    background-color: var(--color-light);
}

.section--dark {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.section--white {
    background-color: var(--color-white);
}

/* Main content area - offset for fixed header */
.main {
    min-height: calc(100vh - var(--header-height));
    padding-top: var(--header-height);
}

.section-header {
    max-width: 1200px;
    margin: 0 auto 30px;
}

.section-header h2 {
    font-size: 30px;
    margin: 0;
}

.section-header h2 a {
    color: inherit;
    text-decoration: none;
}

.section-header h2 a:hover {
    color: var(--highlight);
}

.section-footer {
    max-width: 1200px;
    margin: 40px auto 0;
    text-align: center;
}

/* =============================================================================
   Buttons (pill-shaped as per design)
   ============================================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 16px 35px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    transition: all var(--transition-fast);
    min-height: 44px;
    min-width: 44px;
    text-decoration: none;
}

.btn--primary {
    background-color: var(--color-highlight);
    color: var(--color-dark);
}

.btn--primary:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.btn--secondary {
    background-color: transparent;
    color: var(--color-dark);
    border: 2px solid var(--color-dark);
}

.btn--secondary:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.btn--whatsapp {
    background-color: var(--color-highlight);
    color: var(--color-dark);
}

.btn--whatsapp:hover {
    background-color: #c9a66e;
}

.btn--ghost {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn--ghost:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
    border-color: var(--color-white);
}

.btn--sm {
    padding: 12px 25px;
    font-size: 14px;
}

.btn--lg {
    padding: 18px 40px;
    font-size: 16px;
}

/* View All Links */
.view-all-link {
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color var(--transition-fast);
}

.view-all-link:hover {
    color: var(--color-highlight);
}

/* =============================================================================
   Header (Dark background as per design)
   ============================================================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: var(--color-dark);
    z-index: 100;
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 20px;
    max-width: none;
}

.header__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header__logo img {
    height: 80px;
    width: auto;
}

.header__nav {
    display: none;
}

.header__nav-list {
    display: flex;
    gap: 35px;
}

.header__nav-link {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.header__nav-link:hover,
.header__nav-link--active {
    color: var(--color-highlight);
}

.header__cta {
    display: none;
    background-color: var(--color-highlight);
    color: var(--color-dark);
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-pill);
}

.header__cta:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
}

.header__right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header__mobile-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--color-highlight);
    transition: opacity var(--transition-fast);
}

.header__mobile-wa:hover {
    opacity: 0.8;
}

.header__menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--color-white);
}

.header__menu-icon {
    width: 24px;
    height: 24px;
}

.header--scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* =============================================================================
   Mobile Navigation
   ============================================================================= */

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-dark);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--transition-base);
}

.mobile-nav--open {
    transform: translateX(0);
}

.mobile-nav__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 var(--container-padding);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--color-white);
}

.mobile-nav__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--spacing-xl);
}

.mobile-nav__list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    text-align: center;
}

.mobile-nav__link {
    font-size: var(--font-size-xl);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.mobile-nav__link:hover,
.mobile-nav__link--active {
    color: var(--color-highlight);
}

.mobile-nav__footer {
    padding: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav__cta {
    width: 100%;
}

/* =============================================================================
   Footer (Dark background as per design)
   ============================================================================= */

.footer {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 50px 20px 40px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto 60px;
    text-align: center;
}

.footer__section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.footer__logo {
    display: inline-block;
}

.footer__logo img {
    height: 70px;
    width: auto;
}

.footer__motto {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    max-width: 300px;
    margin: 0 auto;
}

.footer__title {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-highlight);
    margin-bottom: var(--spacing-sm);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__link {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer__link:hover {
    color: var(--color-highlight);
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer__contact-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer__social {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    transition: background-color var(--transition-fast);
}

.footer__social-link:hover {
    background-color: var(--color-highlight);
}

.footer__social-icon {
    width: 20px;
    height: 20px;
}

.footer__bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer__copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* =============================================================================
   Hero Section (New — cinematic full-width)
   ============================================================================= */

.hero {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--color-dark);
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.hero__bg--placeholder {
    background-color: var(--color-medium);
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(57, 43, 36, 0.5);
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: calc(1200px + 2 * var(--container-padding));
    margin: 0 auto;
    padding: 20px var(--container-padding);
    width: 100%;
    text-align: center;
}

.hero__label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-highlight);
    margin-bottom: 20px;
}

.hero__title {
    font-size: 36px;
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 550px;
    line-height: 1.6;
    margin: 0 auto 35px;
}

.hero__buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.hero__buttons .btn {
    width: 100%;
    max-width: 320px;
}

/* =============================================================================
   Hero Classic (Old homepage backup at /homepage-old)
   ============================================================================= */

.hero-classic {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 50px 20px 60px;
    background-color: var(--color-light);
}

.hero-classic__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
    text-align: center;
}

.hero-classic__content h1 {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-classic__content p {
    font-size: 18px;
    color: var(--color-text-light);
    margin-bottom: 35px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.hero-classic__buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.hero-classic__image {
    order: -1;
}

.hero-classic__photo {
    width: 100%;
    max-width: 350px;
    height: 450px;
    margin: 0 auto;
    background-size: cover;
    background-position: center;
    border-radius: 175px 175px 20px 20px;
    box-shadow: var(--shadow-lg);
    border: 3px solid rgba(217, 182, 126, 0.5);
}

.hero-classic__photo--placeholder {
    background-color: var(--color-medium);
}

/* =============================================================================
   About Section
   ============================================================================= */

.about {
    padding: 60px 20px 60px;
    background-color: var(--color-white);
    scroll-margin-top: var(--header-height);
}

.about__container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    font-size: 30px;
    margin-bottom: 30px;
    line-height: 1.3;
}

.about__text {
    font-size: 18px;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto 30px;
    white-space: pre-line;
    line-height: 1.7;
}

.about__signature {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 28px;
    color: var(--color-highlight);
    margin-top: 40px;
}

/* =============================================================================
   Cards (Property/Signature Cards)
   ============================================================================= */

.card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    display: flex;
    flex-direction: column;
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.card__image {
    display: block;
    position: relative;
    z-index: 1;
    height: 200px;
    overflow: hidden;
}

.card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.card:hover .card__image img {
    transform: scale(1.05);
}

.card__tag {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 16px;
    background-color: var(--color-highlight);
    color: var(--color-dark);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 20px;
}

.card__body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 20px;
    background-color: var(--color-white);
}

.card__title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 400;
    color: var(--color-dark);
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.card__location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888888;
    font-size: 14px;
    margin-bottom: 15px;
    text-decoration: none;
    transition: color var(--transition-fast);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.card__location-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

a.card__location:hover {
    color: var(--color-highlight);
}

.card__location svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    fill: var(--color-highlight);
}

.card__details {
    display: flex;
    gap: 25px;
    padding-top: 8px;
    border-top: 1px solid var(--color-light);
    margin-bottom: 8px;
}

.card__detail {
    font-size: 13px;
    color: var(--color-text-light);
}

.card__detail strong {
    display: block;
    font-size: 18px;
    color: var(--color-dark);
    font-weight: 600;
    line-height: 1.2;
}

.card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.card__price {
    font-size: 19px;
    font-weight: 700;
    color: var(--color-highlight);
}

.card__price-label {
    font-size: 13px;
    font-weight: 400;
    color: var(--color-dark);
    opacity: 0.6;
}

.card__link {
    color: var(--color-dark);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition-fast);
}

.card__link:hover {
    color: var(--color-highlight);
}

.card__link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

/* =============================================================================
   Development Cards
   ============================================================================= */

.dev-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    display: flex;
    flex-direction: column;
    position: relative;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.dev-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.dev-card__image {
    display: block;
    position: relative;
    z-index: 1;
    height: 200px;
    overflow: hidden;
}

.dev-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.dev-card:hover .dev-card__image img {
    transform: scale(1.05);
}

.dev-card__placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--color-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dev-card__badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 16px;
    background-color: var(--color-highlight);
    color: var(--color-dark);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.dev-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background-color: var(--color-white);
}

.dev-card__title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 400;
    color: var(--color-dark);
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.dev-card__excerpt {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dev-card__footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: auto;
    gap: 12px;
}

.dev-card__footer .card__price {
    margin-right: auto;
}

.dev-card__link {
    color: var(--color-dark);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.dev-card__link:hover {
    color: var(--color-highlight);
}

.dev-card__link svg {
    stroke: currentColor;
    fill: none;
}

.dev-card__link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

/* =============================================================================
   News Items
   ============================================================================= */

.news-list {
    max-width: 1200px;
    margin: 0 auto;
}

.news-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 0;
    border-bottom: 1px solid rgba(64, 50, 40, 0.1);
    text-decoration: none;
    color: inherit;
}

.news-item:first-child {
    padding-top: 0;
}

.news-item--no-image {
    grid-template-columns: 1fr;
}

.news-item__thumb {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-sm);
}

.news-item__date {
    font-size: 13px;
    color: var(--color-highlight);
    font-weight: 600;
    margin-bottom: 8px;
}

.news-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    transition: color var(--transition-fast);
}

.news-item:hover h3 {
    color: var(--color-highlight);
}

.news-item p {
    font-size: 14px;
    color: var(--color-text-light);
    margin: 0;
}

/* =============================================================================
   Consultation Section
   ============================================================================= */

.consultation {
    padding: 60px 20px;
    background-color: var(--color-white);
    text-align: center;
}

.consultation__container {
    max-width: 900px;
    margin: 0 auto;
}

.consultation h2 {
    font-size: 30px;
    margin-bottom: 30px;
    line-height: 1.3;
}

.consultation__text {
    font-size: 18px;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto 30px;
    white-space: pre-line;
    line-height: 1.7;
}

.consultation__read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color var(--transition-fast);
}

.consultation__read-more:hover {
    color: var(--color-highlight);
}

.consultation__read-more svg {
    stroke: currentColor;
}

/* Consultation Page */
.consultation-page {
    max-width: 1200px;
    margin: 0 auto;
}

.consultation-page__content {
    margin-bottom: var(--spacing-xl);
}

.consultation-page__cta {
    text-align: center;
}

/* =============================================================================
   Timeline (Developments)
   ============================================================================= */

.timeline {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.timeline__item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 60px;
}

.timeline__image {
    height: 280px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.timeline__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.timeline__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timeline__date {
    display: inline-block;
    background-color: var(--color-highlight);
    color: var(--color-dark);
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    align-self: flex-start;
}

.timeline__title-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.timeline__title-link:hover h3 {
    color: var(--color-highlight);
}

.timeline__content h3 {
    font-size: 18px;
    margin-bottom: 12px;
    transition: color var(--transition-fast);
}

.timeline__content p {
    color: var(--color-text-light);
    font-size: 14px;
    margin: 0 0 15px;
}

.timeline__footer {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
}

.timeline__footer .card__price {
    margin-right: auto;
}

/* =============================================================================
   Search & Filter (Signature Listing)
   ============================================================================= */

.search-filter {
    max-width: 1200px;
    margin: 0 auto var(--spacing-xl);
    position: relative;
}

.search-filter__input-wrapper {
    display: flex;
    align-items: center;
    background: var(--color-white);
    border-radius: var(--radius-pill);
    padding: 0 20px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-fast);
}

.search-filter__input-wrapper:focus-within {
    box-shadow: var(--shadow-md);
}

.search-filter__icon {
    flex-shrink: 0;
    fill: var(--color-text-muted);
    width: 20px;
    height: 20px;
}

.search-filter__input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-text);
    padding: 16px 12px;
    min-width: 0;
}

.search-filter__input::placeholder {
    color: var(--color-text-muted);
}

.search-filter__clear {
    display: none;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    border-radius: var(--radius-full);
    cursor: pointer;
    padding: 0;
    transition: background var(--transition-fast);
}

.search-filter__clear--visible {
    display: flex;
}

.search-filter__clear:hover {
    background: var(--color-light);
}

.search-filter__clear svg {
    fill: var(--color-text-muted);
}

/* Filter Panel (expandable dropdown) */
.search-filter__panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--transition-fast), visibility var(--transition-fast), transform var(--transition-fast);
    z-index: 50;
    max-height: 400px;
    overflow-y: auto;
}

.search-filter__panel--open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* City & District tag rows */
.search-filter__city-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.search-filter__district-tags {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(57, 43, 36, 0.1);
}

.search-filter__district-tags--visible {
    display: flex;
}

/* Tag / Chip */
.search-filter__tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid rgba(57, 43, 36, 0.15);
    background: var(--color-white);
    color: var(--color-text);
    transition: all var(--transition-fast);
    user-select: none;
}

.search-filter__tag:hover {
    border-color: var(--color-highlight);
    color: var(--color-highlight);
}

.search-filter__tag--active {
    background: var(--color-highlight);
    color: var(--color-dark);
    border-color: var(--color-highlight);
}

.search-filter__tag--active:hover {
    background: var(--color-highlight-hover);
    border-color: var(--color-highlight-hover);
}

.search-filter__tag--district {
    font-size: 13px;
    padding: 6px 14px;
}

/* Active filters chips (shown above grid when panel closed) */
.search-filter__active {
    max-width: 1200px;
    margin: 0 auto;
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: var(--spacing-lg);
    align-items: center;
}

.search-filter__active--visible {
    display: flex;
}

.search-filter__active-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    background: var(--color-highlight);
    color: var(--color-dark);
}

.search-filter__active-chip-remove {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    background: transparent;
    border-radius: var(--radius-full);
    padding: 0;
    transition: background var(--transition-fast);
}

.search-filter__active-chip-remove:hover {
    background: rgba(57, 43, 36, 0.15);
}

.search-filter__active-chip-remove svg {
    width: 12px;
    height: 12px;
    fill: var(--color-dark);
}

.search-filter__clear-all {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 6px 12px;
    border: none;
    background: transparent;
    transition: color var(--transition-fast);
}

.search-filter__clear-all:hover {
    color: var(--color-dark);
}

/* No-results state */
.search-filter__no-results {
    display: none;
    max-width: 1200px;
    margin: 0 auto;
}

.search-filter__no-results--visible {
    display: block;
}

/* =============================================================================
   Grid Layouts
   ============================================================================= */

.grid--hidden {
    display: none;
}

.grid {
    display: grid;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.grid--1 {
    grid-template-columns: 1fr;
}

.grid--2 {
    grid-template-columns: 1fr;
}

.grid--3 {
    grid-template-columns: 1fr;
}

/* =============================================================================
   Utilities
   ============================================================================= */

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

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

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

/* =============================================================================
   Empty State
   ============================================================================= */

.empty-state {
    text-align: center;
    padding: var(--spacing-3xl) var(--spacing-xl);
}

.empty-state__text {
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-xl);
}

/* =============================================================================
   Card Placeholder
   ============================================================================= */

.card__placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--color-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =============================================================================
   Infinite Scroll Loader
   ============================================================================= */

.infinite-scroll-loader {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    padding: var(--spacing-xl);
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
}

.infinite-scroll-loader.is-loading {
    display: flex;
}

.infinite-scroll-loader.is-complete {
    display: flex;
}

.loader-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--color-light);
    border-top-color: var(--color-highlight);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =============================================================================
   Error Pages
   ============================================================================= */

.error-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--header-height));
    padding: var(--spacing-xl);
    text-align: center;
}

.error-page__code {
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 400;
    color: var(--color-highlight);
    line-height: 1;
    margin-bottom: var(--spacing-md);
}

.error-page__title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-md);
}

.error-page__text {
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-xl);
    max-width: 400px;
}

/* =============================================================================
   Tablet Breakpoint (768px+)
   ============================================================================= */

@media (min-width: 768px) {
    :root {
        --container-padding: 60px;
        --header-height: 90px;
    }

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 40px;
    }

    .section {
        padding: 60px 60px 60px;
    }

    .section-header {
        margin: 0 auto 40px;
    }

    .section-header h2 {
        font-size: 40px;
    }

    /* Header — show CTA, hide mobile WhatsApp icon on tablet */
    .header__cta {
        display: inline-flex;
    }

    .header__mobile-wa {
        display: none;
    }

    .consultation h2 {
        font-size: 40px;
    }

    /* Header */
    .header__container {
        padding: 0 60px;
    }

    .hero__title {
        font-size: 42px;
    }

    .hero__subtitle {
        font-size: 19px;
    }

    .hero__buttons {
        flex-direction: row;
    }

    .hero__buttons .btn {
        width: auto;
        max-width: none;
    }

    /* Hero Classic (old homepage) */
    .hero-classic {
        padding: 60px 60px 80px;
    }

    .hero-classic__content h1 {
        font-size: 42px;
    }

    .hero-classic__buttons {
        flex-direction: row;
    }

    /* News items - horizontal layout */
    .news-item {
        grid-template-columns: 150px 1fr;
        gap: 30px;
        align-items: center;
    }

    .news-item--no-image {
        grid-template-columns: 1fr;
    }

    .news-item__thumb {
        width: 150px;
        height: 100px;
    }

    /* Grid */
    .grid--2,
    .grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Cards */
    .card__image {
        height: 280px;
    }

    .card__body {
        padding: 28px;
    }

    .card__location {
        margin-bottom: 20px;
    }

    .card__title {
        font-size: 22px;
    }

    .card__location {
        font-size: 18px;
    }

    .card__detail {
        font-size: 13px;
    }

    .card__link {
        font-size: 18px;
    }

    .card__price {
        font-size: 26px;
    }

    .card__price-label {
        font-size: 15px;
    }

    /* Development Cards */
    .dev-card__image {
        height: 280px;
    }

    .dev-card__body {
        padding: 28px;
    }

    .dev-card__title {
        font-size: 22px;
    }

    .dev-card__excerpt {
        font-size: 18px;
    }

    .dev-card__link {
        font-size: 18px;
    }

    /* News Items (homepage) */
    .news-item h3 {
        font-size: 22px;
    }

    .news-item p {
        font-size: 18px;
    }

    /* Timeline */
    .timeline__content h3 {
        font-size: 22px;
    }

    .timeline__content p {
        font-size: 18px;
    }

    /* View All Links */
    .view-all-link,
    .consultation__read-more {
        font-size: 18px;
    }

    /* Rich Text (detail pages) */
    .rich-text {
        font-size: 18px;
    }

    /* Footer */
    .footer {
        padding: 80px 60px 40px;
    }

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }

    .footer__section {
        align-items: flex-start;
    }

    .footer__motto {
        margin: 0;
    }

    .footer__contact-item {
        justify-content: flex-start;
    }

    .footer__social {
        justify-content: flex-start;
    }

    .footer__bottom {
        text-align: center;
    }
}

/* =============================================================================
   Desktop Breakpoint (1024px+)
   ============================================================================= */

@media (min-width: 1024px) {
    h1 {
        font-size: 52px;
    }

    /* Header */
    .header__nav {
        display: block;
    }

    .header__menu-btn {
        display: none;
    }

    /* Hero (new) - bottom-left aligned */
    .hero {
        align-items: flex-end;
    }

    .hero__overlay {
        top: auto;
        height: 70%;
        background: linear-gradient(to top, rgba(57, 43, 36, 0.95) 0%, rgba(57, 43, 36, 0.5) 50%, transparent 100%);
    }

    .hero__content {
        text-align: left;
        padding-bottom: 80px;
    }

    .hero__title {
        font-size: 48px;
    }

    .hero__subtitle {
        margin-left: 0;
        margin-right: 0;
    }

    .hero__buttons {
        justify-content: flex-start;
    }

    /* Hero Classic - side by side */
    .hero-classic__container {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        text-align: left;
    }

    .hero-classic__content h1 {
        font-size: 52px;
    }

    .hero-classic__content p {
        margin-left: 0;
        margin-right: 0;
    }

    .hero-classic__buttons {
        justify-content: flex-start;
    }

    .hero-classic__image {
        order: 0;
    }

    .hero-classic__photo {
        max-width: 500px;
        height: 600px;
        border-radius: 250px 250px 20px 20px;
    }

    /* Timeline with center line */
    .timeline::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 2px;
        background-color: var(--color-light);
        transform: translateX(-50%);
    }

    .timeline__item {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        position: relative;
    }

    .timeline__item::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 140px;
        width: 16px;
        height: 16px;
        background-color: var(--color-highlight);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        border: 4px solid var(--color-white);
        box-shadow: 0 0 0 4px var(--color-light);
    }

    .timeline__item:nth-child(even) {
        direction: rtl;
    }

    .timeline__item:nth-child(even) > * {
        direction: ltr;
    }

    /* Grid */
    .grid--2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid--3 {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Footer */
    .footer__grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
}

/* =============================================================================
   Signature Detail Page
   ============================================================================= */

/* Breadcrumb */
.breadcrumb {
    display: none;
    padding: 20px;
    background: var(--color-light);
}

@media (min-width: 768px) {
    .breadcrumb {
        display: block;
    }
}

.breadcrumb a {
    color: var(--color-medium);
    text-decoration: none;
    font-size: 14px;
}

.breadcrumb a:hover {
    color: var(--color-highlight);
}

.breadcrumb span {
    color: var(--color-medium);
    font-size: 14px;
}

/* Gallery Section */
.gallery-section {
    padding: 20px 20px 15px;
    background: var(--color-light);
}

@media (min-width: 768px) {
    .gallery-section {
        padding: 10px 20px 15px;
    }
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-main {
    width: 100%;
    height: 300px;
    border-radius: var(--radius-lg);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.gallery-main__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.gallery-main--placeholder {
    background-color: var(--color-medium);
}

.gallery-main:hover::after {
    content: 'Click to enlarge';
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
}

.gallery-thumbs-wrapper {
    position: relative;
    margin-top: 15px;
}

.gallery-thumbs {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.gallery-thumbs::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.gallery-thumbs-arrow {
    display: none;
    position: absolute;
    top: 0;
    width: 36px;
    height: 100%;
    border: none;
    cursor: pointer;
    z-index: 2;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--color-dark);
    font-size: 18px;
    transition: opacity var(--transition-fast);
}

.gallery-thumbs-arrow--left {
    left: 0;
    background: linear-gradient(to right, var(--color-light) 60%, transparent);
    padding-right: 8px;
}

.gallery-thumbs-arrow--right {
    right: 0;
    background: linear-gradient(to left, var(--color-light) 60%, transparent);
    padding-left: 8px;
}

.gallery-thumbs-arrow:hover {
    opacity: 0.7;
}

.gallery-thumbs-arrow--hidden {
    pointer-events: none;
    opacity: 0;
}

@media (min-width: 768px) {
    .gallery-thumbs-arrow {
        display: flex;
    }
}

.gallery-thumb {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity var(--transition-fast), border-color var(--transition-fast);
    border: 2px solid transparent;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    opacity: 1;
    border-color: var(--color-highlight);
}

/* Gallery Video */
.gallery-main__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gallery-main__video--hidden {
    display: none;
}

.gallery-main__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    cursor: pointer;
}

.gallery-main__overlay--hidden {
    display: none;
}

.gallery-main__iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius-lg);
}

.gallery-main__image--hidden {
    display: none;
}

.gallery-main--no-hint:hover::after {
    display: none;
}

/* Video Thumbnail */
.gallery-thumb--video {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-dark);
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity var(--transition-fast), border-color var(--transition-fast);
    border: 2px solid transparent;
}

.gallery-thumb--video svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.gallery-thumb--video:hover,
.gallery-thumb--video.active {
    opacity: 1;
    border-color: var(--color-highlight);
}

/* Lightbox Video */
.lightbox__video {
    display: none;
    max-width: 90%;
    width: 80vw;
    aspect-ratio: 16 / 9;
}

.lightbox__video--active {
    display: block;
}

.lightbox__iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Content Section */
.content-section {
    padding: 30px 20px 60px;
    background: var(--color-white);
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.property-info {
    max-width: 700px;
}

.property-title {
    font-size: 26px;
    margin-bottom: 15px;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-medium);
    font-size: 15px;
    margin-bottom: 10px;
}

.property-location svg {
    width: 18px;
    height: 18px;
    fill: var(--color-highlight);
    flex-shrink: 0;
}

.property-location a {
    color: var(--color-medium);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.property-location a:hover {
    color: var(--color-highlight);
}

.property-price {
    font-size: 26px;
    font-weight: 700;
    color: var(--color-highlight);
    margin-bottom: 10px;
}

.property-features {
    display: flex;
    gap: 30px;
    margin-bottom: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--color-light);
    border-bottom: 1px solid var(--color-light);
}

.property-feature {
    display: flex;
    flex-direction: column;
}

.property-feature__value {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.2;
}

.property-feature__label {
    font-size: 13px;
    color: var(--color-medium);
    margin-top: 3px;
}

/* Sidebar */
.sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-self: start;
}

/* Agent Card */
.agent-card {
    background: var(--color-light);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
}

.agent-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin: 0 auto 20px;
    border: 3px solid var(--color-highlight);
}

.agent-photo--placeholder {
    background-color: var(--color-medium);
}

.agent-name {
    font-size: 22px;
    margin-bottom: 5px;
}

.agent-title {
    color: var(--color-medium);
    font-size: 14px;
    margin: 0;
}

.agent-card__divider {
    border: none;
    border-top: 1px solid rgba(57, 43, 36, 0.12);
    margin: 24px 0;
}

.agent-card__cta-heading {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--color-dark);
}

.agent-card__cta-text {
    font-size: 14px;
    color: var(--color-medium);
    margin-bottom: 20px;
}

.agent-card__agency {
    font-size: 13px;
    color: var(--color-medium);
    margin: 10px 0 0;
}

.agent-card__agency a,
.agent-card__agency-name {
    color: var(--color-highlight);
    text-decoration: none;
    font-weight: 500;
}

.agent-card__agency a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Development Detail Page
   ========================================================================== */

/* Development Info */
.development-info {
    max-width: 700px;
}

/* CTA Card (Development Sidebar) */
.cta-card {
    background: var(--color-light);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
}

.cta-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--color-dark);
}

.cta-card p {
    font-size: 14px;
    color: var(--color-medium);
    margin-bottom: 20px;
}

.development-title {
    font-size: 26px;
    color: var(--color-dark);
    margin: 0 0 16px 0;
}

/* Development Badges */
.development-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
}

.badge svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.badge--completion {
    background: var(--color-highlight);
    color: var(--color-dark);
}

.badge--status {
    background: var(--color-light);
    color: var(--color-dark);
}

/* CTA Button (Highlight Color) */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: var(--color-highlight);
    color: var(--color-dark);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 16px;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.btn-cta:hover {
    background: #c9a66e;
    transform: translateY(-2px);
}

.btn-cta svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Contact Dropdown (Detail Pages) */
.contact-dropdown {
    position: relative;
    display: inline-block;
}

.contact-dropdown__trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 30px;
    background: var(--color-highlight);
    color: var(--color-dark);
    border: none;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.contact-dropdown__trigger:hover {
    background: #c9a66e;
}

.contact-dropdown__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    min-width: 200px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-8px);
    transition: opacity var(--transition-fast), visibility var(--transition-fast), transform var(--transition-fast);
    z-index: 10;
    overflow: hidden;
}

.contact-dropdown__menu--open {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.contact-dropdown__option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--color-dark);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: background var(--transition-fast);
}

.contact-dropdown__option:hover {
    background: var(--color-light);
}

.contact-dropdown__option + .contact-dropdown__option {
    border-top: 1px solid var(--color-light);
}

.contact-dropdown__option svg {
    flex-shrink: 0;
}

/* ==========================================================================
   About Page
   ========================================================================== */

.about-page {
    max-width: 1200px;
    margin: 0 auto;
}

.about-page__content {
    margin-bottom: var(--spacing-xl);
}

.about-page__team-header {
    margin-bottom: 30px;
}

/* --------------------------------------------------------------------------
   Team Members (used on About page)
   -------------------------------------------------------------------------- */

.team-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-divider {
    border: none;
    border-top: 1px solid var(--color-light);
    margin: 0;
}

.team-member {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.team-member__photo {
    flex-shrink: 0;
    width: 300px;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.team-member__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.team-member__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-light);
}

.team-member__placeholder svg {
    width: 80px;
    height: 80px;
    fill: var(--color-medium);
}

.team-member__info {
    flex: 1;
}

.team-member__name {
    font-size: 24px;
    font-weight: 400;
    color: var(--color-dark);
    margin: 0 0 8px 0;
}

.team-member__role {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-highlight);
    margin: 0 0 16px 0;
}

.team-member__contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.team-member__contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-light);
    font-size: 15px;
    text-decoration: none;
    transition: color var(--transition-speed);
}

.team-member__contact-link:hover {
    color: var(--color-highlight);
}

.team-member__contact-link svg {
    flex-shrink: 0;
    fill: var(--color-highlight);
}

@media (max-width: 768px) {
    .team-list {
        gap: 40px;
    }

    .team-member {
        flex-direction: column;
        gap: 24px;
    }

    .team-member__photo {
        width: 220px;
    }

    .about-page__team-header h2 {
        font-size: 20px;
    }

    .team-member__name {
        font-size: 18px;
    }

    .team-member__role {
        font-size: 12px;
        margin-bottom: 14px;
    }
}

/* ==========================================================================
   News List Page
   ========================================================================== */

/* News List Container */
.news-list-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* News Card (List Item) */
.news-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
    position: relative;
    cursor: pointer;
}

.news-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.news-card__image {
    display: block;
    width: 100%;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.news-card:hover .news-card__image img {
    transform: scale(1.05);
}

.news-card__placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card__placeholder svg {
    width: 48px;
    height: 48px;
    fill: var(--color-text-muted);
    opacity: 0.5;
}

.news-card__content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card__date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.news-card__date svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.news-card__title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 10px 0;
}

.news-card__title a {
    color: var(--color-dark);
    text-decoration: none;
    transition: color var(--transition-fast);
}

/* Stretched link - makes entire card clickable */
.news-card__title a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.news-card__title a:hover {
    color: var(--color-highlight);
}

.news-card__excerpt {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0 0 16px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dark);
    text-decoration: none;
    margin-top: auto;
    transition: color var(--transition-fast);
    position: relative;
    z-index: 2;
}

.news-card__link:hover {
    color: var(--color-highlight);
}

.news-card__link svg {
    transition: transform var(--transition-fast);
}

.news-card__link:hover svg {
    transform: translateX(4px);
}

/* ==========================================================================
   News Detail Page
   ========================================================================== */

/* Cover Section */
.cover-section {
    background: var(--color-light);
    padding: 20px 20px 30px;
}

@media (min-width: 768px) {
    .cover-section {
        padding-top: 0;
    }
}

.cover-container {
    max-width: 1200px;
    margin: 0 auto;
}

.cover-image {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.cover-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Article Section */
.article-section {
    padding: 30px 20px 60px;
    background: var(--color-white);
}

.article-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Article Header */
.article-header {
    margin-bottom: 32px;
}

.article-header--no-cover {
    margin-top: 0;
}

@media (min-width: 768px) {
    .article-header--no-cover {
        margin-top: 20px;
    }
}

.article-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.article-date svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.article-title {
    font-size: 26px;
    color: var(--color-dark);
    margin: 0;
}

/* Back Section */
.back-section {
    padding: 40px 20px;
    background: var(--color-light);
    text-align: center;
}

.back-link {
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition-fast);
}

.back-link:hover {
    color: var(--color-highlight);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-fast);
}

.lightbox__close:hover {
    color: var(--color-highlight);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background var(--transition-fast);
}

.lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox__nav--prev {
    left: 20px;
}

.lightbox__nav--next {
    right: 20px;
}

.lightbox__image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox__image--hidden {
    display: none;
}

.lightbox__image--zoomed {
    transform: scale(2);
}

.gallery-main__uploaded-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lightbox__uploaded-video {
    max-width: 90vw;
    max-height: 80vh;
    display: block;
    margin: auto;
}

/* =============================================================================
   Signature Detail - Tablet (768px+)
   ============================================================================= */

@media (min-width: 768px) {
    .breadcrumb {
        padding: 20px max(60px, calc((100% - 1200px) / 2));
    }

    .gallery-section {
        padding: 10px 60px 15px;
    }

    .gallery-main {
        height: 450px;
    }

    .gallery-thumb {
        width: 100px;
        height: 70px;
    }

    .gallery-thumb--video {
        width: 100px;
        height: 70px;
    }

    .content-section {
        padding: 30px 60px 80px;
    }

    .content-container {
        grid-template-columns: 1fr 300px;
        gap: 50px;
    }

    .property-title {
        font-size: 38px;
    }

    .property-price {
        font-size: 36px;
    }

    .development-title {
        font-size: 38px;
    }

    .back-section {
        padding: 40px 60px;
    }

    /* News Card - Horizontal Layout */
    .news-card {
        flex-direction: row;
    }

    .news-card__image {
        width: 280px;
        height: 180px;
    }

    .news-card__content {
        padding: 24px 28px;
        justify-content: center;
    }

    .news-card__excerpt {
        -webkit-line-clamp: 3;
        font-size: 18px;
    }

    .news-card__title {
        font-size: 22px;
    }

    .news-card__link {
        font-size: 18px;
    }

    /* News Detail */
    .cover-section {
        padding: 0 60px 30px;
    }

    .article-section {
        padding: 30px 60px 80px;
    }

    .article-title {
        font-size: 38px;
    }

}

/* =============================================================================
   Signature Detail - Desktop (1024px+)
   ============================================================================= */

@media (min-width: 1024px) {
    .gallery-main {
        height: 500px;
    }

    .content-container {
        grid-template-columns: 1fr 350px;
        gap: 60px;
    }

    .property-title {
        font-size: 42px;
    }

    .development-title {
        font-size: 42px;
    }

    /* News Card - Larger on Desktop */
    .news-card__image {
        width: 320px;
        height: 200px;
    }
}

/* =============================================================================
   Development Detail - Mobile Adjustments
   ============================================================================= */
