/* ============================================
   West Texas Millwork — Custom Styles
   Forest Green + Off-White Palette
   ============================================ */

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

:root {
    --green-900: #1a3a26;
    --green-800: #2D5A3D;
    --green-700: #3d7a52;
    --green-600: #4a9462;
    --green-500: #5ba872;
    --green-400: #7bc494;
    --green-300: #a8d4b8;
    --green-200: #d0e8d8;
    --green-100: #e8f4ec;
    --green-50:  #f2f9f4;
    
    --cream-50:  #fefdfb;
    --cream-100: #faf8f4;
    --cream-200: #f5f2ec;
    --cream-300: #ebe6dc;
    --cream-400: #d4cfc4;
    
    --text-900:  #1a1a18;
    --text-800:  #2d2d2a;
    --text-700:  #42423f;
    --text-600:  #5c5c58;
    --text-500:  #787873;
    --text-400:  #989690;
    --text-300:  #b8b5ad;
    
    --radius-sm:  8px;
    --radius-md:  12px;
    --radius-lg:  20px;
    --radius-xl:  28px;
    --radius-full: 9999px;
    
    --shadow-sm:  0 1px 3px rgba(26,58,38,0.06), 0 1px 2px rgba(26,58,38,0.04);
    --shadow-md:  0 4px 16px rgba(26,58,38,0.08), 0 2px 6px rgba(26,58,38,0.04);
    --shadow-lg:  0 12px 40px rgba(26,58,38,0.12), 0 4px 12px rgba(26,58,38,0.06);
    --shadow-xl:  0 24px 60px rgba(26,58,38,0.16), 0 8px 20px rgba(26,58,38,0.08);
    
    --font-serif: 'DM Serif Display', Georgia, serif;
    --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-800);
    background: var(--cream-50);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

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

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

.container {
    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-full);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.938rem;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--green-800);
    color: white;
    box-shadow: 0 4px 14px rgba(45,90,61,0.35);
}

.btn--primary:hover {
    background: var(--green-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45,90,61,0.4);
}

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

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

.btn--light {
    background: var(--green-400);
    color: var(--green-900);
    font-weight: 700;
}

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

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

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

.btn--full {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
}

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254,253,251,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(45,90,61,0.08);
    transition: all var(--transition);
}

.nav.scrolled {
    background: rgba(254,253,251,0.95);
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--green-800);
    font-weight: 400;
}

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

.nav-dot {
    color: var(--green-500);
    font-weight: 700;
}

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

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

.nav-link:hover {
    color: var(--green-800);
    background: var(--green-50);
}

.nav-link--cta {
    background: var(--green-800);
    color: white;
    margin-left: 8px;
}

.nav-link--cta:hover {
    background: var(--green-700);
    color: white;
}

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

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--green-800);
    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 ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 24px 60px;
    background: linear-gradient(160deg, var(--cream-50) 0%, var(--green-50) 50%, var(--cream-100) 100%);
    position: relative;
    overflow: hidden;
}

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

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    width: 100%;
}

/* Floating Cards */
.float-card {
    position: absolute;
    background: white;
    border-radius: var(--radius-lg);
    padding: 16px 22px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
    animation: float 6s ease-in-out infinite;
}

.float-card--top {
    top: -10px;
    left: -20px;
    animation-delay: 0s;
}

.float-card--right {
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    animation-delay: 2s;
}

.float-card-icon {
    color: var(--green-600);
    flex-shrink: 0;
}

.float-card-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--green-800);
    line-height: 1.2;
}

.float-card-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-500);
    line-height: 1.3;
}

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

.float-card--right {
    animation-name: floatRight;
}

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

/* Hero Card */
.hero-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 48px 44px;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 5;
}

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

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

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

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    line-height: 1.25;
    color: var(--text-900);
    margin-bottom: 20px;
}

.hero-subheadline {
    font-size: 1.05rem;
    color: var(--text-600);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-trust {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-600);
}

.hero-trust-item svg {
    color: var(--green-600);
    flex-shrink: 0;
}

/* Hero Image Card */
.hero-image-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    z-index: 5;
}

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

.hero-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(26,58,38,0.8) 0%, transparent 100%);
}

.hero-image-stat {
    display: flex;
    flex-direction: column;
}

.hero-image-stat-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: white;
}

.hero-image-stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
}

/* ---------- Section Shared ---------- */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    background: var(--green-100);
    color: var(--green-800);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--text-900);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-500);
    line-height: 1.7;
}

/* ---------- Services ---------- */
.services {
    padding: 100px 24px;
    background: var(--cream-50);
}

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

.service-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

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

.service-card-img {
    overflow: hidden;
    height: 200px;
}

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

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

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

.service-card-icon {
    width: 52px;
    height: 52px;
    background: var(--green-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-800);
    margin-bottom: 18px;
}

.service-card-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--text-900);
    margin-bottom: 10px;
}

.service-card-desc {
    font-size: 0.925rem;
    color: var(--text-600);
    line-height: 1.65;
}

