/* ============================================
   Senior Floors Landing Page - Styles
   Mobile-first, conversion-optimized design
   ============================================ */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Based on #1a2036 (Dark Navy Blue) */
    --primary-color: #1a2036; /* Base dark navy */
    --primary-hover: #252b47; /* Lighter navy for hover */
    --primary-light: #2a3150; /* Even lighter for gradients */
    --primary-dark: #14192b; /* Darker shade */
    --secondary-color: #d6b598; /* Gold accent - premium, value */
    --secondary-hover: #e0c4a8; /* Brighter gold on hover */
    --secondary-dark: #c4a588; /* Darker gold */
    --text-dark: #1a2036; /* Same as primary for headings */
    --text-light: #4a5568; /* Medium gray for body text */
    --text-muted: #718096; /* Lighter gray for secondary text */
    --bg-light: #f7f8fc; /* Very light blue-gray */
    --bg-white: #ffffff;
    --bg-primary-light: #f0f2f8; /* Light tint of primary */
    --border-color: #e2e8f0; /* Light border */
    --success-color: #48bb78; /* Green for success/checkmarks */
    --shadow: 0 2px 10px rgba(26, 32, 54, 0.1);
    --shadow-lg: 0 4px 20px rgba(26, 32, 54, 0.15);
    --shadow-primary: 0 4px 15px rgba(26, 32, 54, 0.2);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 80px; /* Space for fixed header */
}

/* Container - Max width for readability */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Header Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: var(--spacing-md);
}

.logo {
    flex-shrink: 0;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bg-white);
    letter-spacing: -0.5px;
}

.logo-image {
    height: 90px;
    width: auto;
    object-fit: contain;
}

/* Navigation */
.nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--bg-white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
}

/* Header CTA */
.header-cta {
    flex-shrink: 0;
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.btn-call {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
}

.btn-call:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--bg-white);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem); /* Responsive scaling */
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
}

/* Buttons - High contrast CTAs */
.btn {
    display: inline-block;
    padding: 1.125rem 2.25rem;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: var(--shadow);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-sticky {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    margin: 0 0.25rem;
}

/* Hero Section - Above the fold conversion focus */
.hero {
    background-image: url('assets/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: var(--spacing-xl) var(--spacing-sm);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin-top: -80px; /* Offset for fixed header */
    padding-top: calc(var(--spacing-xl) + 80px); /* Add header height to padding */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 32, 54, 0.85) 0%, rgba(26, 32, 54, 0.75) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    width: 100%;
}

.hero-text {
    text-align: left;
}

/* Certificate Badge */
.certificate-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(5px);
}

.certificate-stars {
    text-align: center;
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 0.375rem;
    letter-spacing: 0.1rem;
    line-height: 1;
}

.certificate-text {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.hero-headline {
    color: var(--bg-white);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subheadline {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.75rem;
    margin: var(--spacing-md) 0;
}

.trust-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    backdrop-filter: blur(5px);
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    flex: 0 0 auto;
}

.trust-icon {
    display: none;
}

/* Certificate Badge */
.certificate-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(5px);
}

.certificate-stars {
    text-align: center;
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 0.375rem;
    letter-spacing: 0.1rem;
    line-height: 1;
}

.certificate-text {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* Hero Phone Link */
.hero-phone {
    margin-top: var(--spacing-md);
}

.hero-ctas {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* Hero Form */
.hero-form-wrapper {
    width: 100%;
}

.hero-form {
    background: var(--bg-white);
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 100%;
}

.hero-form-title {
    color: var(--text-dark);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    margin-bottom: 0.5rem;
    text-align: center;
}

.hero-form-subtitle {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-align: center;
}

.hero-form .form-group {
    margin-bottom: 0.875rem;
}

.hero-form .form-group label {
    display: block;
    margin-bottom: 0.375rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.85rem;
}

.hero-form .form-group input,
.hero-form .form-group select {
    width: 100%;
    padding: 0.625rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-family);
    font-size: 0.9rem;
    transition: var(--transition);
}

.hero-form .form-group input:focus,
.hero-form .form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 32, 54, 0.1);
}

.hero-form .form-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: var(--spacing-sm);
    line-height: 1.4;
}

