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

:root {
    --emerald-950: #022C22;
    --emerald-900: #042F26;
    --emerald-800: #064E3B;
    --emerald-700: #065F46;
    --emerald-600: #047857;
    --emerald-500: #059669;
    --emerald-400: #10B981;
    --emerald-100: #D1FAE5;
    --emerald-50:  #ECFDF5;
    --cream-50:   #FAFAF5;
    --cream-100:  #F5F5E8;
    --cream-200:  #EDEDE0;
    --cream-300:  #E8E8D8;
    --neutral-900: #111827;
    --neutral-800: #1F2937;
    --neutral-700: #374151;
    --neutral-600: #4B5563;
    --neutral-500: #6B7280;
    --neutral-400: #9CA3AF;
    --neutral-200: #E5E7EB;
    --neutral-100: #F3F4F6;
    --white: #FFFFFF;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans:  'Inter', system-ui, sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15), 0 8px 20px rgba(0,0,0,0.08);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--neutral-800);
    background: var(--cream-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

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

.skip-link {
    position: absolute; top: -100%; left: 16px;
    background: var(--emerald-700); color: var(--white);
    padding: 8px 16px; border-radius: var(--radius-sm);
    z-index: 9999; font-size: 0.875rem;
}
.skip-link:focus { top: 16px; }

/* ─── Header ─── */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(250, 250, 245, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--cream-200);
    transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-serif); font-size: 1.2rem; font-weight: 700;
    color: var(--emerald-900);
}
.logo-icon { color: var(--emerald-600); flex-shrink: 0; }
.logo-accent { color: var(--emerald-600); }

.logo-light { color: var(--white); }
.logo-light .logo-accent { color: var(--emerald-300); }

/* ─── Nav ─── */
.nav-list {
    display: flex; align-items: center; gap: 32px;
}
.nav-list a {
    font-size: 0.9rem; font-weight: 500; color: var(--neutral-700);
    transition: color var(--transition); position: relative;
}
.nav-list a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--emerald-600);
    transition: width var(--transition);
}
.nav-list a:hover { color: var(--emerald-700); }
.nav-list a:hover::after { width: 100%; }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    width: 28px; padding: 4px 0;
}
.hamburger, .hamburger::before, .hamburger::after {
    display: block; width: 100%; height: 2px;
    background: var(--neutral-800); border-radius: 2px;
    transition: var(--transition);
}
.hamburger::before, .hamburger::after {
    content: ''; position: absolute; left: 0;
}
.hamburger::before { top: -6px; }
.hamburger::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { transform: rotate(45deg) translateY(6px); }
.nav-toggle[aria-expanded="true"] .hamburger::after  { transform: rotate(-45deg) translateY(-6px); }

/* ─── Buttons ─── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600; font-size: 0.9rem;
    padding: 12px 24px; border-radius: var(--radius-sm);
    transition: all var(--transition); white-space: nowrap;
}
.btn-primary {
    background: var(--emerald-600); color: var(--white);
    box-shadow: 0 2px 8px rgba(4,120,87,0.3);
}
.btn-primary:hover {
    background: var(--emerald-700);
    box-shadow: 0 4px 16px rgba(4,120,87,0.4);
    transform: translateY(-1px);
}
.btn-outline-light {
    background: transparent; color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
    background: var(--white); color: var(--emerald-900);
    border-color: var(--white);
}
.btn-accent {
    background: var(--emerald-600); color: var(--white);
    padding: 10px 20px; font-size: 0.85rem;
}
.btn-accent:hover { background: var(--emerald-700); }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; padding: 16px; }

/* ─── Hero ─── */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    background: var(--emerald-950);
    overflow: hidden; padding: 100px 0 80px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.2; }
.hero-pattern {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 50%, rgba(4,120,87,0.4) 0%, transparent 70%),
        radial-gradient(ellipse 50% 80% at 20% 80%, rgba(6,79,70,0.5) 0%, transparent 60%),
        linear-gradient(135deg, var(--emerald-950) 0%, #031F18 50%, var(--emerald-900) 100%);
}

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

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(209,250,229,0.12); border: 1px solid rgba(209,250,229,0.2);
    color: var(--emerald-100); font-size: 0.8rem; font-weight: 600;
    padding: 8px 16px; border-radius: 100px; margin-bottom: 24px;
    letter-spacing: 0.04em; text-transform: uppercase;
}
.hero-badge svg { color: var(--emerald-400); }

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 800; line-height: 1.1;
    color: var(--white); margin-bottom: 24px;
}
.hero-accent {
    display: block;
    background: linear-gradient(135deg, var(--emerald-300), var(--emerald-400));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.1rem; line-height: 1.7; color: rgba(255,255,255,0.75);
    max-width: 480px; margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero visual + stat cards */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-card-main {
    border-radius: var(--radius-xl); overflow: hidden;
    box-shadow: var(--shadow-xl);
    width: 100%; max-width: 420px;
    aspect-ratio: 5/6.2;
}
.hero-card-main img { width: 100%; height: 100%; object-fit: cover; }

.stat-card {
    position: absolute; background: var(--white);
    border-radius: var(--radius-md); padding: 16px 20px;
    box-shadow: var(--shadow-lg); z-index: 2;
}
.stat-number {
    display: block; font-family: var(--font-serif);
    font-size: 1.5rem; font-weight: 700; color: var(--emerald-700);
    line-height: 1;
}
.stat-label {
    display: block; font-size: 0.75rem; font-weight: 500;
    color: var(--neutral-500); margin-top: 4px;
}
.stat-card--1 { bottom: 60px; left: -30px; }
.stat-card--2 { top: 40px; right: -20px; }
.stat-card--3 { bottom: 10px; right: -10px; }

.hero-scroll {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    color: rgba(255,255,255,0.4); font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    animation: float 2.4s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* ─── Section shared ─── */
.section-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.12em; color: var(--emerald-600); margin-bottom: 12px;
}
.section-label::before {
    content: ''; width: 24px; height: 2px;
    background: var(--emerald-500); border-radius: 2px;
}
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700; line-height: 1.15;
    color: var(--neutral-900); margin-bottom: 20px;
}
.section-accent {
    color: var(--emerald-700);
}

