/*
 * Nicole's Appraisal Services - Mobile-First CSS
 * Clean, modern design using CSS Grid (no Flexbox)
 * Color Palette: #e977b0, #ef9d46, #fdf7c6, #f5dc62, #f3b7b8
 */

/* ===== CSS RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ef9d46;
    --secondary-color: #e977b0;
    --light-color: #fdf7c6;
    --accent-color: #f5dc62;
    --accent-light: #f3b7b8;
    --text-dark: #333;
    --text-medium: #666;
    --text-light: #999;
    --white: #fff;
    --black: #000;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

/* ===== ACCESSIBILITY ===== */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    z-index: 1001;
    text-decoration: none;
    border-radius: 0 0 4px 0;
}

.skip-to-content:focus {
    top: 0;
}

/* ===== CONTAINER GRID SYSTEM ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Mobile-first container padding */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Mobile typography adjustments */
@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    p {
        font-size: 0.95rem;
    }
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.6)),
                url('../imgs/ai-houses-panorama.png') center/cover no-repeat;
    min-height: 100vh;
    max-height: 900px;
    color: var(--white);
}

.panorama-overlay {
    background-color: rgba(0, 0, 0, 0.3);
    min-height: 100vh;
    max-height: 900px;
    display: grid;
    align-content: start;
}

/* Header grid layout - mobile first */
.header-grid {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 1rem 0;
    gap: 1rem;
}

.logo-section {
    grid-column: 1;
}

.logo-container {
    display: grid;
    align-items: center;
}

.logo-link {
    display: grid;
    align-items: center;
    text-decoration: none;
}

.logo {
    height: 72px;
    width: auto;
    display: grid;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 6px;
    transition: var(--transition);
    overflow: hidden;
}

.logo-img {
    height: 100%;
    width: auto;
    max-width: 270px;
    object-fit: contain;
    object-position: center;
}

/* Navigation grid - hidden by default on mobile */
.main-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    padding: 5rem 2rem 2rem;
    z-index: 1000;
    overflow-y: auto;
}

.main-nav.active {
    display: grid;
    align-content: start;
}

.nav-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    list-style: none;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    padding: 1.2rem 1rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    font-size: 1.1rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.05);
}

.mobile-nav-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.nav-text {
    display: inline-block;
}

/* Mobile menu button */
.mobile-menu-btn {
    grid-column: 3;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 4px;
    transition: var(--transition);
    z-index: 1002;
}

.mobile-menu-btn:hover, .mobile-menu-btn:focus {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-btn[aria-expanded="true"] {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1002;
}

/* Hero section grid */
.hero-section {
    display: grid;
    align-items: center;
    min-height: calc(100vh - 80px);
    max-height: 800px;
    padding: 2rem 0;
    position: relative;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--light-color);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--accent-light);
    font-weight: 400;
}

.hero-cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    justify-content: center;
    max-width: 300px;
    margin: 0 auto 2rem;
}

