/* ==========================================================================
   Austin Brussels - Styles
   Colors: #b59266 (accent), #23272a (background), #f2f2f2 (typography)
   ========================================================================== */

/* CSS Variables */
:root {
    --color-primary: #b59266;
    --color-bg: #23272a;
    --color-bg-light: #2d3236;
    --color-text: #f2f2f2;
    --color-text-muted: rgba(242, 242, 242, 0.7);
    --color-white: #ffffff;
    --color-black: #000000;

    --font-display: 'noka', Georgia, serif;
    --font-body: 'roboto', -apple-system, BlinkMacSystemFont, sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-2xl: 8rem;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    --header-height: 100px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    -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);
}

ul, ol {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

.accent {
    color: var(--color-primary);
}

strong {
    font-weight: 500;
    color: var(--color-primary);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
}

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

.btn-primary:hover {
    background-color: var(--color-text);
    color: var(--color-bg);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-bg);
}

@media screen and (min-width: 501px) {
    .homepage .logo img {
        height: 180px;
        transform: translateY(100%);
    }
}

@media screen and (min-width: 501px) and (max-height: 680px) {
    .homepage .logo img {
        height: 150px;
        transform: translateY(70%);
    }
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    /* backdrop-filter: blur(10px); */
    background-color: rgba(35, 39, 42, 0);
    transition: all var(--transition-normal);
}

.header.scrolled {
    background-color: rgba(35, 39, 42, 0.95);
    height: 70px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.homepage .header.scrolled .logo img {
    transform: translateY(0);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.logo img {
    height: 70px;
    width: auto;
    transition: all var(--transition-normal);
}

.header.scrolled .logo img {
    height: 40px;
}

.nav-main {
    margin-left: auto;
}

.nav-list {
    display: flex;
    gap: var(--spacing-lg);
}

.lang-switch {
    margin-left: 1.5rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.9em;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    text-decoration: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.lang-switch:hover {
    opacity: 1;
}

@media (max-width: 992px) {
    .lang-switch {
        margin-left: auto;
        margin-right: 1rem;
    }
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-primary);
    transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text);
}

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

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    transition: all var(--transition-normal);
}

.menu-toggle.active .menu-bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active .menu-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .menu-bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-bg);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-list {
    text-align: center;
}

.mobile-nav-link {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    padding: var(--spacing-sm) 0;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--color-primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    text-align: left;
    background-color: var(--color-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(35, 39, 42, 0.1) 0%,
        rgba(35, 39, 42, 0.2) 50%,
        rgba(35, 39, 42, 0.5) 100%
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
}

.hero-title {
    margin-bottom: var(--spacing-md);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease forwards;
}

.hero-subtitle {
    font-size: 1.25rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero .btn {
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.hero-scroll {
    position: absolute;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    animation: fadeIn 1s ease 0.8s forwards;
    opacity: 0;
}
@media screen and (max-width: 500px) {
    .hero-scroll {
        bottom: 10%;right: 30px;
    }
}

.scroll-text {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(
        to bottom,
        var(--color-primary) 0%,
        transparent 100%
    );
    animation: scrollPulse 2s ease infinite;
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
    padding: var(--spacing-2xl) 0;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.section-title {
    margin-bottom: var(--spacing-md);
}

.section-text {
    color: var(--color-text-muted);
    max-width: 600px;
    margin-bottom: var(--spacing-md);
}

/* About Section */
.section-about {
    background-color: var(--color-bg-light);
}

.section-about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-numbers {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.numbers-box {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    display: inline-block;
}

.numbers-box .about-numbers {
    gap: var(--spacing-md);
}

.number-item {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-md);
}

.number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 300;
    color: var(--color-primary);
    line-height: 1;
}

.number-label {
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* Features Grid */
.section-features {
    padding: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.feature-card {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.feature-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-slow);
}

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

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to top,
        rgba(35, 39, 42, 0.85) 0%,
        rgba(35, 39, 42, 0.2) 50%,
        transparent 100%
    );
    transition: background var(--transition-normal);
}
@media screen and (max-width: 500px) {
.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to top,
        rgba(35, 39, 42, 0.65) 0%,
        rgba(35, 39, 42, 0.2) 100%,
        transparent 100%
    );
    transition: background var(--transition-normal);
}
}

