/* Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --sage: #6b7f66;
    --sage-dark: #526352;
    --sage-light: #8fa089;
    --cream: #f5f3ef;
    --cream-dark: #e8e4dc;
    --terracotta: #c97d60;
    --charcoal: #2d2d2d;
    --white: #ffffff;

    --font-display: 'Playfair Display', serif;
    --font-body: 'Instrument Sans', sans-serif;

    --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--charcoal);
    background: var(--cream);
    overflow-x: hidden;
}

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

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

/* Typography */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    letter-spacing: -0.02em;
}

h1 em {
    font-style: italic;
    font-weight: 400;
    color: var(--sage);
}

h2 {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

/* Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
}

section {
    padding: clamp(4rem, 12vw, 10rem) 0;
    position: relative;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--sage);
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(245, 243, 239, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(107, 127, 102, 0.1);
    transition: all 0.4s var(--ease-out);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-mark {
    width: 50px;
    height: 50px;
    background: var(--sage);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s var(--ease-out);
}

.logo:hover .logo-mark {
    background: var(--sage-dark);
    transform: rotate(8deg);
}

.logo-text strong {
    display: block;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--charcoal);
}

.logo-text span {
    display: block;
    font-size: 0.875rem;
    color: var(--sage);
}

nav {
    display: flex;
    gap: 2.5rem;
}

nav a {
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s var(--ease-out);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--sage);
    transition: width 0.3s var(--ease-out);
}

nav a:hover {
    color: var(--sage);
}

nav a:hover::after {
    width: 100%;
}

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

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--charcoal);
    transition: all 0.3s var(--ease-out);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-shape {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 70%;
    height: 140%;
    background: linear-gradient(135deg, var(--sage-light) 0%, var(--sage) 100%);
    border-radius: 50% 30% 40% 60%;
    opacity: 0.08;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-5%, 5%) rotate(5deg); }
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.hero-text {
    font-size: 1.25rem;
    color: var(--sage-dark);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.hero-visual img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 200px 200px 40px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero-badge {
    position: absolute;
    bottom: 2rem;
    left: -2rem;
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: badge-bounce 3s ease-in-out infinite;
}

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

.hero-badge i {
    font-size: 2rem;
    color: var(--sage);
}

.hero-badge span {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 60px;
    transition: all 0.4s var(--ease-out);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--sage);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--sage-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(107, 127, 102, 0.3);
}

.btn-primary i {
    transition: transform 0.3s var(--ease-out);
}

.btn-primary:hover i {
    transform: translateX(4px);
}

.btn-secondary {
    background: transparent;
    color: var(--sage-dark);
    border-color: var(--sage);
}

.btn-secondary:hover {
    background: var(--sage);
    color: var(--white);
}

/* Floating CTA */
.cta-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    background: var(--terracotta);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 60px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    box-shadow: 0 8px 32px rgba(201, 125, 96, 0.4);
    transition: all 0.4s var(--ease-out);
}

.cta-float:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(201, 125, 96, 0.5);
}

.cta-float-icon {
    font-size: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

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

/* Philosophy */
.philosophy {
    background: var(--white);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.philosophy-image {
    position: relative;
}

.philosophy-image::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: -2rem;
    width: 100%;
    height: 100%;
    background: var(--sage);
    border-radius: 200px 40px 200px 40px;
    opacity: 0.1;
    z-index: -1;
}

.philosophy-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 200px 40px 200px 40px;
}

.philosophy-content p {
    margin-bottom: 1.5rem;
    color: var(--sage-dark);
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--cream-dark);
}

.stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--sage);
    margin-bottom: 0.5rem;
}

.stat span {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sage-dark);
}

/* Services */
.services {
    background: var(--cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 40px;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--sage), var(--sage-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--sage-light), var(--sage));
    color: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s var(--ease-out);
}

.service-card:hover .service-icon {
    transform: rotate(8deg) scale(1.05);
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card > p {
    color: var(--sage-dark);
    margin-bottom: 1.5rem;
}

.service-expand {
    background: none;
    border: 1px solid var(--sage);
    color: var(--sage);
    padding: 0.75rem 1.5rem;
    border-radius: 40px;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s var(--ease-out);
}

.service-expand:hover {
    background: var(--sage);
    color: var(--white);
}

.service-expand i {
    transition: transform 0.3s var(--ease-out);
}

.service-card.active .service-expand i {
    transform: rotate(45deg);
}

.service-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease-out);
    margin-top: 1.5rem;
}

.service-card.active .service-details {
    max-height: 500px;
}

.service-details p {
    color: var(--sage-dark);
    margin-bottom: 1rem;
}

.service-details ul {
    list-style: none;
    padding-left: 0;
}

.service-details li {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    color: var(--sage-dark);
}

.service-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--sage);
    font-weight: 600;
}

/* Gallery */
.gallery {
    background: var(--white);
}

.swiper {
    border-radius: 40px;
    overflow: hidden;
    height: 600px;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination-bullet {
    background: var(--white);
    opacity: 0.5;
    width: 10px;
    height: 10px;
}

.swiper-pagination-bullet-active {
    background: var(--white);
    opacity: 1;
    width: 30px;
    border-radius: 5px;
}

/* Contact */
.contact {
    background: var(--cream);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--sage-dark);
    margin-bottom: 3rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 24px;
    transition: all 0.3s var(--ease-out);
}

.contact-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--sage-light), var(--sage));
    color: var(--white);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item-label {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sage);
    margin-bottom: 0.25rem;
}

.contact-item strong {
    display: block;
    font-size: 1.125rem;
    color: var(--charcoal);
}

.contact-map {
    height: 600px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background: var(--sage-dark);
    color: var(--white);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-brand .logo-mark {
    background: var(--white);
    color: var(--sage-dark);
}

.footer-brand p {
    font-size: 0.9375rem;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-nav {
    display: flex;
    gap: 2rem;
}

.footer-nav a {
    font-size: 0.9375rem;
    opacity: 0.8;
    transition: opacity 0.3s var(--ease-out);
}

.footer-nav a:hover {
    opacity: 1;
}

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

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
        transition: right 0.4s var(--ease-out);
        gap: 1.5rem;
    }

    nav.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translateY(8px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-8px);
    }

    .hero-visual img {
        height: 500px;
        border-radius: 120px 120px 40px 40px;
    }

    .philosophy-image img {
        height: 500px;
        border-radius: 120px 40px 120px 40px;
    }

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

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

    .swiper {
        height: 400px;
    }

    .contact-map {
        height: 400px;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .cta-float-text {
        display: none;
    }

    .cta-float {
        padding: 1rem;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        justify-content: center;
    }
}