/* Section Styles */
section {
    padding: var(--spacing-xl) var(--spacing-sm);
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Why Trust Section */
.why-trust {
    background-color: var(--bg-light);
    padding-bottom: var(--spacing-sm);
}

.trust-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.trust-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Social Proof Section */
.social-proof {
    background-color: var(--bg-light);
    padding-top: var(--spacing-sm);
}

/* Rating Header with Minimalistic Stars */
.rating-header {
    text-align: center;
    margin-bottom: var(--spacing-md);
    margin-top: 0;
    padding-top: 0;
}

.rating-stars-minimal {
    font-size: 1.1rem;
    color: var(--secondary-color);
    letter-spacing: 0.1rem;
    margin-bottom: 0.25rem;
    line-height: 1;
}

.rating-text-minimal {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.reviews-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.reviews-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.testimonial-card {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.stars {
    color: var(--secondary-color);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.rating-summary {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.rating-stars-large {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

.rating-text {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.service-card {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.service-card:hover .service-icon {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary-light) 100%);
}

.service-title {
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.service-description {
    color: var(--text-light);
}

.services-cta {
    text-align: center;
    margin-top: var(--spacing-md);
}

.services-cta-text {
    margin-top: var(--spacing-sm);
    color: var(--text-light);
    font-size: 1rem;
}

/* Why Choose Section - Differentiators */
.why-choose {
    background-color: var(--bg-light);
}

.differentiators-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
    max-width: 700px;
    margin: 0 auto;
}

.differentiator-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.differentiator-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.differentiator-text {
    color: var(--text-dark);
    font-weight: 500;
    margin: 0;
    font-size: 1rem;
}

/* Instagram Feed Section */
.instagram-feed {
    background-color: var(--bg-white);
    padding: var(--spacing-xl) var(--spacing-sm);
}

.instagram-widget-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto var(--spacing-md);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightwidget-widget {
    width: 100% !important;
    max-width: 100%;
    border-radius: 12px;
    min-height: 400px;
}

.instagram-cta {
    text-align: center;
    margin-top: var(--spacing-md);
}

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.process-step {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto var(--spacing-sm);
}

.step-title {
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.step-description {
    color: var(--text-light);
}

.process-cta {
    text-align: center;
    margin-top: var(--spacing-md);
}

/* Local Trust Section */
.local-trust {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: var(--bg-white);
}

.local-trust .section-title {
    color: var(--bg-white);
}

.local-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.local-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.local-benefit {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-sm);
    border-radius: 6px;
    color: var(--bg-white);
    text-align: center;
}

.local-cta {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: center;
}

/* Contact/Lead Capture Section with Gallery */
.contact {
    background-color: var(--bg-light);
    padding: var(--spacing-xl) var(--spacing-sm);
}

.contact-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.contact-content-with-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    align-items: stretch;
}

@media (min-width: 768px) {
    .contact-content-with-gallery {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }
}

/* Gallery Section */
.gallery-section {
    width: 100%;
    position: relative;
    padding: var(--spacing-md);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}


.gallery-title {
    color: var(--text-dark);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 700;
}

.gallery-container {
    position: relative;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0;
    margin-top: var(--spacing-sm);
}

.gallery-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
    flex: 1;
    min-height: 500px;
    display: flex;
    align-items: stretch;
}

.gallery-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
    overflow: hidden;
}

.gallery-item.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-description {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    color: var(--bg-white);
    padding: var(--spacing-md) var(--spacing-sm) var(--spacing-sm);
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    pointer-events: none;
}

.gallery-description.active {
    opacity: 1;
    transform: translateY(0);
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(26, 32, 54, 0.8);
    color: var(--bg-white);
    border: none;
    font-size: 2rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    line-height: 1;
    padding: 0;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.gallery-btn-prev {
    left: var(--spacing-sm);
}

.gallery-btn-next {
    right: var(--spacing-sm);
}

.gallery-btn:hover {
    background: rgba(26, 32, 54, 0.95);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.gallery-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.contact-form-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.contact-info {
    text-align: center;
}

.contact-subtitle {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
}

.contact-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
    margin: var(--spacing-md) 0;
}

.highlight {
    padding: var(--spacing-sm);
    background: var(--bg-white);
    border-radius: 6px;
    font-weight: 500;
    color: var(--text-dark);
    box-shadow: var(--shadow);
}

.contact-phone {
    margin-top: var(--spacing-md);
}

.phone-link {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    margin-top: var(--spacing-xs);
}

.phone-link:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 500px;
}

.contact-form .form-title {
    color: var(--text-dark);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    margin-bottom: 0.5rem;
    text-align: center;
}

.contact-form .form-subtitle {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.375rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.625rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-family);
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 32, 54, 0.1);
}

.form-disclaimer {
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
    margin-top: var(--spacing-sm);
}

/* Form Error States */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* Final CTA Section */
.final-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: var(--bg-white);
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-sm);
}

.final-cta-title {
    color: var(--bg-white);
    margin-bottom: var(--spacing-sm);
}

.final-cta-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-md);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.final-cta-guarantee {
    margin-top: var(--spacing-md);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Sticky Mobile CTA */
.sticky-cta {
    display: none; /* Hidden by default, shown on mobile via JS */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    padding: var(--spacing-sm);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    justify-content: center;
    gap: var(--spacing-xs);
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: var(--spacing-xl) var(--spacing-sm);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    width: 100%;
}

.footer-column {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    align-items: flex-start;
}

.footer-column:nth-child(2) {
    justify-self: center;
    align-items: flex-start;
    text-align: left;
    transform: translateX(3%);
}

.footer-column:nth-child(2) .footer-heading {
    text-align: left;
}

.footer-column:nth-child(2) .footer-links {
    text-align: left;
    align-items: flex-start;
}

.footer-column:nth-child(2) .footer-links li {
    text-align: left;
}

.footer-column:last-child {
    justify-self: end;
    align-items: flex-start;
    text-align: left;
}

.footer-column:last-child .footer-heading {
    text-align: left;
}

.footer-column:last-child .footer-contact-info {
    align-items: flex-start;
    text-align: left;
}

.footer-title {
    color: var(--bg-white);
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
}

.footer-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    margin-bottom: var(--spacing-sm);
    align-self: flex-start;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-sm);
    line-height: 1.5;
    font-size: 0.85rem;
}

