/* ============================================
   Frank's Home Improvements — Stylesheet
   ============================================ */

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

:root {
    --green-900: #0d3b1a;
    --green-700: #1a5f2a;
    --green-600: #1e7a35;
    --green-500: #2d9246;
    --green-400: #4caf62;
    --green-100: #d1f2d8;
    --green-50: #eaf8ee;
    
    --cream: #faf9f6;
    --cream-dark: #f5f4f0;
    --cream-light: #fdfcfa;
    
    --white: #ffffff;
    --off-white: #f8f7f4;
    
    --text-dark: #1a1f1d;
    --text-mid: #3d4a44;
    --text-light: #6b7c72;
    --text-muted: #9aad9f;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --shadow-sm: 0 1px 3px rgba(26, 95, 42, 0.06), 0 1px 2px rgba(26, 95, 42, 0.04);
    --shadow-md: 0 4px 16px rgba(26, 95, 42, 0.08), 0 2px 4px rgba(26, 95, 42, 0.04);
    --shadow-lg: 0 12px 40px rgba(26, 95, 42, 0.12), 0 4px 12px rgba(26, 95, 42, 0.06);
    --shadow-xl: 0 24px 60px rgba(26, 95, 42, 0.15);
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-dark);
}

em {
    font-style: italic;
    color: var(--green-700);
}

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-lg);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--green-700);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(26, 95, 42, 0.3);
}

.btn--primary:hover {
    background: var(--green-600);
    box-shadow: 0 6px 24px rgba(26, 95, 42, 0.4);
    transform: translateY(-2px);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.btn--white {
    background: var(--white);
    color: var(--green-700);
    box-shadow: var(--shadow-md);
}

.btn--white:hover {
    background: var(--cream);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--green-700);
    border: 1.5px solid var(--green-700);
}

.btn--outline:hover {
    background: var(--green-50);
    transform: translateY(-2px);
}

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

/* ---------- Section Helpers ---------- */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-600);
    background: var(--green-100);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

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

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

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

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}

.nav__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'DM Serif Display', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
    transition: var(--transition);
}

.nav.scrolled .nav__logo {
    color: var(--green-700);
}

.nav__logo-icon {
    flex-shrink: 0;
}

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

.nav__link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.nav.scrolled .nav__link {
    color: var(--text-mid);
}

.nav.scrolled .nav__link:hover {
    color: var(--green-700);
    background: var(--green-50);
}

.nav__link--cta {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-left: 8px;
}

.nav__link--cta:hover {
    background: var(--white) !important;
    color: var(--green-700) !important;
}

.nav.scrolled .nav__link--cta {
    background: var(--green-700);
    color: var(--white) !important;
    border-color: var(--green-700);
}

.nav.scrolled .nav__link--cta:hover {
    background: var(--green-600);
    border-color: var(--green-600);
}

/* Mobile Toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav__toggle-line {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.nav.scrolled .nav__toggle-line {
    background: var(--green-700);
}

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

.nav__toggle.active .nav__toggle-line:nth-child(2) {
    opacity: 0;
}

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(13, 59, 26, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mobile-menu__link {
    font-family: 'DM Serif Display', serif;
    font-size: 1.8rem;
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.mobile-menu__link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu__link--cta {
    margin-top: 16px;
    background: var(--white);
    color: var(--green-700) !important;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: var(--radius-lg);
}

.mobile-menu__contact {
    margin-top: 32px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 2;
}

.mobile-menu__contact a {
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
}

.mobile-menu__contact a:hover {
    color: var(--white);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        #0d3b1a 0%, 
        #1a5f2a 25%, 
        #2d7a42 50%, 
        #1a5f2a 75%, 
        #0d3b1a 100%
    );
    z-index: 0;
}

.hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 80%, rgba(45, 146, 70, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(74, 175, 98, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 50% 50%, rgba(26, 95, 42, 0.2) 0%, transparent 70%);
}

.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 32px;
    backdrop-filter: blur(8px);
}

.hero__title {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero__trust {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 1;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.7); }
}

/* ---------- Services ---------- */
.services {
    padding: 120px 0;
    background: var(--cream);
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green-700), var(--green-400));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--green-100);
    transform: translateY(-4px);
}

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

.service-card__icon {
    width: 56px;
    height: 56px;
    background: var(--green-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-card__icon {
    background: var(--green-100);
    transform: scale(1.05);
}

.service-card__title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
}

.service-card__desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ---------- About ---------- */
.about {
    padding: 120px 0;
    background: var(--cream-light);
}

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

.about__image-wrapper {
    position: relative;
}

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

.about__image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 6/7.5;
}

.about__image-accent {
    position: absolute;
    bottom: -32px;
    right: -32px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream-light);
}

