/* ============================================
   Michael's Roof Service — Custom Styles
   Classic & Elegant | Midnight Blue + Mint
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --color-midnight: #0A1628;
    --color-midnight-light: #132038;
    --color-midnight-mid: #1A2D4A;
    --color-mint: #5FB8A3;
    --color-mint-light: #7EC8B5;
    --color-mint-dark: #4A9E8A;
    --color-cream: #F7F5F0;
    --color-warm-white: #FAFAF7;
    --color-off-white: #F0EDE6;
    --color-text: #1A1A1A;
    --color-text-light: #4A4A4A;
    --color-text-muted: #7A7A7A;
    --color-border: #E5E2DB;
    --color-border-light: #EDEBE5;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.06);
    --shadow-md: 0 4px 20px rgba(10, 22, 40, 0.08);
    --shadow-lg: 0 12px 40px rgba(10, 22, 40, 0.12);
    --shadow-xl: 0 20px 60px rgba(10, 22, 40, 0.15);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-warm-white);
    overflow-x: hidden;
}

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-midnight);
}

/* --- Section Tags --- */
.section-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-mint-dark);
    background: rgba(95, 184, 163, 0.1);
    border: 1px solid rgba(95, 184, 163, 0.25);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.section-tag--light {
    color: var(--color-mint-light);
    background: rgba(126, 200, 181, 0.15);
    border-color: rgba(126, 200, 181, 0.3);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--color-midnight);
}

.section-title--light {
    color: #fff;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 640px;
    line-height: 1.8;
}

.section-header--center {
    text-align: center;
}

.section-header--center .section-subtitle {
    margin: 0 auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: 50px;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-mint);
    color: #fff;
    border: 2px solid var(--color-mint);
}

.btn-primary:hover {
    background: var(--color-mint-dark);
    border-color: var(--color-mint-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(95, 184, 163, 0.35);
}

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

.btn-secondary:hover {
    background: var(--color-midnight);
    color: #fff;
    transform: translateY(-2px);
}

.btn-light {
    background: #fff;
    color: var(--color-midnight);
    border: 2px solid #fff;
}

.btn-light:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--color-midnight);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 247, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
    padding: 0;
}

.navbar.scrolled {
    background: rgba(250, 250, 247, 0.97);
    border-bottom-color: var(--color-border-light);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-midnight);
}

.nav-logo-icon {
    color: var(--color-mint);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-text-light);
    padding: 8px 16px;
    border-radius: 50px;
    transition: all var(--transition);
}

.nav-link:hover {
    color: var(--color-midnight);
    background: rgba(10, 22, 40, 0.05);
}

.nav-cta {
    font-weight: 500;
    color: var(--color-mint-dark);
    background: rgba(95, 184, 163, 0.1);
    border: 1px solid rgba(95, 184, 163, 0.25);
    margin-left: 8px;
}

.nav-cta:hover {
    background: var(--color-mint);
    color: #fff;
    border-color: var(--color-mint);
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-midnight);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.nav-phone:hover {
    border-color: var(--color-mint);
    color: var(--color-mint-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-midnight);
    border-radius: 2px;
    transition: all var(--transition);
}

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

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

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

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--color-cream);
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse at 20% 50%, rgba(95, 184, 163, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(10, 22, 40, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-mint-dark);
    background: rgba(95, 184, 163, 0.1);
    border: 1px solid rgba(95, 184, 163, 0.25);
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 28px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-mint);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-headline {
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--color-midnight);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-headline em {
    font-style: italic;
    color: var(--color-mint-dark);
}

.hero-subheadline {
    font-size: 1.125rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 600/700;
}

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--color-mint);
    border-radius: var(--radius-md);
    z-index: -1;
    opacity: 0.3;
}

/* Floating Stat Cards */
.stat-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 2;
    animation: float 4s ease-in-out infinite;
}

.stat-card--1 {
    top: 15%;
    left: -40px;
    animation-delay: 0s;
}

.stat-card--2 {
    bottom: 25%;
    left: -30px;
    animation-delay: 1.3s;
}

.stat-card--3 {
    bottom: 8%;
    right: -20px;
    animation-delay: 2.6s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.stat-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(95, 184, 163, 0.12);
    border-radius: var(--radius-sm);
    color: var(--color-mint-dark);
    flex-shrink: 0;
}

.stat-card-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-midnight);
    line-height: 1.2;
}

.stat-card-label {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

/* --- Services Section --- */
.services {
    padding: 120px 0;
    background: var(--color-warm-white);
}

.section-header {
    margin-bottom: 64px;
}

.section-header .section-subtitle {
    max-width: 600px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-light);
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(95, 184, 163, 0.2);
}

.service-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 400/260;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.service-card-overlay {
    position: absolute;
    top: 16px;
    right: 16px;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.service-card-content {
    padding: 28px;
}

.service-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(95, 184, 163, 0.1);
    border-radius: var(--radius-sm);
    color: var(--color-mint-dark);
    margin-bottom: 18px;
}

.service-card-title {
    font-size: 1.375rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--color-midnight);
}

.service-card-desc {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.75;
}

/* --- About Section --- */
.about {
    padding: 120px 0;
    background: var(--color-midnight);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse at 80% 80%, rgba(95, 184, 163, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 20%, rgba(95, 184, 163, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-image-side {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 560/680;
}

.about-image-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--color-midnight);
}

.about-image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 400/300;
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--color-mint);
    color: #fff;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-exp-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
}