.footer-column .trust-badges {
    margin: var(--spacing-sm) 0;
    gap: 0.5rem;
}

.footer-column .trust-badge {
    padding: 0.5rem 0.75rem;
    font-size: 0.7rem;
}

.footer-column .certificate-badge {
    padding: 0.5rem 1rem;
    margin-top: var(--spacing-sm);
}

.footer-column .certificate-stars {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.footer-column .certificate-text {
    font-size: 0.7rem;
}

.footer-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-sm);
}

.footer-stars {
    color: var(--secondary-color);
    font-size: 1.1rem;
    letter-spacing: 0.1rem;
    margin-bottom: 0.25rem;
}

.footer-rating-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.footer-heading {
    color: var(--bg-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: flex-start;
    text-align: left;
}

.footer-contact-item {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contact-item strong {
    color: var(--bg-white);
    display: block;
    margin-bottom: 0.25rem;
}

.footer-contact-item a {
    color: var(--secondary-color);
    text-decoration: none;
}

.footer-contact-item a:hover {
    text-decoration: underline;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-xs);
}

.footer a {
    color: var(--secondary-color);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-bottom {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.875rem;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    text-align: center;
}

.footer-legal {
    display: flex;
    gap: var(--spacing-xs);
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.footer-legal a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* ============================================
   Responsive Design - Tablet & Desktop
   ============================================ */

/* Mobile Menu Styles */
@media (max-width: 767px) {
    body {
        padding-top: 60px; /* Smaller header on mobile */
    }
    
    .header {
        padding: 0.5rem 0;
    }
    
    .header-content {
        padding: 0.5rem 0;
    }
    
    .header-content {
        padding: 0.75rem 0;
        position: relative;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .logo-image {
        height: 55px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 4;
        margin-left: 0.5rem;
        position: relative;
        z-index: 1002;
    }
    
    .nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, opacity 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        opacity: 0;
        z-index: 1001;
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .nav.active {
        max-height: 350px;
        opacity: 1;
        overflow-y: auto;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: stretch;
        padding: 0.5rem 0;
        gap: 0;
        width: 100%;
        margin: 0;
    }
    
    .nav-list li {
        width: 100%;
        margin: 0;
    }
    
    .nav-link {
        display: block;
        padding: 0.75rem var(--spacing-md);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: left;
        width: 100%;
        color: var(--bg-white);
        font-size: 0.9rem;
        box-sizing: border-box;
    }
    
    .nav-link:hover,
    .nav-link:focus {
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--bg-white);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .header-cta {
        display: flex !important;
        flex-direction: row;
        gap: 0.4rem;
        order: 3;
        margin-left: auto;
        margin-right: 0.5rem;
        flex-shrink: 0;
    }
    
    .header-cta .btn-call {
        padding: 0.625rem 0.875rem;
        font-size: 0.8rem;
        white-space: nowrap;
        min-width: auto;
        display: inline-block;
    }
    
    .logo {
        order: 1;
        flex: 0 0 auto;
        z-index: 1002;
    }
    
    .hero {
        margin-top: -60px; /* Offset for fixed header on mobile */
        padding-top: calc(var(--spacing-xl) + 60px); /* Add header height to padding */
        min-height: 100vh;
        background-image: url('assets/backgrounMobile.jpg'); /* Use mobile background image */
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    .trust-badges {
        flex-wrap: wrap;
    }
    
    .trust-badge {
        font-size: 0.7rem;
        padding: 0.625rem 0.875rem;
    }
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-xl);
    }
    
    .hero {
        min-height: 100vh;
    }
    
    .hero-form {
        padding: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .differentiators-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .local-benefits {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .local-cta {
        flex-direction: row;
        justify-content: center;
    }
    
    .contact-content-with-gallery {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-xl);
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
        justify-items: start;
    }
    
    .footer-bottom-content {
        flex-direction: row;
        justify-content: center;
        text-align: center;
    }
    
    
    .final-cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .differentiators-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 900px;
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-lg);
        justify-items: start;
        align-items: start;
    }
    
    .process-steps {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .sticky-cta {
        display: none; /* Hide on desktop */
    }
}

/* ============================================
   Accessibility & Performance Optimizations
   ============================================ */

/* Focus states for keyboard navigation */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Hero Form Error States */
.hero-form .form-group input.error,
.hero-form .form-group select.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.hero-form .error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* Print styles */
@media print {
    .sticky-cta,
    .hero-form,
    .final-cta {
        display: none;
    }
}
