/* ============================================
   Tattoos By John Lancer — Custom Styles
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --green-900: #0B2B1A;
    --green-800: #1B4332;
    --green-700: #2D6A4F;
    --green-600: #40916C;
    --green-500: #52B788;
    --green-400: #74C69D;
    --green-300: #95D5B2;
    --green-200: #B7E4C7;
    --green-100: #D8F3DC;
    --green-50:  #EAF5EE;
    
    --off-white: #F8F6F0;
    --off-white-2: #F0EDE4;
    --cream: #FAFAF5;
    --dark: #0D1B12;
    --text-dark: #1A1A1A;
    --text-muted: #555555;
    --text-light: #F8F6F0;
    
    --accent: #E8A838;
    --accent-light: #F5C563;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --shadow-sm: 0 2px 8px rgba(11, 43, 26, 0.08);
    --shadow-md: 0 4px 20px rgba(11, 43, 26, 0.12);
    --shadow-lg: 0 8px 40px rgba(11, 43, 26, 0.16);
    --shadow-xl: 0 16px 60px rgba(11, 43, 26, 0.20);
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

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

ul {
    list-style: none;
}

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

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 246, 240, 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(248, 246, 240, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    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: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--green-800);
}

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

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

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

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

.nav-cta {
    background: var(--green-800);
    color: var(--off-white) !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600 !important;
    transition: var(--transition);
}

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

.nav-cta:hover {
    background: var(--green-700);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.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-800);
    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(--green-800);
    position: relative;
    overflow: hidden;
    padding: 100px 24px 60px;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.geo-shape {
    position: absolute;
    opacity: 0.12;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: var(--green-500);
    top: -200px;
    right: -100px;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--accent);
    bottom: -80px;
    left: 10%;
}

.geo-square-1 {
    width: 120px;
    height: 120px;
    background: var(--green-300);
    top: 20%;
    left: 5%;
    transform: rotate(45deg);
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid var(--accent);
    top: 15%;
    right: 15%;
    opacity: 0.08;
}

.geo-dots {
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, var(--green-300) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    bottom: 25%;
    right: 5%;
    opacity: 0.3;
}

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

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(216, 243, 220, 0.15);
    border: 1px solid rgba(216, 243, 220, 0.25);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--green-200);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-400);
    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-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--off-white);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.text-accent {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--green-200);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--dark);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(232, 168, 56, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--off-white);
    border: 2px solid rgba(216, 243, 220, 0.3);
}

.btn-secondary:hover {
    border-color: var(--green-300);
    background: rgba(216, 243, 220, 0.1);
}

.btn-light {
    background: var(--off-white);
    color: var(--green-800);
}

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

.btn-outline-light {
    background: transparent;
    color: var(--off-white);
    border: 2px solid rgba(248, 246, 240, 0.4);
}

.btn-outline-light:hover {
    background: rgba(248, 246, 240, 0.1);
    border-color: var(--off-white);
}

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

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

/* --- Floating Stat Cards --- */
.hero-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.stat-card {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.stat-card--primary::before { background: var(--green-600); }
.stat-card--accent::before { background: var(--accent); }
.stat-card--dark::before { background: var(--green-800); }

.stat-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-xl);
}

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

.stat-card--primary .stat-card-icon {
    background: var(--green-100);
    color: var(--green-700);
}

.stat-card--accent .stat-card-icon {
    background: rgba(232, 168, 56, 0.15);
    color: var(--accent);
}

.stat-card--dark .stat-card-icon {
    background: var(--green-800);
    color: var(--green-200);
}

.stat-card-number {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--green-800);
}

.stat-card-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* --- Section Styles --- */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

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

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--green-800);
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

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

/* --- Services Section --- */
.services {
    padding: 100px 24px;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.section-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

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

.geo-rect-1 {
    width: 80px;
    height: 80px;
    background: var(--accent);
    opacity: 0.1;
    bottom: 10%;
    left: 5%;
    transform: rotate(30deg);
}

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

.service-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(27, 67, 50, 0.06);
}

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

.service-card-accent {
    height: 4px;
    background: linear-gradient(90deg, var(--green-600), var(--green-400));
}

.service-card:nth-child(2) .service-card-accent {
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.service-card:nth-child(3) .service-card-accent {
    background: linear-gradient(90deg, var(--green-700), var(--green-500));
}

.service-card:nth-child(4) .service-card-accent {
    background: linear-gradient(90deg, var(--green-500), var(--green-300));
}

.service-card:nth-child(5) .service-card-accent {
    background: linear-gradient(90deg, var(--accent-light), var(--accent));
}

.service-card:nth-child(6) .service-card-accent {
    background: linear-gradient(90deg, var(--green-800), var(--green-600));
}

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

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

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

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--green-800);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--green-700);
}

