/* ============================================
   EL DORADO POOLS - MAIN STYLESHEET
   Brand Guide v1.0 — July 2025
   Primary: #11487B | Gold: #DCA940
   Font: Helvetica
   ============================================ */

/* --- CSS Variables --- */
:root {
    --primary: #11487B;
    --primary-dark: #0D3860;
    /* Primary Blue tints per brand style guide */
    --primary-tint-60: #7091B0;
    --primary-tint-30: #B8C8D7;
    --primary-light: #7091B0;
    --secondary: #DCA940;
    --secondary-dark: #C49530;
    --secondary-light: #EAC97A;
    --accent: #939598;
    --accent-dark: #6B6C6F;
    --white: #FFFFFF;
    --off-white: #F6F8FA;
    --light-gray: #C7C8CA;
    --gray: #939598;
    --dark-gray: #1A1A1A;
    --text: #1A1A1A;
    --text-light: #939598;
    --shadow: 0 2px 15px rgba(17, 72, 123, 0.08);
    --shadow-lg: 0 10px 40px rgba(17, 72, 123, 0.12);
    --shadow-hover: 0 8px 30px rgba(17, 72, 123, 0.18);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
    --font-main: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-heading: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --max-width: 1200px;
}

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

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

body {
    font-family: var(--font-main);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    gap: 0.5rem;
    font-family: var(--font-main);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}
.btn-white:hover {
    background: var(--off-white);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-lg { padding: 1rem 2.5rem; font-size: 1.125rem; }
.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }

/* --- Header & Navigation --- */
.site-header {
    background: var(--white);
    box-shadow: 0 1px 10px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.header-top a {
    color: var(--white);
    font-weight: 500;
}
.header-top a:hover { color: var(--secondary-light); }

.header-top-left {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.header-top-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.header-top-right .social-link {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    font-size: 0.75rem;
}
.header-top-right .social-link:hover {
    background: rgba(255,255,255,0.3);
}

.header-main {
    padding: 0.5rem 0;
}

.header-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.logo span { color: var(--secondary); }

.logo-img {
    height: 64px;
    width: auto;
    display: block;
}

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

.main-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.main-nav a {
    padding: 0.5rem 0.65rem;
    font-weight: 500;
    color: var(--text);
    font-size: 0.9rem;
    position: relative;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 60%;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.header-phone {
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
    white-space: nowrap;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
    padding: 0.5rem;
}

/* --- Hero Section --- */
.hero {
    background: #0D3860;
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
    color: var(--white);
    min-height: 620px;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 620px;
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--text);
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.hero-content .highlight { color: var(--secondary-dark); }

.hero-content p {
    font-size: 1.2rem;
    color: var(--text);
    opacity: 1;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-financing {
    display: inline-block;
    max-width: 420px;
    margin-top: 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text);
    background: rgba(255,255,255,0.92);
    padding: 0.6rem 1.1rem;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.hero-financing i { color: var(--secondary-dark); margin-right: 0.35rem; }

.hero-financing a {
    color: var(--secondary-dark);
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-trust {
    margin-top: 2.5rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    opacity: 1;
    background: rgba(255,255,255,0.92);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.trust-item i { color: var(--secondary-dark); }

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

.section-light { background: var(--off-white); }
.section-blue { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: var(--white); }

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header .section-label {
    display: inline-block;
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.section-blue .section-header .section-label { color: var(--secondary-light); }
.section-blue .section-header h2 { color: var(--white); }

.section-header h2 { margin-bottom: 1rem; }

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}
.section-blue .section-header p { color: rgba(255,255,255,0.85); }

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(17,72,123,0.08);
}

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

.service-card-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.service-card-icon {
    color: var(--primary);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.service-card h3 {
    margin-bottom: 0;
    font-size: 1.25rem;
    color: var(--primary);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.service-card .learn-more {
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.service-card .learn-more:hover { gap: 0.75rem; }

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-stars {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1rem;
    text-align: center;
}

.testimonial-card .review::before {
    content: '\201C';
    display: block;
    font-size: 3rem;
    color: var(--primary-light);
    opacity: 0.4;
    font-family: Georgia, serif;
    line-height: 1;
    margin-bottom: -1.35rem;
}

.testimonial-card .review {
    font-style: italic;
    color: var(--dark-gray);
    margin-bottom: 1.25rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-author-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
}

.testimonial-author-info strong { display: block; color: var(--text); }
.testimonial-author-info span { font-size: 0.85rem; color: var(--text-light); }

/* --- CTA Banner --- */
.cta-banner {
    padding: 4rem 0;
    background: var(--primary);
    color: var(--white);
    text-align: center;
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-banner p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner .btn { margin: 0 0.5rem; }

/* --- FAQ Section --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid rgba(17,72,123,0.08);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-main);
    transition: var(--transition);
}

.faq-question:hover { color: var(--primary); }

.faq-question i {
    transition: var(--transition);
    color: var(--primary);
}

.faq-item.active .faq-question i { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-inner {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-light);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* --- Blog Grid --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(17,72,123,0.08);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-size: 3rem;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-body { padding: 1.5rem; }

.blog-card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.blog-card-meta .category {
    background: var(--light-gray);
    color: var(--primary);
    padding: 0.2rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
}

.blog-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.blog-card h3 a { color: var(--text); }
.blog-card h3 a:hover { color: var(--primary); }

.blog-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    margin-bottom: 1rem;
}

/* --- Blog Post Content --- */
.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-content h2 {
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
}

.blog-post-content h3 {
    font-size: 1.35rem;
    margin: 1.5rem 0 0.75rem;
}

.blog-post-content ul, .blog-post-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

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

.blog-post-content a { color: var(--primary); text-decoration: underline; }

/* --- Forms --- */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-size: 0.95rem;
}

.form-group label .required { color: #EF4444; }

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: var(--font-main);
    transition: var(--transition);
    background: var(--white);
    color: var(--text);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}

select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 120px; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-success {
    background: #ECFDF5;
    color: #065F46;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    display: none;
    font-weight: 500;
}

.form-success.show { display: block; }

.form-error {
    background: #FEF2F2;
    color: #991B1B;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    display: none;
    font-weight: 500;
}

.form-error.show { display: block; }

/* --- Page Header --- */
.page-header {
    background: var(--primary);
    padding: 4rem 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    position: relative;
}

.page-header p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    position: relative;
}

.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { opacity: 0.6; }

/* --- Service Area Grid --- */
.area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.area-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.75rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(17,72,123,0.08);
}

.area-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

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

.area-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.area-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.area-card.primary-area {
    border-color: var(--primary);
    border-width: 2px;
}

/* --- Gallery Slideshow --- */
.gallery-slideshow-section {
    background: var(--dark-gray);
}

.gallery-slideshow {
    position: relative;
    width: 100%;
    height: 560px;
    overflow: hidden;
}

.slideshow-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slideshow-slide.active {
    opacity: 1;
}

.slideshow-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slideshow-caption {
    position: absolute;
    bottom: 3.5rem;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    pointer-events: none;
}

.slideshow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.35);
    color: var(--white);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideshow-btn:hover { background: rgba(17, 72, 123, 0.75); }
.slideshow-prev { left: 1.25rem; }
.slideshow-next { right: 1.25rem; }

.slideshow-dots {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    z-index: 10;
}

.slideshow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    padding: 0;
}

.slideshow-dot.active {
    background: var(--secondary);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .gallery-slideshow { height: 280px; }
    .slideshow-caption { font-size: 0.9rem; bottom: 2.5rem; }
    .slideshow-btn { width: 36px; height: 36px; font-size: 1.25rem; }
}

/* --- Lightbox --- */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox.active { display: flex; }

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    display: block;
}

.lightbox-caption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.75rem 0.25rem 0;
    color: var(--white);
    font-size: 0.95rem;
}

.lightbox-counter {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    white-space: nowrap;
    margin-left: 1rem;
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 2001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover { background: var(--primary); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.lightbox-close {
    position: fixed;
    top: 1.25rem;
    right: 1.5rem;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 2001;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.lightbox-close:hover { background: rgba(220,80,80,0.7); }

/* Zoom icon on grid items */
.gallery-item-zoom {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(0,0,0,0.45);
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.gallery-item:hover .gallery-item-zoom { opacity: 1; }

@media (max-width: 768px) {
    .lightbox-nav { width: 40px; height: 40px; font-size: 1.5rem; }
    .lightbox-prev { left: 0.5rem; }
    .lightbox-next { right: 0.5rem; }
    .lightbox-content img { max-height: 75vh; }
}

/* --- Featured Story --- */
.featured-story {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.featured-story-main {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: var(--radius);
}

.featured-story-thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.featured-story-thumbs img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: var(--radius);
}

.featured-story-content .section-label {
    display: inline-block;
    color: var(--secondary-dark);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.featured-story-content h2 { margin-bottom: 1rem; }

.featured-story-content p {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

/* --- Gallery Grid --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 260px;
    gap: 1rem;
}

.gallery-item {
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    cursor: pointer;
}

.gallery-item.portrait {
    grid-row: span 2;
}

.gallery-item.landscape {
    grid-column: span 2;
}

/* Multi-photo job grouped into a single portfolio tile */
.gallery-item.gallery-project {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-project-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: rgba(0,0,0,0.55);
    color: var(--white);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

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

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

/* Captions are grid-hidden; they only appear in the lightbox on click */
.gallery-item-overlay {
    display: none;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-size: 3rem;
}

/* --- Filter Buttons --- */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    background: var(--white);
    color: var(--text);
    border: 2px solid var(--light-gray);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    font-family: var(--font-main);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* --- Footer --- */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    padding: 4rem 0 0;
}

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

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 1rem;
    display: block;
}

.footer-tagline {
    display: block;
    width: 220px;
    height: auto;
    margin: -0.25rem 0 1rem;
}

.footer-brand p {
    font-size: 0.92rem;
    line-height: 1.7;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-column h4 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}

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

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

.footer-column ul a {
    color: rgba(255,255,255,0.7);
    font-size: 0.92rem;
    transition: var(--transition);
}

.footer-column ul a:hover {
    color: var(--secondary-light);
    padding-left: 4px;
}

.footer-newsletter p {
    font-size: 0.92rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.05);
    color: var(--white);
    font-size: 0.9rem;
    font-family: var(--font-main);
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }

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

.newsletter-form button {
    padding: 0.75rem 1.25rem;
    background: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover { background: var(--secondary-dark); }

.newsletter-msg {
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.footer-bottom-links a { color: rgba(255,255,255,0.6); }
.footer-bottom-links a:hover { color: var(--white); }

/* --- Sidebar --- */
.content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
}

.sidebar-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.sidebar-card h4 {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--light-gray);
}

.sidebar-card ul {
    list-style: none;
}

.sidebar-card ul li {
    margin-bottom: 0.5rem;
}

.sidebar-card ul a {
    color: var(--text-light);
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-card ul a:hover { color: var(--primary); }

/* --- Pagination --- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a, .pagination span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid var(--light-gray);
    color: var(--text);
    transition: var(--transition);
}

.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info-cards {
    display: grid;
    gap: 1.25rem;
}

.contact-info-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: var(--off-white);
    border-radius: var(--radius-sm);
}

.contact-info-card i {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-card h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.contact-info-card p { color: var(--text-light); font-size: 0.92rem; margin-bottom: 0; }

/* --- Stats Bar --- */
.stats-bar {
    padding: 3rem 0;
    background: var(--off-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-item p {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
}

/* --- Why Choose Us --- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.why-item {
    text-align: center;
    padding: 2rem 1.5rem;
}

.why-item-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, rgba(0,119,182,0.1), rgba(0,168,232,0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary);
}

.why-item h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.why-item p {
    color: var(--text-light);
    font-size: 0.92rem;
}

/* --- Process Steps --- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

.process-step h4 { margin-bottom: 0.5rem; }
.process-step p { color: var(--text-light); font-size: 0.9rem; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero .container { text-align: center; }
    .hero-content { max-width: 100%; margin: 0 auto; }
    .hero-buttons { justify-content: center; }
    .hero-trust { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .content-with-sidebar { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    .section { padding: 3rem 0; }
    .hero { padding: 3rem 0; }
    .hero-content h1 { font-size: 2.25rem; }

    .mobile-toggle { display: block; }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        box-shadow: var(--shadow-lg);
        padding: 1rem;
    }

    .main-nav.active { display: flex; }

    .main-nav a {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--light-gray);
        width: 100%;
    }

    .header-cta .btn { display: none; }
    .header-cta .btn-outline { display: inline-flex; }

    .services-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .featured-story { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
    .gallery-item.portrait { grid-row: span 2; }
    .gallery-item.landscape { grid-column: span 2; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .area-grid { grid-template-columns: 1fr 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }

    .header-top { display: none; }
    .page-header { padding: 2.5rem 0; }
    .page-header h1 { font-size: 1.75rem; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.75rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .area-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .newsletter-form { flex-direction: column; }
    .plans-grid { grid-template-columns: 1fr; }
}

/* ============================================
   PRICING PLANS
   ============================================ */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.plan-card {
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-lg);
    padding: 0;
    text-align: center;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.plan-featured {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(0, 119, 182, 0.2);
    transform: scale(1.05);
}

.plan-featured:hover {
    transform: scale(1.05) translateY(-6px);
    box-shadow: 0 15px 50px rgba(0, 119, 182, 0.25);
}

.plan-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--secondary);
    color: var(--white);
    padding: 0.4rem 1.4rem;
    border-radius: 0 0 0 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1;
}

.plan-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 2rem 1.5rem;
    margin-bottom: 0;
}

.plan-featured .plan-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.plan-card:last-child .plan-header {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
}

.plan-header h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plan-price {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.plan-price strong {
    font-size: 2.4rem;
    font-family: var(--font-heading);
    color: var(--white);
    display: block;
    line-height: 1.2;
}

.plan-body {
    padding: 1.5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.plan-features li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--light-gray);
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li i {
    color: var(--accent);
    margin-top: 0.2rem;
    flex-shrink: 0;
    width: 16px;
}

.plan-features li.plan-divider {
    padding-top: 1rem;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--primary);
}

.plan-note {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background: var(--off-white);
    border-radius: var(--radius-sm);
}

.plan-disclaimer {
    font-size: 0.78rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.4;
    font-style: italic;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--secondary-dark);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
    .plans-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
    .plan-featured { transform: none; }
    .plan-featured:hover { transform: translateY(-4px); }
}