.about__image-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.about__stats {
    position: absolute;
    top: -24px;
    left: -24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.about__stat {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.about__stat-number {
    display: block;
    font-family: 'DM Serif Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--green-700);
    line-height: 1;
    margin-bottom: 4px;
}

.about__stat-label {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about__content {
    max-width: 480px;
}

.about__text {
    font-size: 1.05rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.about__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
}

.about__feature-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- Gallery ---------- */
.gallery {
    padding: 120px 0;
    background: var(--cream);
}

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

.gallery__item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

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

.gallery__item:hover img {
    transform: scale(1.05);
}

.gallery__item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 59, 26, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

.gallery__item:hover .gallery__item-overlay {
    opacity: 1;
}

.gallery__item-overlay span {
    color: var(--white);
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem;
}

.gallery__item--large {
    grid-row: span 2;
}

.gallery__item--large img {
    aspect-ratio: 7/10;
}

.gallery__item--wide {
    grid-column: span 2;
}

.gallery__item--wide img {
    aspect-ratio: 2/1;
}

.gallery__item:not(.gallery__item--large):not(.gallery__item--wide) img {
    aspect-ratio: 4/3;
}

/* ---------- Testimonials ---------- */
.testimonials {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--cream-light) 0%, var(--cream) 100%);
}

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

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--green-50);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--green-100);
}

.testimonial-card__quote-mark {
    font-family: 'DM Serif Display', serif;
    font-size: 4rem;
    line-height: 1;
    color: var(--green-100);
    position: absolute;
    top: 16px;
    right: 24px;
}

.testimonial-card__text {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card__avatar {
    width: 44px;
    height: 44px;
    background: var(--green-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-card__name {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.testimonial-card__location {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    padding: 100px 0;
    background: linear-gradient(135deg, 
        #0d3b1a 0%, 
        #1a5f2a 50%, 
        #1e7a35 100%
    );
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 50% at 80% 50%, rgba(74, 175, 98, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 20% 50%, rgba(45, 146, 70, 0.2) 0%, transparent 60%);
}

.cta-banner__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-banner__content {
    max-width: 560px;
}

.cta-banner__title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-banner__text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.cta-banner__actions {
    flex-shrink: 0;
}

/* ---------- Contact ---------- */
.contact {
    padding: 120px 0;
    background: var(--cream);
}

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

.contact__text {
    font-size: 1.05rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.contact__detail-icon {
    width: 48px;
    height: 48px;
    background: var(--green-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact__detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact__detail a,
.contact__detail span {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.6;
}

.contact__detail a:hover {
    color: var(--green-700);
}

/* Form */
.contact__form-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--green-50);
}

.contact__form-title {
    font-size: 1.5rem;
    margin-bottom: 28px;
    color: var(--text-dark);
}

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

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-mid);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--green-100);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--cream-light);
    transition: var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--green-500);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(45, 146, 70, 0.1);
}

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

.form-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='%236b7c72' 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-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Success Message */
.contact__success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

.contact__success.active {
    display: flex;
}

.contact__success-icon {
    width: 72px;
    height: 72px;
    background: var(--green-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.contact__success-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.contact__success p {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.7;
}

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

.footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'DM Serif Display', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
}

.footer__tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
    color: rgba(255, 255, 255, 0.6);
}

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

.footer__link-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__link-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.footer__link-group a,
.footer__link-group span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    line-height: 1.6;
}

.footer__link-group a:hover {
    color: var(--white);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ---------- Animations ---------- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about__inner {
        gap: 48px;
    }
    
    .testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials__grid .testimonial-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
    
    .footer__inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav__toggle {
        display: flex;
    }
    
    .nav__menu {
        display: none;
    }
    
    .hero {
        padding: 100px 20px 80px;
        min-height: 100svh;
    }
    
    .hero__actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero__trust {
        gap: 16px;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .about__inner {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about__image-accent {
        right: -16px;
        bottom: -16px;
    }
    
    .about__stats {
        left: -16px;
        top: -16px;
    }
    
    .about__features {
        grid-template-columns: 1fr;
    }
    
    .gallery__grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery__item--large {
        grid-row: span 1;
    }
    
    .gallery__item--large img,
    .gallery__item--wide img {
        aspect-ratio: 4/3;
    }
    
    .gallery__item--wide {
        grid-column: span 2;
    }
    
    .testimonials__grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials__grid .testimonial-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }
    
    .cta-banner__inner {
        flex-direction: column;
        text-align: center;
    }
    
    .contact__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact__form-wrapper {
        padding: 28px;
    }
    
    .footer__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer__links {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .services, .about, .gallery, .testimonials, .contact {
        padding: 80px 0;
    }
    
    .gallery__grid {
        grid-template-columns: 1fr;
    }
    
    .gallery__item--wide {
        grid-column: span 1;
    }
    
    .footer__links {
        grid-template-columns: 1fr;
    }
}