/* ─── Services ─── */
.services { padding: 100px 0; background: var(--cream-50); }
.services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    margin-top: 48px;
}
.service-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 36px 28px; border: 1px solid var(--cream-200);
    transition: all var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: linear-gradient(90deg, var(--emerald-500), var(--emerald-400));
    transform: scaleX(0); transform-origin: left;
    transition: transform var(--transition);
}
.service-card:hover {
    box-shadow: var(--shadow-lg); transform: translateY(-4px);
    border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 56px; height: 56px; border-radius: var(--radius-md);
    background: var(--emerald-50); color: var(--emerald-700);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; transition: all var(--transition);
}
.service-card:hover .service-icon { background: var(--emerald-600); color: var(--white); }
.service-name {
    font-family: var(--font-serif); font-size: 1.2rem;
    font-weight: 700; color: var(--neutral-900); margin-bottom: 10px;
}
.service-card p { font-size: 0.92rem; color: var(--neutral-600); line-height: 1.7; }

/* ─── About ─── */
.about { padding: 100px 0; background: var(--white); }
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
    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: 480px; object-fit: cover; }
.about-accent-box {
    position: absolute; bottom: -24px; right: -24px;
    background: var(--emerald-700); color: var(--white);
    padding: 24px 28px; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.about-accent-box .accent-number {
    display: block; font-size: 0.75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.7;
}
.about-accent-box .accent-year {
    display: block; font-family: var(--font-serif);
    font-size: 1.6rem; font-weight: 700;
}
.about-accent-box .accent-desc {
    display: block; font-size: 0.8rem; margin-top: 4px; opacity: 0.8;
}

.about-content .section-title { margin-bottom: 24px; }
.about-text {
    font-size: 1rem; color: var(--neutral-600); line-height: 1.8;
    margin-bottom: 16px;
}
.about-features { margin-top: 32px; display: grid; gap: 16px; }
.about-feature {
    display: flex; align-items: center; gap: 14px;
    font-size: 0.95rem; color: var(--neutral-700); font-weight: 500;
}
.check-icon { color: var(--emerald-600); flex-shrink: 0; }

/* ─── Gallery ─── */
.gallery { padding: 100px 0; background: var(--cream-100); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: 16px; margin-top: 48px;
}
.gallery-item {
    position: relative; border-radius: var(--radius-md); overflow: hidden;
    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-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(2,44,34,0.85) 0%, transparent 60%);
    display: flex; align-items: flex-end; padding: 20px;
    opacity: 0; transition: opacity var(--transition);
}
.gallery-overlay span {
    color: var(--white); font-weight: 600; font-size: 0.9rem;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover .gallery-overlay { opacity: 1; }

.gi-1 { grid-column: span 4; grid-row: span 2; }
.gi-2 { grid-column: span 4; }
.gi-3 { grid-column: span 4; }
.gi-4 { grid-column: span 5; grid-row: span 2; }
.gi-5 { grid-column: span 7; }

/* ─── Contact ─── */
.contact { padding: 100px 0; background: var(--emerald-950); }
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
    align-items: start;
}
.contact .section-title { color: var(--white); }
.contact .section-accent { color: var(--emerald-400); }
.contact-text {
    font-size: 1rem; color: rgba(255,255,255,0.65);
    line-height: 1.8; margin-bottom: 36px;
}
.contact-details { display: grid; gap: 24px; margin-bottom: 32px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon {
    width: 44px; height: 44px; border-radius: var(--radius-sm);
    background: rgba(209,250,229,0.1); color: var(--emerald-400);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.contact-label {
    display: block; font-size: 0.75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: rgba(255,255,255,0.45); margin-bottom: 2px;
}
.contact-value {
    display: block; font-size: 1rem; font-weight: 500;
    color: var(--white);
}
.contact-link {
    transition: color var(--transition);
}
.contact-link:hover { color: var(--emerald-400); }

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

/* Form */
.form-card {
    background: var(--white); border-radius: var(--radius-xl);
    padding: 40px; box-shadow: var(--shadow-xl);
}
.form-title {
    font-family: var(--font-serif); font-size: 1.5rem;
    font-weight: 700; color: var(--neutral-900); margin-bottom: 8px;
}
.form-subtitle { font-size: 0.9rem; color: var(--neutral-500); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; font-size: 0.82rem; font-weight: 600;
    color: var(--neutral-700); margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 12px 14px;
    border: 1.5px solid var(--neutral-200); border-radius: var(--radius-sm);
    font-family: var(--font-sans); font-size: 0.95rem;
    color: var(--neutral-900); background: var(--cream-50);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald-500);
    box-shadow: 0 0 0 3px rgba(5,150,105,0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--neutral-400); }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-success {
    text-align: center; padding: 40px 20px;
}
.form-success h4 {
    font-family: var(--font-serif); font-size: 1.4rem;
    color: var(--neutral-900); margin: 16px 0 8px;
}
.form-success p { color: var(--neutral-600); font-size: 0.95rem; }
.form-success svg { margin: 0 auto; }

/* ─── Footer ─── */
.site-footer {
    background: var(--neutral-900); color: rgba(255,255,255,0.6);
    padding: 64px 0 0;
}
.footer-inner {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px;
    padding-bottom: 48px;
}
.footer-tagline {
    font-size: 0.9rem; line-height: 1.7; margin-top: 16px;
    max-width: 280px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
    font-size: 0.9rem; color: rgba(255,255,255,0.55);
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--emerald-400); }
.footer-address p { font-size: 0.9rem; margin-bottom: 4px; }
.footer-email { color: var(--emerald-400); transition: opacity var(--transition); }
.footer-email:hover { opacity: 0.8; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
}
.footer-bottom p {
    font-size: 0.82rem; color: rgba(255,255,255,0.35); text-align: center;
}