.feature-card:hover::after {
    background: linear-gradient(
        to top,
        rgba(35, 39, 42, 0.95) 0%,
        rgba(35, 39, 42, 0.5) 50%,
        rgba(35, 39, 42, 0.2) 100%
    );
}

.feature-content {
    position: relative;
    z-index: 1;
    padding: var(--spacing-md);
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

.feature-text {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-sm);
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-normal);
}

.feature-card:hover .feature-text {
    opacity: 1;
    transform: translateY(0);
}

.feature-link {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.feature-link .arrow {
    transition: transform var(--transition-fast);
}

.feature-card:hover .feature-link .arrow {
    transform: translateX(5px);
}

/* Highlights Section */
.section-highlights {
    text-align: center;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.highlight-item {
    padding: var(--spacing-md);
}

.highlight-icon {
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.highlight-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.highlight-text {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Places List Section */
.places-section {
    background-color: var(--color-bg-light);
}

.places-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.places-category {
    padding: var(--spacing-md);
}

.places-category-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid rgba(181, 146, 102, 0.3);
}

.places-category-icon {
    color: var(--color-primary);
    flex-shrink: 0;
}

.places-category-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
}

.places-list {
    list-style: none;
}

.places-list li {
    padding: var(--spacing-xs) 0;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    border-bottom: 1px solid rgba(242, 242, 242, 0.1);
    transition: color var(--transition-fast);
}

.places-list li:last-child {
    border-bottom: none;
}

.places-list li:hover {
    color: var(--color-text);
}

.places-grid-mobility {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
}

/* Lifestyle Section */
.lifestyle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.lifestyle-item {
    padding: var(--spacing-md);
    border-left: 2px solid var(--color-primary);
}

.lifestyle-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

.lifestyle-text {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

@media (max-width: 992px) {
    .lifestyle-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .lifestyle-grid {
        grid-template-columns: 1fr;
    }
}

/* Transport Section */
.transport-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
}

.transport-zone {
    padding: var(--spacing-md);
    background: var(--color-bg);
    border-radius: 4px;
}

.transport-zone-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid rgba(181, 146, 102, 0.3);
    color: var(--color-text);
}

.transport-list {
    list-style: none;
}

.transport-list li {
    padding: var(--spacing-xs) 0;
    font-size: 0.9375rem;
    color: var(--color-text);
    border-bottom: 1px solid rgba(242, 242, 242, 0.1);
}

.transport-list li:last-child {
    border-bottom: none;
}

.transport-type {
    display: inline-block;
    min-width: 80px;
    font-weight: 500;
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .transport-grid {
        grid-template-columns: 1fr;
    }
}

/* Location Grid with Map */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
    align-items: start;
}

.location-map {
    border-radius: 4px;
    overflow: hidden;
    position: sticky;
    top: calc(var(--header-height) + var(--spacing-md));
}

.location-map img {
    width: 100%;
    height: auto;
    display: block;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
}

.location-places-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.location-places-grid .places-category {
    padding: var(--spacing-sm);
}

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

