/* ============================================
   R B & Glo's Handyman — Custom Styles
   ============================================ */

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

:root {
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    
    --cream-50: #fefdf8;
    --cream-100: #fef9ef;
    --cream-200: #fdf0d5;
    --cream-300: #f5e6c8;
    
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-300: #d6d3d1;
    --stone-400: #a8a29e;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;
    
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.09), 0 4px 12px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 48px rgba(0,0,0,0.11), 0 8px 16px rgba(0,0,0,0.06);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--stone-800);
    background-color: var(--cream-50);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    color: var(--stone-900);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--emerald-700);
    color: #fff;
    border-color: var(--emerald-700);
}

.btn-primary:hover {
    background: var(--emerald-800);
    border-color: var(--emerald-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--emerald-700);
    border-color: var(--emerald-700);
}

.btn-secondary:hover {
    background: var(--emerald-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-light {
    background: #fff;
    color: var(--emerald-700);
    border-color: #fff;
}

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

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

.btn-outline-light:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    transform: translateY(-2px);
}

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

/* --- Section Headers --- */
.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--emerald-600);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 4vw, 48px);
    margin-bottom: 16px;
    color: var(--stone-900);
}

.section-desc {
    font-size: 17px;
    color: var(--stone-500);
    max-width: 560px;
    line-height: 1.7;
}

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

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

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

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.35s ease;
}

.navbar.scrolled {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06), var(--shadow-sm);
    padding: 10px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--emerald-700);
}

.logo-icon {
    color: var(--emerald-700);
}

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

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--stone-600);
    transition: color 0.2s;
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: var(--emerald-700);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--emerald-600);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.btn-nav {
    padding: 10px 22px;
    font-size: 14px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--stone-700);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cream-50) 0%, var(--cream-100) 50%, var(--emerald-50) 100%);
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(4, 120, 87, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(4, 120, 87, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

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

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--emerald-100);
    color: var(--emerald-700);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--stone-900);
}

.hero-title em {
    font-style: italic;
    color: var(--emerald-700);
}

.hero-description {
    font-size: 18px;
    line-height: 1.75;
    color: var(--stone-500);
    margin-bottom: 36px;
}

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

.hero-trust {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--stone-600);
}

.trust-item svg {
    color: var(--emerald-600);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.hero-image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
}

.hero-image-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.hero-image-float {
    position: absolute;
    bottom: -30px;
    left: -40px;
    z-index: 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image-float img {
    width: 280px;
    height: 210px;
    object-fit: cover;
}

.float-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: var(--emerald-700);
    color: #fff;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    text-align: center;
}

.float-badge-number {
    display: block;
    font-family: var(--font-display);
    font-size: 28px;
    line-height: 1;
}

.float-badge-label {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.85;
    line-height: 1.3;
}

.hero-accent-shape {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--emerald-200);
    border-radius: 50%;
    opacity: 0.4;
    z-index: 1;
}

/* --- Services Section --- */
.services {
    padding: 100px 0;
    background: #fff;
}

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

.service-card {
    background: var(--cream-50);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--emerald-200);
    background: #fff;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--emerald-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--emerald-700);
    color: #fff;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-family: var(--font-body);
    font-weight: 700;
}

.service-card p {
    font-size: 15px;
    color: var(--stone-500);
    line-height: 1.7;
}

/* --- About Section --- */
.about {
    padding: 100px 0;
    background: var(--cream-50);
}

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

.about-visual {
    position: relative;
}

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

.about-img-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -30px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 6px solid var(--cream-50);
}

.about-img-secondary img {
    width: 240px;
    height: 200px;
    object-fit: cover;
}

.about-stats {
    position: absolute;
    top: -20px;
    right: 40px;
    background: var(--emerald-700);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-lg);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 32px;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    opacity: 0.8;
    line-height: 1.3;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.25);
}

.about-content {
    max-width: 480px;
}

.about-text {
    font-size: 16px;
    color: var(--stone-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--stone-700);
}

