/* Universal CSS Variables */
.owner-public-price { padding: 1.5rem var(--page-gutter); background: var(--mist); color: var(--ivy); }
.owner-public-price span, .owner-public-price strong { display: block; }
.owner-public-price strong { font-size: 2rem; }
.owner-public-price-inline { color: var(--ivy); font-weight: 600; margin-top: .75rem; }
:root {
    --luxury-gold: #103d2a;
    --deep-charcoal: #17201c;
    --warm-gray: #68766f;
    --soft-white: #ffffff;
    --accent-bronze: #365f4b;
    --ivy: #103d2a;
    --ivy-soft: #365f4b;
    --lake: #5f7f93;
    --mist: #eef4f6;
    --stone: #f6f7f5;
    --clay: #b96749;
    --ink: #17201c;
    --ink-soft: #52615a;
    --line: #d8e0dc;
    --line-strong: #9caca4;
    --font-display: 'Libre Caslon Display', 'Times New Roman', serif;
    --font-sans: 'DM Sans', Inter, system-ui, sans-serif;
    --header-height: 76px;
    --page-gutter: clamp(1.25rem, 4vw, 4rem);
    --space-section: clamp(2rem, 4vw, 3.5rem);
    --space-block: clamp(1.5rem, 2.5vw, 2.25rem);
    --shadow-light: rgba(0, 0, 0, 0.05);
    --shadow-medium: rgba(0, 0, 0, 0.1);
    --shadow-heavy: rgba(0, 0, 0, 0.2);
}

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

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

/* Global list reset for navigation */
header ul,
header li {
    list-style: none !important;
    list-style-type: none !important;
    list-style-image: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

header ul li::before,
header li::before {
    content: none !important;
    display: none !important;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.6;
    color: var(--deep-charcoal);
    background-color: var(--soft-white);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Luxury Header */
.luxury-header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    min-height: var(--header-height);
    padding: 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: none;
    border-bottom: 1px solid var(--line);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    min-height: var(--header-height);
    padding: 0 clamp(1.25rem, 4vw, 4rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--ivy);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo-mark { width: 28px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }

.nav-contact {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Navigation styles - force remove all list styling */
.nav-links,
nav ul,
.luxury-header ul,
.header-container ul,
ul.nav-links,
header ul {
    display: flex;
    list-style: none !important;
    list-style-type: none !important;
    list-style-image: none !important;
    gap: 2.5rem;
    padding: 0 !important;
    margin: 0 !important;
}

.nav-links li,
nav ul li,
.luxury-header ul li,
.header-container ul li,
ul.nav-links li,
header ul li {
    list-style: none !important;
    list-style-type: none !important;
    list-style-image: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-links li::before,
nav ul li::before,
.luxury-header ul li::before,
.header-container ul li::before,
ul.nav-links li::before,
header ul li::before {
    content: none !important;
    display: none !important;
}

.nav-links a {
    color: var(--deep-charcoal);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links .operator-link { color: var(--lake); }

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--luxury-gold);
    transition: width 0.3s ease;
}

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

.contact-btn {
    background: var(--luxury-gold);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 2px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.contact-btn:hover {
    background: var(--accent-bronze);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--shadow-medium);
}

/* Luxury Footer */
.luxury-footer {
    background: var(--ivy);
    color: white;
    padding: 3rem clamp(1.5rem, 7vw, 8rem) 2rem;
}

.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; max-width: 1400px; margin: 0 auto 2.5rem; }
.footer-wordmark { color: #fff; font-family: var(--font-display); font-size: 2rem; text-decoration: none; }
.footer-links { display: flex; flex-wrap: wrap; gap: 2rem; }
.footer-links a { color: rgba(255,255,255,.78); text-decoration: none; }

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--luxury-gold);
    transform: translateY(-2px);
}

.social-link svg {
    fill: #ffffff;
    width: 18px;
    height: 18px;
}

.footer-column h4 {
    color: var(--luxury-gold);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--luxury-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

:focus-visible { outline: 3px solid var(--lake); outline-offset: 4px; }

@media (max-width: 700px) {
    :root { --header-height: 64px; }
    .logo { font-size: 1.6rem; }
    .logo-mark { width: 23px; height: 34px; }
    .nav-links { gap: 1rem !important; }
    .nav-links li:nth-child(2) { display: none; }
    .nav-links a { font-size: .83rem; }
    .footer-inner { align-items: flex-start; flex-direction: column; }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--deep-charcoal);
    line-height: 1.2;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Main content spacing */
main {
    padding-top: 0;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, var(--luxury-gold), var(--accent-bronze));
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 2px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(201, 169, 97, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--deep-charcoal);
    padding: 1rem 2.5rem;
    border: 2px solid var(--deep-charcoal);
    border-radius: 2px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

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

/* Card Styles */
.card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 30px var(--shadow-light);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--deep-charcoal);
}