/* ─── Scroll to top ─── */
.scroll-top {
    position: fixed; bottom: 32px; right: 32px;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--emerald-700); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-lg); z-index: 900;
    transition: all var(--transition);
}
.scroll-top:hover { background: var(--emerald-600); transform: translateY(-2px); }
.scroll-top svg { color: var(--white); }

/* ─── Reveal ─── */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal[data-state="hidden"] {
    opacity: 0;
    transform: translateY(24px);
}
@media (prefers-reduced-motion: no-preference) {
    .reveal { transition: opacity 0.7s ease, transform 0.7s ease; }
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { order: -1; }
    .hero-card-main { max-width: 360px; margin: 0 auto; }
    .stat-card--1 { left: 0; }
    .stat-card--2 { right: 0; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .contact-grid { grid-template-columns: 1fr; }
    .gi-1, .gi-4 { grid-column: span 6; grid-row: span 1; }
    .gi-2, .gi-3, .gi-5 { grid-column: span 6; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-list {
        position: fixed; top: 72px; left: 0; right: 0;
        background: var(--cream-50); border-bottom: 1px solid var(--cream-200);
        flex-direction: column; padding: 24px; gap: 20px;
        transform: translateY(-120%); opacity: 0;
        transition: all var(--transition);
        box-shadow: var(--shadow-lg);
    }
    .nav-list.open { transform: translateY(0); opacity: 1; }
    .nav-list a { font-size: 1rem; }
    .nav-list li:last-child { margin-top: 8px; }

    .hero { padding: 100px 0 80px; min-height: auto; }
    .hero-title { font-size: clamp(1.8rem, 7vw, 2.6rem); }
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { justify-content: center; }
    .hero-card-main { max-width: 300px; }
    .stat-card { padding: 12px 16px; }
    .stat-number { font-size: 1.2rem; }
    .stat-card--1 { bottom: 30px; left: -10px; }
    .stat-card--2 { top: 20px; right: -10px; }
    .stat-card--3 { bottom: -4px; right: 4px; }

    .services-grid { grid-template-columns: 1fr; }
    .services, .about, .gallery, .contact { padding: 72px 0; }
    .section-title { font-size: clamp(1.5rem, 5vw, 2.2rem); }

    .about-img-main img { height: 360px; }
    .about-accent-box { bottom: -16px; right: -8px; padding: 18px 22px; }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .gi-1, .gi-2, .gi-3, .gi-4, .gi-5 {
        grid-column: span 1; grid-row: span 1;
    }
    .gi-1 img, .gi-4 img { height: 280px; }
    .gi-2 img, .gi-3 img, .gi-5 img { height: 200px; }

    .form-card { padding: 28px 20px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero { padding: 88px 0 64px; }
    .hero-card-main { max-width: 260px; }
    .stat-card--1 { left: -4px; }
    .stat-card--2 { right: -4px; }
}