@media (max-width: 768px) {
    .location-places-grid-full {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .location-grid {
        grid-template-columns: 1fr;
    }

    .location-map {
        position: relative;
        top: 0;
    }

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

@media (max-width: 576px) {
    .location-places-grid {
        grid-template-columns: 1fr;
    }
}

/* Gallery Masonry */
.gallery-grid {
    column-count: 2;
    column-gap: 1rem;
}

/* Gallery 3 columns */
.gallery-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.gallery-item-3col {
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-item-3col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.gallery-item-3col:hover img {
    transform: scale(1.05);
}

.gallery-placeholder {
    background-color: #3a3f44;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-placeholder span {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.gallery-with-credit {
    position: relative;
}

.gallery-credit {
    position: absolute;
    bottom: 8px;
    right: 8px;
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 2px;
}

/* Commerce Intro */
.commerce-intro {
    padding-top: calc(var(--header-height) + var(--spacing-xl));
    padding-bottom: var(--spacing-xl);
}

.commerce-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.commerce-intro-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 300;
    line-height: 1.2;
}

.commerce-intro-text {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* Commerce Image with Stats */
.commerce-image-section {
    position: relative;
    margin-bottom: 100px;
}

.commerce-image {
    height: 70vh;
    background-size: cover;
    background-position: center;
}

.commerce-stats-overlay {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
}

.commerce-stats-box {
    background: var(--color-bg-light);
    padding: var(--spacing-lg) var(--spacing-xl);
    display: flex;
    justify-content: space-around;
    gap: var(--spacing-xl);
}

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

.commerce-stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 300;
    color: var(--color-text);
    line-height: 1;
}

.commerce-stat-number small {
    font-size: 1rem;
    color: var(--color-text-muted);
}

.commerce-stat-label {
    display: block;
    margin-top: var(--spacing-xs);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 992px) {
    .commerce-intro-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .commerce-stats-overlay {
        position: relative;
        bottom: 0;
        padding: 0;
    }

    .commerce-stats-box {
        flex-wrap: wrap;
        justify-content: center;
    }

    .commerce-stat {
        flex: 1 1 45%;
    }

    .commerce-image-section {
        margin-bottom: var(--spacing-xl);
    }
}

@media (max-width: 768px) {
    .gallery-grid-3col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-grid-3col {
        grid-template-columns: 1fr;
    }
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1rem;
    border-radius: 4px;
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.gallery-item:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Agents Section */
.section-agents {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-bg);
}

.agents-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    max-width: 800px;
    margin: 0 auto;
}

.agent-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--spacing-lg);
    background-color: var(--color-bg-light);
    border-radius: 8px;
}

.agent-logo {
    height: 80px;
    width: auto;
    margin-bottom: var(--spacing-md);
    filter: brightness(0) invert(1);
}

.agent-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.agent-phone {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-text);
    transition: color var(--transition-fast);
}

.agent-phone:hover {
    color: var(--color-primary);
}

.agent-website {
    font-size: 0.875rem;
    color: var(--color-primary);
    transition: opacity var(--transition-fast);
}

.agent-website:hover {
    opacity: 0.7;
}

/* Full Image Section */
.section-fullimage {
    height: 70vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section-fullimage-natural {
    height: auto;
}

.section-fullimage-natural img {
    width: 100%;
    height: auto;
    display: block;
}

.section-fullimage-contained {
    height: 70vh;
    position: relative;
    overflow: hidden;
}

.section-fullimage-contained img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}

/* Dual Image Section */
.section-dualimage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
}