.section-subtitle {
    text-align: center;
    color: var(--warm-gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.hero-small {
    text-align: center;
    padding: 3rem 0; /* Smaller padding than main hero */
    background: var(--soft-white);
}

.hero-small h1 {
    font-size: 3rem; /* Smaller font size for heading */
    letter-spacing: -1px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-small p {
    font-size: 1.1rem;
    color: var(--warm-gray);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

@media (max-width: 768px) {
    .hero-small {
        padding: 2.5rem 0;
    }
    .hero-small h1 {
        font-size: 2rem;
    }
    .hero-small p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-small {
        padding: 2rem 0;
    }
    .hero-small h1 {
        font-size: 1.75rem;
    }
    .hero-small p {
        font-size: 0.9rem;
    }
}

.hero {
    text-align: center;
    padding: 4rem 0 2rem;
    background: var(--soft-white);
}

.hero h1 {
    font-size: 4rem;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero p {
    font-size: 1.25rem;
    color: var(--warm-gray);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

/* About Section */
.about {
    background-color: var(--deep-charcoal);
    color: #ffffff;
    padding: 6rem 0;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 30px;
    gap: 4rem;
}

.about-text {
    max-width: 500px;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    color: white;
}

.about-text p {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.about-image img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Featured Domains Section */
.featured-domains {
    padding: 0rem 0 6rem;
    background: var(--soft-white);
}

.featured-domains h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--deep-charcoal);
}

.featured-subtitle {
    text-align: center;
    color: var(--warm-gray);
    font-size: 1rem;
    margin-bottom: 4rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.domain-card {
    background: white;
    border: 1px solid #E8E8E8;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.domain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--luxury-gold), var(--accent-bronze));
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.domain-card:hover::before {
    transform: translateX(0);
}

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

.domain-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--deep-charcoal);
    letter-spacing: -0.5px;
}

.domain-price {
    font-size: 1.1rem;
    color: var(--luxury-gold);
    margin-bottom: 1rem;
    font-weight: 600;
}

.domain-category {
    font-size: 0.85rem;
    color: var(--warm-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.view-all-domains {
    text-align: center;
    margin-top: 3rem;
}

/* Responsive Design - Mobile First Approach */

/* Tablet Styles */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 2rem;
    }
    
    .container {
        padding: 0 2rem;
    }
    
    .domains-grid {
        padding: 0 2rem;
    }
    
    .footer-content {
        padding: 0 2rem;
    }
}

/* Mobile Menu Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 44px;
    height: 44px;
    justify-content: center;
    gap: 4px;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 24px;
    background: var(--luxury-gold);
    transition: all 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Global mobile overflow fix */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        position: relative !important;
    }
    
    * {
        max-width: 100vw !important;
    }
    
    /* Remove any elements that might cause horizontal scroll */
    .property-hero::before {
        display: none !important;
    }
    /* Header Optimizations */
    .luxury-header {
        padding: 0.75rem 0;
        position: fixed;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(10px);
    }
    
    .header-container {
        padding: 0 1rem;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    /* Hide navigation on mobile by default */
    .nav-contact {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 20px var(--shadow-light);
        padding: 2rem 1.5rem;
        flex-direction: column;
        gap: 2rem;
        z-index: 999;
    }
    
    /* Show navigation when menu is open */
    .nav-contact.mobile-menu-open {
        display: flex !important;
    }
    
    /* Mobile menu navigation styles */
    .nav-contact.mobile-menu-open nav {
        width: 100%;
    }
    
    .nav-contact.mobile-menu-open .nav-links {
        display: flex !important;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1rem;
        list-style: none !important;
        list-style-type: none !important;
        list-style-image: none !important;
        padding: 0 !important;
        margin: 0 0 1rem 0 !important;
    }
    
    .nav-contact.mobile-menu-open .nav-links li {
        list-style: none !important;
        list-style-type: none !important;
        list-style-image: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .nav-contact.mobile-menu-open .nav-links li::before {
        content: none !important;
        display: none !important;
    }
    
    .nav-contact.mobile-menu-open .nav-links a {
        padding: 1rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid #E5E5E5;
        text-align: center;
        display: block;
        text-decoration: none;
        color: var(--deep-charcoal);
    }
    
    .nav-contact.mobile-menu-open .contact-btn {
        align-self: center;
        width: 100%;
        max-width: 200px;
    }
    
    /* Show mobile menu button */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Animate hamburger menu */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Keep normal header height */
    main {
        padding-top: 0;
    }
    
    /* Container adjustments */
    .container {
        padding: 0 1.5rem;
    }
    
    /* Typography adjustments */
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .hero p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* About section mobile optimization */
    .about-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        padding: 0 1.5rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .about-image img {
        width: 250px;
        height: 250px;
    }
    
    /* Domain grid mobile optimization */
    .domains-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1.5rem;
    }
    
    .domain-card {
        padding: 2rem;
    }
    
    .domain-name {
        font-size: 1.5rem;
    }
    
    /* Footer mobile optimization */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 1.5rem;
    }
    
    .footer-brand {
        margin-bottom: 1rem;
    }
    
    .footer-column {
        margin-bottom: 1.5rem;
    }
    
    .social-links {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .social-link {
        width: 44px; /* Larger touch targets */
        height: 44px;
    }
    
    /* Button improvements */
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        display: block;
        text-align: center;
        padding: 1rem;
        min-height: 48px; /* Comfortable touch target */
    }
    
    /* Section spacing */
    .section {
        padding: 3rem 0;
    }
    
    .hero {
        padding: 4rem 0 3rem;
    }
    
    .about {
        padding: 4rem 0;
    }
    
    .featured-domains {
        padding: 4rem 0;
    }
    
    /* Domain page mobile optimizations */
    .property-hero {
        padding: 2rem 1rem !important;
        margin-top: 70px !important;
        overflow: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .hero-content {
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    .property-title {
        font-size: 2.5rem !important;
        line-height: 1.1 !important;
        margin-bottom: 1rem !important;
    }
    
    .property-subtitle {
        font-size: 1.1rem !important;
        padding: 0 !important;
        margin-bottom: 2rem !important;
    }
    
    .hero-stats {
        flex-direction: column !important;
        gap: 1.5rem !important;
        align-items: center !important;
        margin-top: 2rem !important;
    }
    
    .hero-stat {
        text-align: center !important;
        min-width: auto !important;
    }
    
    .stat-value {
        font-size: 1.5rem !important;
    }
    
    .stat-label {
        font-size: 0.8rem !important;
    }
    
    .main-content {
        padding: 1rem !important;
        margin: 1rem 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .content-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .content-main {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .content-section,
    .sidebar-section {
        padding: 1rem !important;
        margin: 0 0 1rem 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    .section-title {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .price-card {
        padding: 1.5rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .price-value {
        font-size: 1.8rem !important;
    }
    
    .domain-metrics {
        padding: 1rem !important;
        margin-top: 1rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .sidebar-section {
        position: static !important;
        top: auto !important;
        width: 100% !important;
    }
    
    .highlight-box {
        padding: 1rem !important;
        margin: 1rem 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .metric-item {
        padding: 0.5rem 0 !important;
        flex-wrap: wrap !important;
    }
    
    .metric-label,
    .metric-value {
        font-size: 0.9rem !important;
    }
    
    .cta-button {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.9rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .feature-list {
        margin: 1rem 0 !important;
    }
    
    .feature-list li {
        padding: 0.5rem 0 !important;
        font-size: 0.9rem !important;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    /* Header further optimizations */
    .luxury-header {
        padding: 0.75rem 0;
    }
    
    .header-container {
        padding: 0 1rem;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    main {
        padding-top: 0;
    }
    
    /* Container adjustments */
    .container {
        padding: 0 1rem;
    }
    
    /* Typography adjustments */
    .hero {
        padding: 3rem 0 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero p {
        font-size: 1rem;
        padding: 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .about-text h2 {
        font-size: 1.75rem;
    }
    
    .about-image img {
        width: 200px;
        height: 200px;
    }
    
    /* Domain cards */
    .domains-grid {
        padding: 0 1rem;
        gap: 1rem;
    }
    
    .domain-card {
        padding: 1.5rem;
    }
    
    .domain-name {
        font-size: 1.3rem;
    }
    
    /* Footer */
    .luxury-footer {
        padding: 3rem 1rem 1.5rem;
    }
    
    .footer-content {
        padding: 0;
    }
    
    .footer-brand h3 {
        font-size: 1.5rem;
    }
    
    .footer-brand p {
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        font-size: 0.8rem;
    }
    
    /* Domain page small mobile optimizations */
    .luxury-header {
        padding: 0.5rem 0 !important;
    }
    
    .header-container {
        padding: 0 0.75rem !important;
    }
    
    .logo {
        font-size: 1.3rem !important;
    }
    
    .property-hero {
        padding: 2rem 0.75rem !important;
        margin-top: 60px !important;
    }
    
    .property-hero::before {
        font-size: 6rem !important;
        opacity: 0.02 !important;
    }
    
    .property-title {
        font-size: 2rem !important;
        line-height: 1.1 !important;
    }
    
    .property-subtitle {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-stats {
        gap: 1rem !important;
        margin-top: 1.5rem !important;
    }
    
    .stat-value {
        font-size: 1.25rem !important;
    }
    
    .stat-label {
        font-size: 0.75rem !important;
    }
    
    .main-content {
        padding: 1.5rem 0.75rem !important;
        margin: 1.5rem auto !important;
    }
    
    .content-section,
    .sidebar-section {
        padding: 1rem !important;
        margin: 0 !important;
    }
    
    .section-title {
        font-size: 1.3rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .price-card {
        padding: 1rem !important;
    }
    
    .price-value {
        font-size: 1.5rem !important;
    }
    
    .domain-metrics {
        padding: 0.75rem !important;
    }
    
    .highlight-box {
        padding: 0.75rem !important;
        margin: 0.75rem 0 !important;
    }
    
    .metric-item {
        padding: 0.4rem 0 !important;
    }
    
    .metric-label,
    .metric-value {
        font-size: 0.85rem !important;
    }
    
    .cta-button {
        padding: 0.6rem 1rem !important;
        font-size: 0.85rem !important;
    }
    
    .feature-list li {
        padding: 0.4rem 0 !important;
        font-size: 0.85rem !important;
    }
    
    .property-badge {
        font-size: 0.75rem !important;
        padding: 0.4rem 1rem !important;
        margin-bottom: 1.5rem !important;
    }
}


/* Domain Detail Page Specific Styles */

.property-hero {
    background: linear-gradient(135deg, var(--deep-charcoal) 0%, #333333 100%);
    color: var(--soft-white);
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: var(--header-offset, 0px); /* Use CSS variable for dynamic header height */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
}

.property-hero::before {
    content: "IVYLAKE";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Playfair Display', serif;
    font-size: 8rem; /* Large background text */
    color: rgba(255, 255, 255, 0.03); /* Very subtle */
    z-index: 0;
    white-space: nowrap;
}

.property-hero .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.property-badge {
    display: inline-block;
    background: var(--luxury-gold);
    color: var(--deep-charcoal);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.property-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--soft-white);
    line-height: 1.1;
}

.property-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
}

.property-hero .hero-image {
    margin-top: 2rem;
}

.property-hero .hero-image img {
    max-width: 250px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
    min-width: 120px;
}

.stat-value {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--luxury-gold);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Main Content Layout */
.main-content {
    padding: 5rem 0;
    background-color: var(--soft-white);
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Main content and sidebar */
    gap: 3rem;
    align-items: start; /* Align items to the top */
}

.content-main {
    flex-grow: 1;
}

.sidebar {
    flex-shrink: 0;
    width: 100%; /* Take full width on smaller screens */
    position: sticky; /* Keep sidebar in view */
    top: calc(var(--header-offset, 0px) + 2rem); /* Adjust sticky position based on header height */
}

.content-section, .sidebar-section {
    margin-bottom: 2rem; /* Spacing between sections */
    padding: 2.5rem;
}

.content-section:last-child, .sidebar-section:last-child {
    margin-bottom: 0;
}

.content-section h2, .content-section h3, .sidebar-section h4 {
    margin-bottom: 1.5rem;
    color: var(--deep-charcoal);
    font-weight: 600;
}

.content-section p {
    font-size: 1rem;
    line-height: 1.75; /* Slightly increased line height for better readability */
    color: var(--deep-charcoal);
    margin-bottom: 1.25rem; /* Increased margin bottom for paragraphs */
}

.content-section p:last-of-type {
    margin-bottom: 0; /* No margin after the last paragraph in a section */
}

.content-section h2 + p,
.content-section h3 + p {
    margin-top: 0.75rem; /* Add some top margin to paragraphs immediately following headings */
}


/* Feature List Styling (Key Benefits, Potential Uses) */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.feature-list li {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--deep-charcoal);
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.8rem;
}

.feature-list li::before {
    content: '•'; /* Custom bullet point */
    color: var(--luxury-gold);
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
}

.feature-list li strong {
    color: var(--deep-charcoal);
    font-weight: 600;
}


.feature-list li {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--deep-charcoal);
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.8rem;
}

.feature-list li::before {
    content: '•'; /* Custom bullet point */
    color: var(--luxury-gold);
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
}

/* Price Card */
.price-card {
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--luxury-gold), var(--accent-bronze));
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: none;
}

.price-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.price-value {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.price-card .cta-button {
    background: white;
    color: var(--deep-charcoal);
    border-radius: 4px;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.price-card .cta-button:hover {
    background: var(--soft-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Domain Metrics */
.domain-metrics {
    padding: 2.5rem;
}

.domain-metrics h4 {
    color: var(--luxury-gold);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.metric-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 0.75rem 0;
    border-bottom: 1px solid #EEEEEE;
}

.metric-item:last-child {
    border-bottom: none;
}

.metric-label {
    font-weight: 500;
    color: var(--deep-charcoal);
}

.metric-value {
    color: var(--warm-gray);
    text-align: right;
}

/* Highlight Box (Why Ivylake?) */
.highlight-box {
    padding: 2.5rem;
    background-color: var(--deep-charcoal);
    color: var(--soft-white);
}

.highlight-box h4 {
    color: var(--luxury-gold);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.highlight-box p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.highlight-box .cta-button {
    background: var(--luxury-gold);
    color: white;
    border: none;
    border-radius: 2px;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
}

.highlight-box .cta-button:hover {
    background: var(--accent-bronze);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(201, 169, 97, 0.4);
}

/* Specific button style for inquiry from property hero */
.property-hero .cta-button {
    background: var(--luxury-gold);
    color: white;
    border: none;
    border-radius: 2px;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
    margin-top: 2.5rem;
}

.property-hero .cta-button:hover {
    background: var(--accent-bronze);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(201, 169, 97, 0.4);
}

/* Responsive Adjustments for Domain Detail Page */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr; /* Stack columns on tablets */
    }

    .sidebar {
        position: static; /* Remove sticky behavior on smaller screens */
        top: auto;
    }

    .property-hero {
        padding: 4rem 0 3rem;
        min-height: 350px;
    }

    .property-hero::before {
        font-size: 6rem;
    }

    .property-title {
        font-size: 3rem;
    }

    .property-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-stat {
        min-width: unset;
    }
}

@media (max-width: 768px) {
    .property-hero {
        padding: 3rem 0 2rem;
        min-height: 300px;
    }

    .property-hero::before {
        font-size: 5rem;
    }

    .property-title {
        font-size: 2.5rem;
    }

    .property-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .property-hero .hero-image img {
        max-width: 200px;
    }

    .main-content {
        padding: 3rem 0;
    }

    .content-section, .sidebar-section {
        padding: 2rem;
    }

    .content-section h2, .content-section h3, .sidebar-section h4 {
        margin-bottom: 1rem;
    }

    .feature-list li {
        font-size: 0.95rem;
        padding-left: 1.5rem;
    }

    .feature-list li::before {
        font-size: 1rem;
    }

    .price-card, .domain-metrics, .highlight-box {
        padding: 2rem;
    }

    .price-value {
        font-size: 2rem;
    }

    .property-hero .cta-button {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .property-hero {
        padding: 2.5rem 0 1.5rem;
        min-height: 250px;
    }

    .property-hero::before {
        font-size: 4rem;
    }

    .property-title {
        font-size: 2rem;
    }

    .property-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .property-hero .hero-image img {
        max-width: 150px;
    }

    .main-content {
        padding: 2rem 0;
    }

    .content-section, .sidebar-section {
        padding: 1.5rem;
    }

    .feature-list li {
        font-size: 0.9rem;
    }

    .price-card, .domain-metrics, .highlight-box {
        padding: 1.5rem;
    }

    .price-value {
        font-size: 1.8rem;
    }

    .property-hero .cta-button {
        padding: 0.7rem 1.8rem;
        font-size: 0.85rem;
    }
}

/* One measured header boundary; old template padding must not enlarge it. */
body .luxury-header { min-height: var(--header-height); padding: 0 !important; }
body .header-container { min-height: calc(var(--header-height) - 1px); padding-inline: var(--page-gutter) !important; }
body .luxury-header .logo { flex-shrink: 0; }
body .luxury-header .nav-links { gap: clamp(.75rem, 2.5vw, 2rem) !important; }
body .luxury-footer { padding: 2rem var(--page-gutter) 1.25rem; }
body .footer-inner { margin-bottom: 1.25rem; gap: 1rem; }
body .footer-bottom { padding-top: 1rem; }
html { scroll-padding-top: calc(var(--header-height) + 1rem); }
