/* ── Reset & Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Custom Properties ────────────────────────────── */
:root {
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    --cream-50: #fdfbf7;
    --cream-100: #faf6ee;
    --cream-200: #f5ede0;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Nunito', system-ui, sans-serif;
}

/* ── Container ────────────────────────────────────── */
.container { max-width: 1280px; }

/* ── Section Spacing ──────────────────────────────── */
.section { padding: 100px 0; }
@media (max-width: 767px) { .section { padding: 70px 0; } }

/* ── Section Labels & Titles ──────────────────────── */
.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 12px;
    display: block;
}
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--emerald-900);
    margin-bottom: 20px;
}
.section-subtitle {
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(6, 78, 59, 0.6);
}

/* ── Buttons ──────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-700));
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(5, 150, 105, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(5, 150, 105, 0.4);
    background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--emerald-700);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 50px;
    border: 2px solid var(--emerald-200);
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    background: var(--emerald-50);
    border-color: var(--emerald-500);
    transform: translateY(-2px);
}

/* ── Header ───────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 251, 247, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(167, 243, 208, 0.3);
    transition: all 0.3s ease;
}
.site-header.scrolled {
    background: rgba(253, 251, 247, 0.95);
    box-shadow: 0 4px 30px rgba(6, 78, 59, 0.08);
}
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--emerald-500);
    border-radius: 1px;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ── Mobile Menu ──────────────────────────────────── */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(253, 251, 247, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.mobile-menu.active { opacity: 1; pointer-events: all; }
.mobile-menu a {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--emerald-900);
    transition: color 0.3s ease;
}
.mobile-menu a:hover { color: var(--emerald-500); }
.menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border: none;
    background: var(--emerald-100);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}
.menu-close:hover { background: var(--emerald-200); }
.menu-close svg { width: 20px; height: 20px; color: var(--emerald-700); }

/* ── Hero Split ───────────────────────────────────── */
.hero-split {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--cream-50) 0%, var(--cream-100) 50%, var(--emerald-50) 100%);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}
.hero-split::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(167, 243, 208, 0.2) 0%, transparent 70%);
    pointer-events: none;
}
.hero-split::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.08) 0%, transparent 70%);
    pointer-events: none;
}
.hero-badge {
    animation: fadeInUp 0.8s ease forwards;
}
.hero-split h1 {
    animation: fadeInUp 0.8s ease 0.1s forwards;
    opacity: 0;
}
.hero-split > .container > .flex > div:first-child > p:first-of-type {
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}
.hero-split > .container > .flex > div:first-child > div:first-of-type:last-child {
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

/* ── Hero Image ───────────────────────────────────── */
.hero-image-wrapper {
    position: relative;
    animation: fadeInRight 1s ease 0.3s forwards;
    opacity: 0;
}
.hero-image {
    width: 100%;
    max-width: 520px;
    border-radius: 200px 200px 24px 24px;
    object-fit: cover;
    box-shadow: 0 25px 80px rgba(6, 78, 59, 0.15);
    aspect-ratio: 600/750;
}
.hero-image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border-radius: 200px 200px 24px 24px;
    border: 2px solid var(--emerald-200);
    z-index: -1;
}
.hero-floating-card {
    position: absolute;
    bottom: 60px;
    left: -40px;
    background: #fff;
    border-radius: 20px;
    padding: 20px 24px;
    box-shadow: 0 15px 50px rgba(6, 78, 59, 0.12);
    animation: float 3s ease-in-out infinite;
}
.floating-card-inner {
    display: flex;
    align-items: center;
    gap: 14px;
}
.floating-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--emerald-100), var(--emerald-200));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
}

/* ── Services ─────────────────────────────────────── */
.services-section {
    background: #fff;
}
.service-card {
    background: var(--cream-50);
    border-radius: 24px;
    padding: 36px 30px;
    transition: all 0.4s ease;
    border: 1px solid transparent;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(6, 78, 59, 0.1);
    border-color: var(--emerald-200);
    background: #fff;
}
.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--emerald-100), var(--emerald-200));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    margin-bottom: 22px;
    transition: all 0.4s ease;
}
.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
    color: #fff;
    transform: scale(1.05);
}
.service-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--emerald-900);
    margin-bottom: 12px;
}
.service-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(6, 78, 59, 0.6);
}