.dualimage-item {
    height: 70vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* CTA Section */
.section-cta {
    background-color: var(--color-bg-light);
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.cta-text {
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    padding: var(--spacing-xl) 0 var(--spacing-md);
    border-top: 1px solid rgba(181, 146, 102, 0.2);
    background-color: var(--color-bg);
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--spacing-xl);
    align-items: start;
    margin-bottom: var(--spacing-lg);
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-info {
    justify-self: center;
}

.footer-address {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-align: center;
    line-height: 1.8;
}

.footer-nav {
    display: flex;
    gap: var(--spacing-md);
}

.footer-nav a {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--color-primary);
}

.footer-partners {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(242, 242, 242, 0.1);
}

.footer-partner {
    text-align: left;
}

.footer-partner-left {
    text-align: left;
}

.footer-partner-right {
    text-align: left;
}

.footer-partner-label {
    display: block;
    font-size: 0.75rem;
    text-transform: lowercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.footer-partner img {
    height: 60px;
    width: auto;
    transition: opacity var(--transition-fast);
}

.footer-partner-logos img {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.footer-partner a:hover img,
.footer-partner-item:hover img {
    opacity: 1;
}

.footer-partner-logos {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: flex-end;
}

.footer-partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
}

.footer-partner-item a {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.footer-partner-item a:hover {
    color: var(--color-primary);
}

.footer-partners-small {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: var(--spacing-xl);
    padding: var(--spacing-md) 0;
    margin-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(242, 242, 242, 0.1);
}

.footer-partner-small {
    text-align: left;
}

.footer-partner-label-small {
    display: block;
    font-size: 0.625rem;
    text-transform: lowercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-xs);
}

.footer-partner-small img {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: opacity var(--transition-fast);
}

.footer-partner-small a:hover img {
    opacity: 1;
}

.footer-partner-logos-small {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(242, 242, 242, 0.1);
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* DISABLED COOKIE CONSENT
Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    width: 360px;
    max-width: calc(100vw - 2rem);
    background-color: var(--color-bg);
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 10000;
    display: none;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner.show {
    display: block;
    animation: slideIn 0.4s ease;
}

@keyframes slideIn {
    from { transform: translateX(-20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.cookie-banner-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-banner-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-icon {
    font-size: 1.25rem;
}

.cookie-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text);
}

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text p {
    color: var(--color-text);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
}

.cookie-banner-text a {
    color: var(--color-primary);
    text-decoration: underline;
    cursor: pointer;
}

.cookie-banner-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cookie-banner-btn {
    width: 100%;
}

.cookie-banner-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.cookie-link {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    cursor: pointer;
    font-family: inherit;
    text-decoration: underline;
    padding: 0;
}

.cookie-link:hover {
    color: var(--color-text);
}

.cookie-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: inherit;
    text-align: center;
    width: 100%;
}

.cookie-btn-accept {
    background-color: var(--color-primary);
    color: var(--color-bg);
    border: none;
}

.cookie-btn-accept:hover {
    background-color: #fff;
    color: var(--color-bg);
}

.cookie-btn-reject {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-reject:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cookie-btn-settings {
    background-color: transparent;
    color: var(--color-text-muted);
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-decoration: none;
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
}

.cookie-btn-settings:hover {
    color: var(--color-text);
    background-color: rgba(255, 255, 255, 0.05);
}

/* ~~ Cookie Modal ~~ */
.cookie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.cookie-modal-overlay.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cookie-modal {
    background-color: var(--color-bg);
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.cookie-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--color-text);
}

.cookie-modal-close {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.cookie-modal-close:hover {
    color: var(--color-text);
}

.cookie-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.cookie-modal-intro {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.cookie-category {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.cookie-category:last-child {
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    cursor: pointer;
}

.cookie-category-info {
    flex: 1;
}

.cookie-category-title {
    font-weight: 600;
    color: var(--color-text);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.cookie-category-count {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* ~~ Toggle Switch ~~ */
.cookie-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    margin-left: 1rem;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: var(--color-primary);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(20px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-category-details {
    display: none;
    padding: 0 1.25rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cookie-category.expanded .cookie-category-details {
    display: block;
}

.cookie-category-desc {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.cookie-list-item {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
}

.cookie-list-item:last-child {
    margin-bottom: 0;
}

.cookie-list-name {
    font-weight: 500;
    color: var(--color-text);
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.cookie-list-info {
    color: var(--color-text-muted);
    font-size: 0.7rem;
}

.cookie-modal-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* ~~ Floating Cookie Button (after consent) ~~ */
.cookie-settings-btn {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--color-bg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-text);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: all 0.2s ease;
}

.cookie-settings-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-bg);
}

.cookie-settings-btn.show {
    display: none;
}

.cookie-footer-link {
    cursor: pointer;
    text-decoration: underline;
}

.cookie-footer-link:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        width: auto;
        max-width: none;
    }

    .cookie-modal {
        max-height: 90vh;
    }

    .cookie-modal-header {
        padding: 1rem;
    }

    .cookie-modal-body {
        padding: 1rem;
    }

    .cookie-category-header {
        padding: 0.875rem 1rem;
    }
}
END DISABLED COOKIE CONSENT */

/* Legal Pages */
.section-legal {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xxl);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-update {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-lg);
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

.legal-content h3 {
    font-size: 1.125rem;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

.legal-content p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
}

.legal-content ul {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--color-primary);
}

.legal-content a:hover {
    text-decoration: underline;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--spacing-sm) 0 var(--spacing-md);
    font-size: 0.875rem;
}

.cookie-table th,
.cookie-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-table th {
    color: var(--color-text);
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.03);
}

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

#home-hero {
    background-position: 100% 100%;
    background-size: contain;
}
@media screen and (max-width: 500px) {
    #home-hero {
        background-position: top center; 
        background-size: contain;
        min-height: 85vh;
        padding-bottom: 5vh;
    }

    #home-hero .hero-title {
        font-size: 40px;
    }
}

/* ==========================================================================
   Page Specific Styles
   ========================================================================== */

/* Page Hero */
.page-hero {
    position: relative;
    min-height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-height);
    background-color: var(--color-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(35, 39, 42, 0.5) 0%,
        rgba(35, 39, 42, 0.7) 100%
    );
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    padding: var(--spacing-md);
}