.feature-check {
    width: 24px;
    height: 24px;
    background: var(--emerald-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    flex-shrink: 0;
}

.about-content .btn {
    margin-top: 8px;
}

/* --- Gallery Section --- */
.gallery {
    padding: 100px 0;
    background: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 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: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 80, 59, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-overlay span {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.gallery-item--large {
    grid-column: 1 / 8;
    grid-row: 1 / 2;
}

.gallery-item--large img {
    height: 380px;
}

.gallery-item:not(.gallery-item--large):not(.gallery-item--wide) {
    grid-row: span 1;
}

.gallery-item:not(.gallery-item--large) img {
    height: 220px;
}

.gallery-item--wide {
    grid-column: 7 / 13;
    grid-row: 2 / 3;
}

.gallery-item--wide img {
    height: 220px;
}

/* --- Testimonials Section --- */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--emerald-800) 0%, var(--emerald-900) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 30% 70%, rgba(255,255,255,0.03) 0%, transparent 60%);
    pointer-events: none;
}

.testimonials .section-tag {
    color: var(--emerald-200);
}

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

.testimonials .section-desc {
    color: var(--emerald-200);
}

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

.testimonial-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-4px);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    color: #fbbf24;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--emerald-600);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: #fff;
    font-size: 15px;
}

.author-location {
    font-size: 13px;
    color: var(--emerald-300);
}

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

.cta-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255,255,255,0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255,255,255,0.05) 0%, transparent 40%);
    pointer-events: none;
}

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

.cta-content {
    flex: 1;
    min-width: 280px;
}

.cta-title {
    font-size: clamp(28px, 4vw, 44px);
    color: #fff;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 17px;
    color: var(--emerald-200);
    line-height: 1.7;
    max-width: 480px;
}

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

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

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

.contact-desc {
    font-size: 16px;
    color: var(--stone-500);
    line-height: 1.7;
    margin-bottom: 40px;
}

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

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

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--emerald-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--stone-400);
    margin-bottom: 4px;
}

.contact-value {
    font-size: 16px;
    font-weight: 500;
    color: var(--stone-700);
    line-height: 1.5;
}

.contact-value a {
    color: var(--emerald-700);
    transition: color 0.2s;
}

.contact-value a:hover {
    color: var(--emerald-500);
    text-decoration: underline;
}

.contact-hours {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: #fff;
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--stone-600);
    box-shadow: var(--shadow-sm);
}

.contact-hours svg {
    color: var(--emerald-600);
    flex-shrink: 0;
}

.contact-hours span {
    margin-right: 16px;
}

/* Contact Form */
.contact-form-wrapper {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--stone-100);
}

.form-title {
    font-size: 24px;
    margin-bottom: 8px;
}

.form-desc {
    font-size: 15px;
    color: var(--stone-500);
    margin-bottom: 28px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--stone-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--stone-200);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--stone-800);
    background: var(--cream-50);
    transition: all 0.2s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald-500);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

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

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

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--emerald-700);
}

.form-success p {
    font-size: 15px;
    color: var(--stone-500);
    line-height: 1.7;
}

.form-success a {
    color: var(--emerald-700);
    font-weight: 600;
}

/* --- Footer --- */
.footer {
    background: var(--stone-900);
    color: var(--stone-400);
    padding: 64px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer .logo {
    color: var(--emerald-400);
    margin-bottom: 16px;
}

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

.footer-brand p {
    font-size: 15px;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--stone-200);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 15px;
    color: var(--stone-400);
    transition: color 0.2s;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact p {
    font-size: 15px;
    line-height: 1.6;
}

.footer-contact a {
    color: var(--stone-400);
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: var(--emerald-400);
}

.footer-bottom {
    border-top: 1px solid var(--stone-800);
    padding: 24px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--stone-500);
}

/* --- Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* --- Mobile Menu --- */
.nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(254, 253, 248, 0.98);
    backdrop-filter: blur(12px);
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--stone-100);
}

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

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

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-visual {
        justify-content: center;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-content {
        max-width: 100%;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-image-float {
        left: -10px;
        bottom: -20px;
    }
    
    .hero-image-float img {
        width: 200px;
        height: 160px;
    }
    
    .hero-image-main img {
        height: 380px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-img-secondary {
        right: -10px;
        bottom: -20px;
    }
    
    .about-img-secondary img {
        width: 180px;
        height: 150px;
    }
    
    .about-stats {
        top: -10px;
        right: 10px;
        padding: 16px 20px;
        gap: 14px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item--large,
    .gallery-item--wide {
        grid-column: 1 / -1;
    }
    
    .gallery-item--large img,
    .gallery-item--wide img {
        height: 260px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }
    
    .cta-container {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-actions {
        justify-content: center;
    }
    
    .contact-form-wrapper {
        padding: 28px 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-trust {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-lg {
        padding: 16px 28px;
        font-size: 15px;
    }
}
