/* ============================================
   Whole House Contracting - Luxury Stylesheet
   Long Island, NY — Premium Construction
   ============================================ */

/* --- Google Fonts loaded in HTML head --- */

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

:root {
    --primary: #1b3a5c;
    --primary-dark: #0d1b2a;
    --dark: #1a1a2e;
    --accent: #c9a96e;
    --accent-hover: #b8944d;
    --accent-light: rgba(201, 169, 110, 0.15);
    --light: #f7f6f3;
    --white: #ffffff;
    --gray: #6b7280;
    --gray-light: #e5e4e0;
    --gray-dark: #2d2d3a;
    --success: #2d8a5e;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.06);
    --radius: 4px;
    --radius-lg: 8px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent-hover);
}

ul, ol {
    list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 0.5em;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 { font-size: 3.25rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; }

p {
    margin-bottom: 1rem;
    color: var(--gray);
    line-height: 1.8;
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.section--light {
    background-color: var(--light);
}

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

.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark p {
    color: var(--white);
}

.section--dark p {
    color: rgba(255, 255, 255, 0.75);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 1rem auto 0;
}

.section-header p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 1rem auto 0;
    color: var(--gray);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-body);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}

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

.btn--primary:hover {
    background-color: var(--accent-hover);
    color: var(--primary-dark);
}

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

.btn--accent:hover {
    background-color: var(--accent-hover);
    color: var(--primary-dark);
}

.btn--outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--accent);
}

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

.btn--outline-dark {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--accent);
}

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

.btn--lg {
    padding: 1.1rem 2.75rem;
    font-size: 0.95rem;
}

/* --- Header / Navigation --- */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0;
    padding-bottom: 0;
    height: 80px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.01em;
}

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

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

.nav-links a {
    color: var(--dark);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width var(--transition);
}

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

.nav-links a.active {
    color: var(--primary-dark);
}

.nav-links .btn {
    padding: 0.55rem 1.5rem;
    font-size: 0.8rem;
}

.nav-links .btn::after {
    display: none;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: var(--dark);
    margin: 6px 0;
    border-radius: 2px;
    transition: all var(--transition);
}

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

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* --- Hero --- */
.hero {
    position: relative;
    color: var(--white);
    padding: 10rem 0;
    text-align: center;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

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

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

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(13, 27, 42, 0.55) 0%,
        rgba(13, 27, 42, 0.7) 50%,
        rgba(13, 27, 42, 0.85) 100%
    );
}

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

.hero .tagline {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(201, 169, 110, 0.4);
    border-radius: 2px;
}

.hero h1 {
    color: var(--white);
    font-size: 4rem;
    margin-bottom: 1.25rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.1;
}

.hero p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Page Hero (interior pages) --- */
.page-hero {
    position: relative;
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    overflow: hidden;
}

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

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

.page-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 27, 42, 0.5) 0%,
        rgba(27, 58, 92, 0.45) 100%
    );
}

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

.page-hero h1 {
    color: var(--white);
    margin-bottom: 0.75rem;
    font-size: 3rem;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition), box-shadow var(--transition);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

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

.service-card .icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--accent-light), rgba(201, 169, 110, 0.05));
    border: 1px solid rgba(201, 169, 110, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    color: var(--accent);
}

.service-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.service-card a {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
}

.service-card a:hover {
    color: var(--accent-hover);
}

/* Service card with image */
.service-card--image {
    padding: 0;
    overflow: hidden;
    text-align: left;
}

.service-card--image .card-image {
    height: 240px;
    overflow: hidden;
}

.service-card--image .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.service-card--image .card-content {
    padding: 2rem;
}

.service-card--image .card-content h3 {
    font-size: 1.3rem;
}

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.testimonial-card .quote {
    font-style: italic;
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-card .quote::before {
    content: '\201C';
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--accent);
    line-height: 0;
    position: absolute;
    top: 2rem;
    left: 1.75rem;
    opacity: 0.3;
}

.testimonial-card .author {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.testimonial-card .author span {
    display: block;
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--accent);
    margin-top: 0.15rem;
}

.stars {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
}

/* --- Gallery --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    border-radius: var(--radius-lg);
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.gallery-item .gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(13, 27, 42, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity var(--transition);
}

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

.gallery-overlay p {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0;
}

/* Gallery placeholder fallback */
.gallery-placeholder {
    text-align: center;
    padding: 1rem;
    background-color: var(--gray-light);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gallery-placeholder .placeholder-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.3;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery-filter button {
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--gray-light);
    background: var(--white);
    border-radius: 2px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-body);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gray);
    transition: all var(--transition);
}

.gallery-filter button:hover,
.gallery-filter button.active {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

/* --- CTA Section --- */
.cta {
    position: relative;
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
    overflow: hidden;
}

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

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.88) 0%, rgba(27, 58, 92, 0.85) 100%);
}

/* Fallback when no bg image */
.cta--gradient {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

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

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

.cta h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 1rem auto 0;
}

.cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    max-width: 550px;
    margin: 1rem auto 2.5rem;
}