.about-exp-text {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.9;
}

.about-content-side {
    color: #fff;
}

.about-content-side .section-tag {
    background: rgba(95, 184, 163, 0.15);
    border-color: rgba(95, 184, 163, 0.3);
    color: var(--color-mint-light);
}

.about-body {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 40px 0;
}

.about-value {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about-value-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(95, 184, 163, 0.12);
    border-radius: var(--radius-sm);
    color: var(--color-mint);
    flex-shrink: 0;
}

.about-value-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-value-text strong {
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    font-weight: 500;
    color: #fff;
}

.about-value-text span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.about-content-side .btn-light:hover {
    background: transparent;
    color: #fff;
}

/* --- Why Us Section --- */
.why-us {
    padding: 120px 0;
    background: var(--color-cream);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.why-card {
    background: #fff;
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-mint);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.why-card:hover::before {
    transform: scaleX(1);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(95, 184, 163, 0.15);
}

.why-card-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 600;
    color: rgba(95, 184, 163, 0.15);
    line-height: 1;
    margin-bottom: 16px;
}

.why-card-title {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--color-midnight);
}

.why-card-text {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.75;
}

/* --- Gallery Section --- */
.gallery {
    padding: 120px 0;
    background: var(--color-warm-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

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

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.7) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition);
}

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

.gallery-item-overlay span {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: #fff;
    font-weight: 500;
}

.gallery-item--large {
    grid-column: span 7;
    grid-row: span 2;
}

.gallery-item--large img {
    aspect-ratio: 700/500;
}

.gallery-item:not(.gallery-item--large):not(.gallery-item--wide) img {
    aspect-ratio: 400/350;
}

.gallery-item--wide {
    grid-column: span 5;
}

.gallery-item--wide img {
    aspect-ratio: 900/350;
}

/* --- CTA Section --- */
.cta-section {
    padding: 100px 0;
    background: var(--color-mint);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse at 30% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(10, 22, 40, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.cta-card {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.cta-content {
    max-width: 640px;
    margin: 0 auto;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.cta-actions .btn-primary {
    background: var(--color-midnight);
    border-color: var(--color-midnight);
}

.cta-actions .btn-primary:hover {
    background: var(--color-midnight-light);
    border-color: var(--color-midnight-light);
    box-shadow: 0 8px 25px rgba(10, 22, 40, 0.35);
}

/* --- Contact Section --- */
.contact {
    padding: 120px 0;
    background: var(--color-warm-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-subtitle {
    max-width: 100%;
}

.contact-desc {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-detail {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(95, 184, 163, 0.1);
    border-radius: var(--radius-sm);
    color: var(--color-mint-dark);
    flex-shrink: 0;
}

.contact-detail-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-detail-content strong {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-midnight);
}

.contact-detail-content span,
.contact-detail-content a {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.contact-detail-content a:hover {
    color: var(--color-mint-dark);
}

/* Contact Form */
.contact-form-wrapper {
    position: relative;
}

.contact-form-card {
    background: #fff;
    padding: 44px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border-light);
}

.contact-form-title {
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--color-midnight);
}

.contact-form-subtitle {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--color-text);
    background: var(--color-cream);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-mint);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(95, 184, 163, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237A7A7A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* Form Success */
.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.show {
    display: block;
    animation: fadeIn 0.4s ease;
}

.form-success-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(95, 184, 163, 0.1);
    border-radius: 50%;
    color: var(--color-mint-dark);
    margin: 0 auto 20px;
}

.form-success h4 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--color-midnight);
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Footer --- */
.footer {
    background: var(--color-midnight);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}

.footer-logo-icon {
    color: var(--color-mint);
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.55);
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-contact a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    transition: color var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--color-mint);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-visual {
        max-width: 500px;
    }
    
    .stat-card--1 { left: 0; }
    .stat-card--2 { left: 10px; }
    .stat-card--3 { right: 0; }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-image-side {
        max-width: 480px;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item--large {
        grid-column: span 12;
        grid-row: span 1;
    }
    
    .gallery-item--wide {
        grid-column: span 6;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-phone {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(250, 250, 247, 0.98);
        backdrop-filter: blur(20px);
        padding: 24px;
        border-bottom: 1px solid var(--color-border-light);
        box-shadow: var(--shadow-md);
        gap: 4px;
    }
    
    .nav-links.open .nav-link {
        padding: 12px 16px;
        width: 100%;
    }
    
    .nav-links.open .nav-cta {
        margin-left: 0;
        text-align: center;
        margin-top: 8px;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-container {
        gap: 40px;
    }
    
    .hero-headline {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        justify-content: center;
    }
    
    .stat-card {
        display: none;
    }
    
    .services {
        padding: 80px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .about {
        padding: 80px 0;
    }
    
    .about-image-secondary {
        right: -10px;
        bottom: -20px;
    }
    
    .why-us {
        padding: 80px 0;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .why-card {
        padding: 28px 24px;
    }
    
    .gallery {
        padding: 80px 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-item--large {
        grid-column: span 2;
    }
    
    .gallery-item--wide {
        grid-column: span 2;
    }
    
    .cta-section {
        padding: 80px 0;
    }
    
    .contact {
        padding: 80px 0;
    }
    
    .contact-form-card {
        padding: 28px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer {
        padding: 60px 0 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 90px 0 50px;
    }
    
    .hero-headline {
        font-size: 1.625rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item--large,
    .gallery-item--wide {
        grid-column: span 1;
    }
}
