/* ============================================
   Nails By Nathalys — Complete Stylesheet
   Forest Green + Off-White | Vibrant Modern
   ============================================ */

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

:root {
    --green-deep: #1B4332;
    --green-mid: #2D6A4F;
    --green-light: #40916C;
    --green-pale: #B7E4C7;
    --green-xpale: #D8F3DC;
    --cream: #FEFAE0;
    --cream-dark: #F5F0E1;
    --warm: #D4A373;
    --warm-light: #E9C46A;
    --white: #FFFFFF;
    --off-white: #FAFAF5;
    --text-dark: #1A1A1A;
    --text-mid: #4A4A4A;
    --text-light: #7A7A7A;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-sm: 0 2px 8px rgba(27, 67, 50, 0.08);
    --shadow-md: 0 8px 30px rgba(27, 67, 50, 0.12);
    --shadow-lg: 0 20px 60px rgba(27, 67, 50, 0.15);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-dark);
    background: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
    font-weight: 700;
}

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

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

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

.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-xl);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--green-deep);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(27, 67, 50, 0.3);
}

.btn-primary:hover {
    background: var(--green-mid);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(27, 67, 50, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--green-deep);
    border: 2px solid var(--green-deep);
}

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

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

/* ── Section Tags ── */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--warm);
    margin-bottom: 12px;
    background: rgba(212, 163, 115, 0.12);
    padding: 6px 16px;
    border-radius: var(--radius-xl);
}

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

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

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

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

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 245, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(250, 250, 245, 0.95);
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--green-deep);
}

.nav-logo-icon {
    color: var(--green-mid);
    display: flex;
    align-items: center;
}

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

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-mid);
    position: relative;
}

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

.nav-links a:hover {
    color: var(--green-deep);
}

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

.nav-cta {
    background: var(--green-deep);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.9rem;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--green-mid);
    color: var(--white) !important;
    transform: translateY(-1px);
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--green-deep);
    border-radius: 2px;
    transition: 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;
    background: var(--cream);
    position: relative;
    overflow: hidden;
    padding: 100px 0 60px;
}

/* Geometric decorations */
.geo-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.6;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--green-pale);
    top: -100px;
    right: -100px;
    opacity: 0.3;
}

.geo-circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--warm-light);
    bottom: 15%;
    left: 5%;
    opacity: 0.2;
}

.geo-square-1 {
    width: 120px;
    height: 120px;
    background: var(--green-light);
    top: 20%;
    left: 8%;
    opacity: 0.08;
    transform: rotate(45deg);
    border-radius: var(--radius-sm);
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid var(--warm);
    top: 30%;
    right: 5%;
    opacity: 0.1;
}

.geo-dots {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, var(--green-mid) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.15;
    bottom: 25%;
    right: 15%;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    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.85rem;
    font-weight: 600;
    color: var(--green-mid);
    background: rgba(45, 106, 79, 0.08);
    padding: 8px 18px;
    border-radius: var(--radius-xl);
    margin-bottom: 24px;
}

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

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

.hero-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--green-deep);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-headline em {
    color: var(--warm);
    position: relative;
}

.hero-headline em::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--green-pale);
    z-index: -1;
    border-radius: 3px;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

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

/* Hero visual / cards */
.hero-visual {
    position: relative;
    height: 580px;
}

.hero-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: absolute;
    box-shadow: var(--shadow-lg);
}

.hero-card-main {
    width: 340px;
    height: 440px;
    top: 40px;
    right: 0;
    z-index: 2;
}

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

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27, 67, 50, 0.3) 0%, transparent 50%);
}

/* Floating stat cards */
.float-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-md);
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.float-card-1 {
    bottom: 80px;
    left: -20px;
    animation: float1 4s ease-in-out infinite;
}

.float-card-2 {
    top: 0;
    left: 20px;
    animation: float2 5s ease-in-out infinite;
}

.float-card-3 {
    bottom: 10px;
    right: -10px;
    animation: float3 4.5s ease-in-out infinite;
}

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

@keyframes float2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(1deg); }
}

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

.float-card-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-deep);
}

.float-card-label {
    font-size: 0.78rem;
    color: var(--text-light);
    font-weight: 500;
}

.float-card-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 2px;
}

/* Hero wave */
.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    color: var(--off-white);
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* ── Services Section ── */
.services {
    padding: 100px 0;
    background: var(--off-white);
}

.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;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(27, 67, 50, 0.06);
}

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

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

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

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

.service-card:hover .service-icon {
    background: var(--green-deep);
    color: var(--white);
    transform: scale(1.05);
}

.service-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--green-deep);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.92rem;
    color: var(--text-mid);
    line-height: 1.65;
}

.service-card-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: var(--green-xpale);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .service-card-accent {
    opacity: 0.5;
}

/* ── About Section ── */
.about {
    padding: 100px 0;
    background: var(--green-deep);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: var(--green-mid);
    border-radius: 50%;
    opacity: 0.15;
}

.about::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: var(--warm);
    border-radius: 50%;
    opacity: 0.08;
}

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

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

.about-visual {
    position: relative;
}

.about-img-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

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

.about-img-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--warm);
    border-radius: var(--radius-lg);
    z-index: 0;
    opacity: 0.4;
}