/* --- About / Values --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.value-card {
    text-align: center;
    padding: 2.5rem 2rem;
}

.value-card .icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-light), rgba(201, 169, 110, 0.05));
    border: 1px solid rgba(201, 169, 110, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--accent);
}

.value-card h3 {
    margin-bottom: 0.75rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-lg);
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

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

.about-text h2 {
    margin-bottom: 1.25rem;
}

.about-text h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin-top: 1rem;
}

.about-text p {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

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

.stat h3 {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.stat p {
    font-size: 0.9rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* --- Why Choose Us --- */
.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.feature-item .check {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background-color: var(--accent);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 0.15rem;
}

.feature-item h4 {
    margin-bottom: 0.3rem;
}

.feature-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* --- Service Detail Pages --- */
.service-detail {
    padding: 5rem 0;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.service-main h2 {
    margin-bottom: 1rem;
}

.service-main h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin-top: 0.75rem;
}

.service-main h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.service-main p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.service-main ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.service-main ul li {
    margin-bottom: 0.65rem;
    color: var(--gray);
    padding-left: 1.75rem;
    position: relative;
    line-height: 1.7;
}

.service-main ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

.service-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background-color: var(--light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.sidebar-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gray-light);
}

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

.sidebar-card ul li a {
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition), padding-left var(--transition);
}

.sidebar-card ul li a:hover {
    color: var(--accent);
    padding-left: 0.25rem;
}

.sidebar-card ul li a.active {
    color: var(--accent);
    font-weight: 600;
}

.sidebar-cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    text-align: center;
    border: none;
}

.sidebar-cta h3 {
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.sidebar-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.process-steps {
    margin: 2rem 0;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.process-step .step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

.process-step h4 {
    margin-bottom: 0.3rem;
    font-size: 1.15rem;
}

.process-step p {
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.7;
}

/* --- Contact / Form --- */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.15rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color var(--transition), box-shadow var(--transition);
    background-color: var(--white);
    color: var(--dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
}

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

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

.contact-info-card {
    background-color: var(--light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-info-card h3 {
    margin-bottom: 1.5rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    align-items: flex-start;
}

.contact-info-item .info-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.contact-info-item h4 {
    margin-bottom: 0.15rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.contact-info-item p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.hours-list {
    margin-top: 0.5rem;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--gray);
    border-bottom: 1px solid var(--gray-light);
}

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

/* --- Blueprint Showcase --- */
.blueprint-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.blueprint-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.blueprint-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

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

/* --- File Upload --- */
.upload-wrapper {
    max-width: 740px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.upload-dropzone {
    border: 2px dashed rgba(201, 169, 110, 0.35);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color var(--transition), background-color var(--transition), box-shadow var(--transition);
    background-color: var(--light);
}

.upload-dropzone:hover {
    border-color: var(--accent);
    background-color: var(--accent-light);
    box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.08);
}

.upload-dropzone.dragover {
    border-color: var(--accent);
    border-style: solid;
    background-color: var(--accent-light);
    box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.15);
}

.dropzone-icon-svg {
    width: 48px;
    height: 48px;
    color: var(--accent);
    margin-bottom: 1.25rem;
    opacity: 0.7;
}

.upload-dropzone:hover .dropzone-icon-svg,
.upload-dropzone.dragover .dropzone-icon-svg {
    opacity: 1;
}

.dropzone-text {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.dropzone-or {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.btn--browse {
    display: inline-block;
    padding: 0.6rem 1.75rem;
    font-size: 0.8rem;
    margin-bottom: 1.25rem;
    pointer-events: none;
}

.dropzone-hint {
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 0;
    letter-spacing: 0.01em;
}

.file-list {
    margin-top: 1rem;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1.15rem;
    background-color: var(--light);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    transition: border-color var(--transition);
}

.file-item:hover {
    border-color: var(--accent);
}

.file-item .file-name {
    color: var(--dark);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.file-item .file-size {
    color: var(--gray);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.file-item .file-remove {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0 0.15rem;
    line-height: 1;
    transition: color var(--transition);
    flex-shrink: 0;
}

.file-item .file-remove:hover {
    color: #e74c3c;
}

.upload-progress {
    margin-bottom: 1.5rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background-color: var(--gray-light);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-radius: 3px;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 0;
}

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

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

.footer h4 {
    font-family: var(--font-heading);
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact li {
    margin-bottom: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

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

/* --- Utilities --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* --- Responsive --- */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .hero { min-height: 70vh; padding: 6rem 0; }
    .hero h1 { font-size: 3rem; }

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

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

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

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

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

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

    .service-sidebar {
        position: static;
    }

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

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

    .section {
        padding: 4.5rem 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 0;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }

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

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

    .nav-links a::after {
        display: none;
    }

    .nav-links .btn {
        margin-top: 0.75rem;
        text-align: center;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        padding: 5rem 0;
        min-height: 60vh;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 1.05rem;
    }

    .section {
        padding: 3.5rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .services-grid,
    .testimonials-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat h3 {
        font-size: 2.25rem;
    }

    .page-hero {
        padding: 4rem 0;
    }

    .page-hero h1 {
        font-size: 2.25rem;
    }

    .cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .hero h1 {
        font-size: 1.85rem;
    }

    .btn--lg {
        padding: 0.85rem 1.75rem;
        font-size: 0.85rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .stats-row {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        gap: 0.75rem;
    }
}