.page-title {
    margin-bottom: var(--spacing-sm);
}

.page-subtitle {
    color: var(--color-text-muted);
    font-size: 1.125rem;
}

/* Content Section */
.section-content {
    background-color: var(--color-bg);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.content-image {
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
}

/* Apartments List */
.apartments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.apartment-card {
    background-color: var(--color-bg-light);
    padding: var(--spacing-md);
    border: 1px solid rgba(181, 146, 102, 0.2);
    transition: all var(--transition-normal);
}

.apartment-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
}

.apartment-type {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}

.apartment-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.apartment-details {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.apartment-details span {
    display: block;
    margin-bottom: var(--spacing-xs);
}

.apartment-status {
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(242, 242, 242, 0.1);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.apartment-status.available {
    color: #4caf50;
}

.apartment-status.reserved {
    color: var(--color-primary);
}

.apartment-status.sold {
    color: #f44336;
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
}

.contact-info h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.contact-item {
    margin-bottom: var(--spacing-md);
}

.contact-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}

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

.contact-value a:hover {
    color: var(--color-primary);
}

.contact-form h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    font-size: 0.875rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text-muted);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    background-color: var(--color-bg-light);
    border: 1px solid rgba(181, 146, 102, 0.2);
    transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-message {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.form-message-success {
    background-color: rgba(39, 174, 96, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.3);
    color: #27ae60;
}

.form-message-error {
    background-color: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

/* Map Section */
.section-map {
    padding: 0;
}

.map-container {
    height: 450px;
    background-color: var(--color-bg-light);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(100%) contrast(1.1);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 1;
        transform: scaleY(1);
    }
    50% {
        opacity: 0.5;
        transform: scaleY(0.8);
    }
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card {
        aspect-ratio: 16/9;
    }
}

@media (max-width: 992px) {
    .nav-main {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .section-about .container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .about-numbers {
        flex-direction: row;
        justify-content: space-between;
    }

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

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

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

    .content-grid.reverse {
        direction: ltr;
    }

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

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        text-align: center;
    }

    .footer-logo {
        justify-self: center;
    }

    .footer-nav {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-partners {
        flex-direction: column;
        gap: var(--spacing-lg);
        align-items: center;
    }

    .footer-partner-logos {
        justify-content: center;
    }

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

@media (max-width: 768px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
        --spacing-2xl: 5rem;
    }

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

    .dualimage-item {
        height: 50vh;
    }

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

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

    .feature-card {
        aspect-ratio: 16/10;
    }

    .about-numbers {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .number-item {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-xs);
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

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

    .gallery-grid {
        column-count: 1;
    }

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

@media (max-width: 480px) {
    .hero-content {
        padding: var(--spacing-md);
    }

    .btn {
        padding: 0.875rem 2rem;
        font-size: 0.8rem;
    }
}


#mapholder {
    max-width: 450px;
    min-height: 600px;
}

/* ==========================================================================
   HubSpot Form Styles
   ========================================================================== */
#hubspotForm {
    margin-top: var(--spacing-sm);
}

/* Form container */
#hubspotForm .hs-form {
    font-family: var(--font-body);
}

/* Fieldsets */
#hubspotForm fieldset {
    max-width: 100% !important;
    margin-bottom: var(--spacing-md);
    border: none;
}