/* ── About ────────────────────────────────────────── */
.about-section {
    background: linear-gradient(180deg, var(--cream-50) 0%, var(--emerald-50) 100%);
}
.about-image-group {
    position: relative;
    height: 620px;
}
.about-main-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 85%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(6, 78, 59, 0.12);
}
.about-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-accent-img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 55%;
    border-radius: 20px;
    overflow: hidden;
    border: 6px solid var(--cream-100);
    box-shadow: 0 15px 50px rgba(6, 78, 59, 0.1);
}
.about-accent-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-experience-badge {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 20px;
    padding: 24px 28px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(6, 78, 59, 0.1);
    z-index: 2;
}

/* ── Gallery ──────────────────────────────────────── */
.gallery-section {
    background: #fff;
}
.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(6, 78, 59, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

/* ── Testimonials ─────────────────────────────────── */
.testimonials-section {
    background: linear-gradient(135deg, var(--emerald-800) 0%, var(--emerald-900) 100%);
    position: relative;
    overflow: hidden;
}
.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.testimonials-section .section-label { color: var(--emerald-300); }
.testimonials-section .section-title { color: #fff; }
.testimonial-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 36px 30px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}
.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-6px);
}
.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}
.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--emerald-400), var(--emerald-600));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
}
.author-avatar + div p:first-child { color: #fff; }
.author-avatar + div p:last-child { color: rgba(255, 255, 255, 0.5); }

/* ── Contact ──────────────────────────────────────── */
.contact-section {
    background: linear-gradient(180deg, var(--cream-50) 0%, var(--cream-100) 100%);
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}
.contact-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--emerald-100), var(--emerald-200));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
}
.contact-form-wrapper {
    background: #fff;
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(6, 78, 59, 0.08);
    border: 1px solid var(--emerald-100);
}
.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--emerald-100);
    border-radius: 14px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--emerald-900);
    background: var(--cream-50);
    transition: all 0.3s ease;
    outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--emerald-500);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}
.form-input::placeholder, .form-textarea::placeholder {
    color: rgba(6, 78, 59, 0.35);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { cursor: pointer; 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='%23047857' 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 16px center; }
.form-success {
    text-align: center;
    padding: 40px 20px;
    animation: fadeInUp 0.5s ease;
}
.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--emerald-100), var(--emerald-200));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--emerald-600);
}

/* ── Footer ───────────────────────────────────────── */
.footer {
    background: var(--emerald-900);
    padding: 80px 0 0;
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 1023px) {
    .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 639px) {
    .footer-top { grid-template-columns: 1fr; }
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-tagline { font-size: 0.9rem; line-height: 1.7; }
.footer-heading {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}
.footer-link {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}
.footer-link:hover { color: var(--emerald-300); }
.footer-bottom {
    padding: 28px 0;
    text-align: center;
}

/* ── Animations ───────────────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1023px) {
    .hero-split { padding-top: 100px; padding-bottom: 60px; }
    .hero-image-wrapper { margin-top: 40px; }
    .hero-image { max-width: 400px; margin: 0 auto; }
    .hero-floating-card { left: 10px; bottom: 30px; }
    .about-image-group { height: 480px; margin-bottom: 40px; }
}
@media (max-width: 767px) {
    .hero-split { min-height: auto; padding-top: 100px; padding-bottom: 60px; }
    .hero-image { border-radius: 150px 150px 20px 20px; max-width: 320px; }
    .hero-image-accent { top: -12px; right: -12px; border-radius: 150px 150px 20px 20px; }
    .hero-floating-card { left: -10px; bottom: 20px; padding: 14px 18px; }
    .hero-split > .container > .flex { flex-direction: column; }
    .about-image-group { height: 400px; }
    .contact-form-wrapper { padding: 28px 22px; }
    .section { padding: 60px 0; }
}