/* ---------- About ---------- */
.about {
    padding: 100px 24px;
    background: var(--green-50);
}

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

.about-images {
    position: relative;
}

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

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

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

.about-img-float img {
    width: 320px;
    height: 240px;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--green-800);
    color: white;
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-exp-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.1rem;
}

.about-exp-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-text {
    font-size: 1rem;
    color: var(--text-600);
    line-height: 1.75;
    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: 12px;
    font-size: 0.9rem;
    color: var(--text-700);
}

.about-feature-icon {
    width: 32px;
    height: 32px;
    background: var(--green-200);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-800);
    flex-shrink: 0;
}

/* ---------- Gallery ---------- */
.gallery {
    padding: 100px 24px;
    background: var(--cream-50);
}

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

.gallery-item {
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.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(26,58,38,0.7) 0%, transparent 60%);
    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 {
    color: white;
    font-family: var(--font-serif);
    font-size: 1.15rem;
}

.gallery-item--large {
    grid-column: span 7;
    height: 380px;
}

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

/* ---------- Testimonials ---------- */
.testimonials {
    padding: 100px 24px;
    background: var(--cream-100);
}

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

.testimonial-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

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

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

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-600);
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
}

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

.testimonial-author-avatar {
    width: 44px;
    height: 44px;
    background: var(--green-100);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-700);
    flex-shrink: 0;
}

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

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

/* ---------- CTA ---------- */
.cta {
    padding: 80px 24px;
    background: var(--green-800);
    position: relative;
    overflow: hidden;
}

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

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

.cta .section-tag {
    background: rgba(255,255,255,0.15);
    color: var(--green-200);
}

.cta-title {
    color: white;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

.contact-info .section-tag {
    margin-bottom: 16px;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.contact-text {
    font-size: 1rem;
    color: var(--text-600);
    line-height: 1.75;
    margin-bottom: 36px;
}

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

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

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

.contact-detail-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.contact-detail-value {
    display: block;
    font-size: 0.95rem;
    color: var(--text-800);
    line-height: 1.5;
}

.contact-detail-value a {
    color: var(--green-700);
    transition: color var(--transition);
}

.contact-detail-value a:hover {
    color: var(--green-800);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Contact Form */
.contact-form-wrapper {
    background: transparent;
}

.contact-form-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 44px;
    box-shadow: var(--shadow-lg);
}

.contact-form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--text-900);
    margin-bottom: 8px;
}

.contact-form-subtitle {
    font-size: 0.9rem;
    color: var(--text-500);
    margin-bottom: 28px;
}

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

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

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-700);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--cream-300);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 0.925rem;
    color: var(--text-900);
    background: var(--cream-50);
    transition: all var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--green-500);
    background: white;
    box-shadow: 0 0 0 4px rgba(91,168,114,0.12);
}

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

.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='%23787873' stroke-width='2.5' 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 14px center;
    padding-right: 40px;
    cursor: pointer;
}

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

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

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

.form-success-icon {
    width: 72px;
    height: 72px;
    background: var(--green-100);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--green-700);
}

.form-success-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--text-900);
    margin-bottom: 8px;
}

.form-success-text {
    font-size: 0.95rem;
    color: var(--text-500);
    line-height: 1.6;
}

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

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 56px;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: white;
    margin-bottom: 16px;
}

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

.footer-dot {
    color: var(--green-500);
    font-weight: 700;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-heading {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact-list {
    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: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: white;
}

.footer-contact span {
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

/* ---------- Scroll Animations ---------- */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image-card {
        max-width: 560px;
    }

    .float-card--top {
        left: 10px;
    }

    .float-card--right {
        right: 10px;
    }

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

    .about-grid {
        gap: 48px;
    }

    .about-img-float {
        right: -20px;
        bottom: -30px;
    }

    .gallery-item--large {
        grid-column: span 12;
        height: 320px;
    }

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

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

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(254,253,251,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        border-bottom: 1px solid rgba(45,90,61,0.08);
        transform: translateY(-120%);
        transition: transform var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-link--cta {
        margin-left: 0;
        text-align: center;
    }

    .hero {
        padding: 100px 24px 60px;
        min-height: auto;
    }

    .hero-card {
        padding: 32px 28px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        justify-content: center;
    }

    .float-card {
        display: none;
    }

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

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

    .about-img-main img {
        height: 400px;
    }

    .about-img-float {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 16px;
        border: 4px solid var(--green-50);
    }

    .about-img-float img {
        width: 100%;
        height: 200px;
    }

    .about-experience-badge {
        top: 16px;
        left: 16px;
    }

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

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

    .gallery-item--large,
    .gallery-item:not(.gallery-item--large) {
        grid-column: span 1;
        height: 240px;
    }

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

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .contact-form-card {
        padding: 28px;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-card {
        padding: 24px 20px;
    }

    .hero-headline {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .service-card-body {
        padding: 20px;
    }
}