#hubspotForm .form-columns-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: 0;
}

#hubspotForm .form-columns-2 .hs-form-field {
    width: 100% !important;
}

#hubspotForm .form-columns-1 {
    margin-bottom: 0;
}

/* Field wrapper */
#hubspotForm .hs-form-field {
    margin-bottom: 20px;
}

/* Labels */
#hubspotForm label {
    display: block;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-xs);
}

#hubspotForm label span {
    color: var(--color-text-muted);
}

#hubspotForm .hs-form-required {
    color: var(--color-primary);
    margin-left: 0.25rem;
}

/* Inputs */
#hubspotForm .hs-input {
    width: 100% !important;
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    color: var(--color-text);
    background-color: var(--color-bg-light);
    border: 1px solid rgba(181, 146, 102, 0.2);
    border-radius: 0;
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
    -webkit-appearance: none;
    appearance: none;
}

#hubspotForm .hs-input::placeholder {
    color: var(--color-text-muted);
    opacity: 0.5;
}

#hubspotForm .hs-input:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: rgba(181, 146, 102, 0.05);
}

/* Textarea */
#hubspotForm textarea.hs-input {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

/* Select dropdown */
#hubspotForm select.hs-input {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23b59266' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Checkbox */
#hubspotForm .inputs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#hubspotForm .hs-form-booleancheckbox {
    margin-bottom: 0;
}

#hubspotForm .hs-form-booleancheckbox-display {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    cursor: pointer;
    line-height: 1.5;
}

#hubspotForm .hs-form-booleancheckbox-display input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    max-width: 20px;
    margin-top: 2px;
    padding: 0;
    background-color: var(--color-bg-light);
    border: 1px solid rgba(181, 146, 102, 0.3);
    border-radius: 0;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: all var(--transition-fast);
}

#hubspotForm .hs-form-booleancheckbox-display input[type="checkbox"]:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

#hubspotForm .hs-form-booleancheckbox-display input[type="checkbox"]:focus {
    outline: none;
    border-color: var(--color-primary);
}

#hubspotForm .hs-form-booleancheckbox-display a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

#hubspotForm .hs-form-booleancheckbox-display a:hover {
    color: var(--color-text);
}

/* Submit button */
#hubspotForm .hs-submit {
    margin-top: var(--spacing-md);
}

#hubspotForm .hs-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-bg);
    background-color: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: 0;
    cursor: pointer;
    transition: all var(--transition-normal);
    -webkit-appearance: none;
    appearance: none;
}

#hubspotForm .hs-button:hover {
    background-color: transparent;
    color: var(--color-primary);
}

#hubspotForm .hs-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(181, 146, 102, 0.3);
}

/* Error messages */
#hubspotForm .hs-error-msgs {
    list-style: none;
    padding: 0;
    margin: var(--spacing-xs) 0 0 0;
}

#hubspotForm .hs-error-msgs li {
    font-size: 0.8rem;
    color: #e74c3c;
}

#hubspotForm .hs-input.error {
    border-color: #e74c3c;
}

/* Success message */
#hubspotForm .submitted-message {
    padding: var(--spacing-md);
    background-color: rgba(39, 174, 96, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.3);
    color: #27ae60;
    text-align: center;
    font-size: 1rem;
}

/* Hide hidden fields properly */
#hubspotForm .hs-form-field[style*="display: none"] {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Responsive */
@media (max-width: 768px) {
    #hubspotForm .form-columns-2 {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    #hubspotForm .hs-button {
        width: 100%;
        text-align: center;
    }
}