.service-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green-500);
    flex-shrink: 0;
}

/* --- Gallery Section --- */
.gallery {
    padding: 100px 24px;
    background: var(--green-800);
    position: relative;
    overflow: hidden;
}

.gallery .section-tag {
    background: rgba(216, 243, 220, 0.15);
    color: var(--green-300);
}

.gallery .section-title {
    color: var(--off-white);
}

.gallery .section-title .text-accent {
    color: var(--accent);
}

.gallery .section-subtitle {
    color: var(--green-200);
}

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

.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.08);
}

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

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

.gallery-overlay span {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--off-white);
    font-size: 0.95rem;
}

.gallery-item--large {
    grid-column: span 5;
    min-height: 340px;
}

.gallery-item--wide {
    grid-column: span 7;
    min-height: 220px;
}

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

.gallery-cta {
    text-align: center;
}

/* --- About Section --- */
.about {
    padding: 100px 24px;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.about-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.geo-circle-4 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: var(--green-100);
    bottom: -200px;
    left: -150px;
    opacity: 0.6;
}

.geo-square-2 {
    width: 100px;
    height: 100px;
    background: var(--accent);
    opacity: 0.08;
    top: 15%;
    right: 8%;
    transform: rotate(20deg);
}

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

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

.about-image-frame {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
}

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

.about-image-accent {
    position: absolute;
    width: 120px;
    height: 120px;
    background: var(--accent);
    border-radius: var(--radius-lg);
    bottom: -30px;
    right: -30px;
    z-index: 0;
    opacity: 0.3;
}

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

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

.about-text {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 32px;
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid rgba(27, 67, 50, 0.1);
}

.about-stat {
    text-align: left;
}

.about-stat-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-800);
}

.about-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2px;
}

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

.cta-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.geo-circle-5 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--green-600);
    top: -150px;
    left: -100px;
    opacity: 0.3;
}

.geo-diamond {
    width: 150px;
    height: 150px;
    background: var(--accent);
    opacity: 0.1;
    bottom: -40px;
    right: 10%;
    transform: rotate(45deg);
}

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

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--off-white);
    line-height: 1.15;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.05rem;
    color: var(--green-200);
    line-height: 1.7;
    margin-bottom: 36px;
}

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

/* --- Contact Section --- */
.contact {
    padding: 100px 24px;
    background: var(--off-white);
    position: relative;
}

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

.contact-info {
    max-width: 480px;
}

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

.contact-info .section-subtitle {
    margin-bottom: 36px;
}

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

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

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

.contact-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--green-800);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

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

.contact-item a:hover {
    color: var(--green-500);
}

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

/* --- Contact Form --- */
.contact-form-wrap {
    max-width: 480px;
    margin-left: auto;
}

.contact-form-card {
    background: var(--cream);
    border-radius: var(--radius-xl);
    padding: 36px;
    border: 1px solid rgba(27, 67, 50, 0.08);
    box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--green-800);
    margin-bottom: 8px;
}

.contact-form-card > p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid rgba(27, 67, 50, 0.15);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.9rem;
    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-600);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

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

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

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--green-100);
    color: var(--green-700);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.form-success h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--green-800);
    margin-bottom: 8px;
}

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

/* --- Footer --- */
.footer {
    background: var(--dark);
    color: var(--green-200);
    padding: 60px 24px 0;
}

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

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 16px;
    color: var(--green-300);
    opacity: 0.7;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--off-white);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--off-white);
    margin-bottom: 16px;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: var(--green-300);
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-contact p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 4px;
}

.footer-contact a {
    color: var(--green-300);
    opacity: 0.7;
    transition: var(--transition);
}

.footer-contact a:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.85rem;
    color: var(--green-300);
    opacity: 0.5;
}

/* --- Scroll Reveal --- */
[data-reveal] {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: no-preference) {
    [data-reveal] {
        opacity: 0;
        transform: translateY(24px);
    }
    
    [data-reveal].revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-cards {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .stat-card {
        flex: 1;
        min-width: 160px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item--large {
        grid-column: span 6;
    }
    
    .gallery-item--wide {
        grid-column: span 6;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image-frame img {
        height: 400px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(248, 246, 240, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(27, 67, 50, 0.08);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 24px 60px;
        min-height: auto;
    }
    
    .hero-cards {
        flex-direction: column;
    }
    
    .stat-card {
        min-width: auto;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-item--large,
    .gallery-item--wide {
        grid-column: span 1;
        min-height: 200px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.9rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item--large,
    .gallery-item--wide {
        grid-column: span 1;
    }
    
    .contact-form-card {
        padding: 24px;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