.about-stats-row {
    display: flex;
    gap: 24px;
    margin-top: -40px;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.about-stat {
    flex: 1;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.about-stat-num {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--green-deep);
}

.about-stat-label {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.4;
    margin-top: 4px;
}

.about-content .section-tag {
    background: rgba(212, 163, 115, 0.2);
}

.about-content .section-title {
    color: var(--white);
    text-align: left;
}

.about-content .section-title em {
    color: var(--warm);
}

.about-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    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: 12px;
}

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

.about-feature span:last-child {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

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

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

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27, 67, 50, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    transform: translateY(10px);
    transition: var(--transition);
}

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

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

.gallery-item-1 { grid-column: 1 / 6; grid-row: 1 / 2; }
.gallery-item-2 { grid-column: 5 / 9; grid-row: 1 / 2; }
.gallery-item-3 { grid-column: 8 / 13; grid-row: 1 / 2; }
.gallery-item-4 { grid-column: 1 / 5; grid-row: 2 / 3; }
.gallery-item-5 { grid-column: 4 / 13; grid-row: 2 / 3; }

/* ── Testimonials Section ── */
.testimonials {
    padding: 100px 0;
    background: var(--off-white);
}

.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;
    border: 1px solid rgba(27, 67, 50, 0.06);
    transition: var(--transition);
    position: relative;
}

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

.testimonial-quote {
    margin-bottom: 20px;
}

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

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

.author-avatar {
    width: 40px;
    height: 40px;
    background: var(--green-xpale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-mid);
}

.author-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--green-deep);
}

/* ── Contact Section ── */
.contact {
    padding: 100px 0;
    background: var(--green-deep);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: var(--green-mid);
    border-radius: 50%;
    opacity: 0.1;
}

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

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

.contact-info .section-tag {
    background: rgba(212, 163, 115, 0.2);
}

.contact-info .section-title {
    color: var(--white);
    text-align: left;
}

.contact-info .section-title em {
    color: var(--warm);
}

.contact-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 40px;
}

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

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

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--warm);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.contact-value {
    display: block;
    font-size: 1rem;
    color: var(--white);
    font-weight: 500;
    line-height: 1.5;
}

.contact-value a:hover {
    color: var(--warm);
}

/* Contact form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-size: 1.5rem;
    color: var(--green-deep);
    margin-bottom: 28px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(27, 67, 50, 0.12);
    border-radius: var(--radius-sm);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--off-white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green-mid);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.08);
}

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

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

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

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

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

.form-success h4 {
    font-size: 1.4rem;
    color: var(--green-deep);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-mid);
    font-size: 0.95rem;
}

/* ── Map Section ── */
.map-section {
    height: 350px;
    filter: saturate(0.7) contrast(1.05);
    transition: var(--transition);
}

.map-section:hover {
    filter: saturate(1) contrast(1);
}

/* ── Footer ── */
.footer {
    background: var(--text-dark);
    padding: 60px 0 0;
}

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 16px;
}

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

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

.footer-links a:hover {
    color: var(--warm);
    padding-left: 4px;
}

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

.footer-contact p,
.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.82rem;
}

/* ── Animations ── */
[data-anim] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Stagger delays */
[data-anim="fade-up"]:nth-child(1) { transition-delay: 0.05s; }
[data-anim="fade-up"]:nth-child(2) { transition-delay: 0.1s; }
[data-anim="fade-up"]:nth-child(3) { transition-delay: 0.15s; }
[data-anim="fade-up"]:nth-child(4) { transition-delay: 0.2s; }
[data-anim="fade-up"]:nth-child(5) { transition-delay: 0.25s; }
[data-anim="fade-up"]:nth-child(6) { transition-delay: 0.3s; }

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

    .hero-sub {
        margin: 0 auto 36px;
    }

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

    .hero-visual {
        height: 450px;
        max-width: 420px;
        margin: 0 auto;
    }

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

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

    .about-content .section-title {
        text-align: center;
    }

    .about-content .section-tag {
        display: block;
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

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

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

    .contact-info .section-title {
        text-align: center;
    }

    .contact-info .section-tag {
        display: block;
        text-align: center;
    }

    .contact-desc {
        text-align: center;
    }

    .contact-details {
        align-items: center;
    }

    .contact-item {
        max-width: 400px;
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 250, 245, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
        transform: translateY(-120%);
        transition: var(--transition);
        border-bottom: 1px solid rgba(27, 67, 50, 0.08);
        box-shadow: var(--shadow-md);
    }

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

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 0 80px;
        min-height: auto;
    }

    .hero-visual {
        height: 380px;
    }

    .hero-card-main {
        width: 260px;
        height: 340px;
    }

    .float-card {
        padding: 12px 16px;
    }

    .float-card-number {
        font-size: 1.2rem;
    }

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

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

    .gallery-item-1,
    .gallery-item-2,
    .gallery-item-3,
    .gallery-item-4,
    .gallery-item-5 {
        grid-column: auto;
        grid-row: auto;
    }

    .gallery-item {
        height: 220px;
    }

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

    .about-stats-row {
        flex-direction: column;
        margin-top: 24px;
    }

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

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

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

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

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
    }

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

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

    .hero-visual {
        height: 320px;
    }

    .hero-card-main {
        width: 220px;
        height: 280px;
    }

    .float-card {
        display: none;
    }

    .float-card-1,
    .float-card-2,
    .float-card-3 {
        display: flex;
    }

    /* Show all on mobile */
    .float-card { display: flex; }
    .float-card-1 { bottom: 60px; left: 0; }
    .float-card-2 { top: 0; left: 10px; }
    .float-card-3 { bottom: 0; right: 0; }

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