/* Scroll indicator for mobile */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    display: inline-block;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.scroll-indicator a:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(3px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Button styles */
.btn {
    display: inline-grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.5rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    min-height: 48px;
}

.btn-icon {
    font-size: 1rem;
}

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

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

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

.btn-secondary:hover, .btn-secondary:focus {
    background-color: var(--white);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Tablet and desktop navigation */
@media (min-width: 769px) {
    .header-grid {
        grid-template-columns: auto 1fr;
        padding: 1.5rem 0;
    }

    .logo {
        height: 70px;
        padding: 8px;
    }

    .logo-img {
        max-width: 270px;
    }

    .main-nav {
        display: grid;
        position: static;
        height: auto;
        background-color: transparent;
        padding: 0;
        justify-content: end;
    }

    .nav-list {
        grid-template-columns: repeat(6, auto);
        gap: 1.5rem;
    }

    .nav-link {
        padding: 0.5rem 0;
        border-bottom: none;
        display: block;
        text-align: center;
        font-size: 1rem;
    }

    .mobile-nav-icon {
        display: none;
    }

    .nav-link.active::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: var(--accent-color);
    }

    .mobile-menu-btn {
        display: none;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-cta {
        grid-template-columns: repeat(2, auto);
        max-width: 400px;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.2rem;
    }
}

/* ===== SECTION STYLES ===== */
.section {
    padding: 3rem 0;
}

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

.section-title {
    text-align: center;
    color: var(--text-dark);
    position: relative;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

@media (max-width: 480px) {
    .section-subtitle {
        font-size: 1rem;
    }
}

/* ===== ABOUT SECTION GRID ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.about-image {
    display: grid;
    justify-content: center;
    position: relative;
}

.image-frame {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.headshot {
    width: 100%;
    height: auto;
    border-radius: 10px;
    position: relative;
    z-index: 3;
    box-shadow: var(--shadow-heavy);
}

.frame-layer {
    position: absolute;
    border-radius: 15px;
    z-index: 1;
}

.frame-layer-1 {
    width: 105%;
    height: 105%;
    top: -2.5%;
    left: -2.5%;
    background-color: var(--primary-color);
    transform: rotate(-2deg);
}

.frame-layer-2 {
    width: 110%;
    height: 110%;
    top: -5%;
    left: -5%;
    background-color: var(--secondary-color);
    transform: rotate(2deg);
    opacity: 0.7;
}

.about-highlight {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    text-align: center;
}

.highlight-title {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.highlight-number {
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-weight: 700;
}

.highlight-subtitle {
    color: var(--text-medium);
    font-size: 0.9rem;
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.features-list {
    list-style: none;
    margin-top: 1.5rem;
    display: grid;
    gap: 1rem;
}

.features-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: flex-start;
}

.features-list li i {
    color: var(--primary-color);
    margin-top: 3px;
}

.counties-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

@media (min-width: 769px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .headshot {
        max-width: 400px;
    }

    .about-highlight {
        text-align: left;
    }

    .counties-title {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .features-list {
        gap: 0.75rem;
    }
}

/* ===== SERVICES SECTION GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.service-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    display: grid;
    align-content: start;
    gap: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.service-icon {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.service-title {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.service-description {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-mobile-cta {
    display: none;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Mobile quick contact */
.mobile-quick-contact {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    color: var(--white);
    box-shadow: var(--shadow-medium);
}

.quick-contact-title {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.quick-contact-btn {
    display: inline-grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem;
    align-items: center;
    background-color: var(--white);
    color: var(--text-dark);
    padding: 0.9rem 1.5rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    transition: var(--transition);
    font-size: 1.1rem;
}

.quick-contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

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

@media (min-width: 769px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .mobile-quick-contact {
        display: none;
    }
}

@media (max-width: 768px) {
    .service-mobile-cta {
        display: block;
    }
}

/* ===== PROPERTY TYPES SECTION GRID ===== */
.property-types-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.property-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    display: grid;
    grid-template-rows: auto 1fr;
}

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

.property-image {
    height: 200px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.property-content {
    padding: 1.5rem;
    display: grid;
    align-content: start;
    gap: 1rem;
}

.property-title {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.property-description {
    color: var(--text-medium);
    line-height: 1.6;
}

.property-features {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.feature-tag {
    background-color: var(--light-color);
    color: var(--text-dark);
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
}

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

@media (min-width: 481px) and (max-width: 768px) {
    .property-types-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .property-types-grid .property-card:last-child {
        grid-column: span 2;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ===== SERVICE AREA SECTION GRID ===== */
.service-area-section {
    background-color: var(--light-color);
}

.area-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.area-card {
    background-color: var(--white);
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    display: grid;
    align-content: start;
    gap: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.area-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.area-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.area-description {
    color: var(--text-medium);
    line-height: 1.6;
}

.area-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
}

.area-feature {
    background-color: rgba(239, 157, 70, 0.1);
    color: var(--primary-color);
    padding: 0.4rem 0.6rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
}

@media (min-width: 769px) {
    .area-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .area-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .area-cards .area-card:last-child {
        grid-column: span 2;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ===== CONTACT SECTION ===== */
.contact-grid {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-card:hover {
    transform: translateY(-5px);
    background-color: var(--light-color);
    box-shadow: var(--shadow-light);
}

.contact-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-title {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin: 0;
}

.contact-link {
    color: var(--secondary-color);
    font-weight: 600;
    transition: var(--transition);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-note {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.service-area-map {
    margin-top: 0.5rem;
}

.map-placeholder {
    background-color: rgba(239, 157, 70, 0.1);
    border: 1px dashed var(--primary-color);
    border-radius: var(--border-radius-sm);
    padding: 1rem;
    text-align: center;
    display: grid;
    gap: 0.5rem;
    justify-items: center;
    color: var(--text-medium);
}

.map-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.map-text {
    font-size: 0.9rem;
}

.experience-badge {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem;
    align-items: center;
    max-width: fit-content;
    margin-top: 0.5rem;
}

.contact-ai-image {
    display: grid;
    justify-content: center;
}

.ai-image-placeholder {
    height: 250px;
    width: 100%;
    background-color: var(--accent-light);
    border-radius: var(--border-radius);
    background-image: url('../imgs/ai-houses-panorama.png');
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-light);
}

.image-caption {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    font-style: italic;
}

/* Mobile contact callout */
.mobile-contact-callout {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    margin-top: 2rem;
    text-align: center;
    color: var(--white);
    box-shadow: var(--shadow-heavy);
}

.callout-content {
    display: grid;
    gap: 1rem;
}

.callout-title {
    color: var(--white);
    font-size: 1.5rem;
}

.callout-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
}

.callout-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
}

.callout-btn {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    transition: var(--transition);
    font-size: 1rem;
}

.call-btn {
    background-color: var(--white);
    color: var(--text-dark);
}

.call-btn:hover {
    background-color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

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

.email-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

@media (min-width: 769px) {
    .ai-image-placeholder {
        height: 300px;
    }

    .mobile-contact-callout {
        display: none;
    }
}

/* ===== FOOTER GRID ===== */
.footer {
    background-color: #2a2a2a;
    color: var(--white);
    position: relative;
}

.footer-panorama {
    height: 120px;
    background: url('../imgs/ai-houses-panorama.png') center/cover no-repeat;
    opacity: 0.6;
}

.footer-content {
    padding: 90px 0 2rem;
    padding-top
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info {
    display: grid;
    gap: 0.25rem;
    margin-top: -60px;
}

.footer-logo-container {
    display: grid;
    align-items: center;
}

.footer-logo-link {
    display: grid;
    align-items: center;
    text-decoration: none;
}

.footer-logo {
    display: grid;
    align-items: center;
    justify-content: start;
    border-radius: 8px;
    padding: 5px;
    transition: var(--transition);
    overflow: hidden;
}

.footer-logo-img {
    height: 100%;
    width: auto;
    max-width: 350px;
    object-fit: contain;
    object-position: center;
}

.footer-tagline {
    color: var(--secondary-color);
    margin-bottom: 0;
    font-size: 1rem;
}

.footer-legal {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-nav-title, .footer-contact-title {
    color: var(--light-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-nav-list {
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.footer-nav-link {
    color: #ddd;
    padding: 0.5rem 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem;
    align-items: center;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-nav-link:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.footer-contact-icon {
    color: var(--primary-color);
    width: 20px;
}

.footer-contact-link {
    color: #ddd;
    transition: var(--transition);
}

.footer-contact-link:hover {
    color: var(--accent-color);
}

.footer-copyright {
    border-top: 1px solid #444;
    padding-top: 1.5rem;
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
    display: grid;
    gap: 0.5rem;
}

.footer-disclaimer {
    font-size: 0.8rem;
    color: #777;
    line-height: 1.5;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

@media (min-width: 481px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* ===== TOUCH-FRIENDLY ENHANCEMENTS ===== */
@media (hover: none) and (pointer: coarse) {
    /* Increase tap targets on touch devices */
    .btn, .nav-link, .service-card, .property-card, .contact-card,
    .area-card, .quick-contact-btn, .callout-btn, .footer-nav-link {
        min-height: 44px;
        min-width: 44px;
    }

    /* Remove hover effects on touch devices */
    .service-card:hover, .property-card:hover, .contact-card:hover,
    .area-card:hover {
        transform: none;
    }

    /* Add active states for touch feedback */
    .btn:active, .nav-link:active, .service-card:active,
    .property-card:active, .contact-card:active, .area-card:active {
        transform: scale(0.98);
        transition: transform 0.1s;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .header, .footer, .mobile-quick-contact, .mobile-contact-callout,
    .scroll-indicator, .back-to-top, .hero-cta {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    .section {
        padding: 1rem 0;
        page-break-inside: avoid;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    .contact-link::after {
        content: " (" attr(href) ")";
        font-size: 0.9em;
    }
}
