@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

:root {
    --bg: #faf8f5;
    --surface: rgba(255, 255, 255, 0.88);
    --surface-2: rgba(255, 255, 255, 0.95);
    --text: #1a1714;
    --text-secondary: #5a534c;
    --muted: #7a726a;
    --muted-2: #9e958c;
    --border: rgba(26, 23, 20, 0.08);
    --border-hover: rgba(26, 23, 20, 0.16);
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.10);
    --shadow-xl: 0 30px 80px rgba(0,0,0,0.12);
    --radius: 20px;
    --radius-sm: 14px;
    --radius-xs: 10px;
    --container: 1200px;
    --nav-h: 72px;

    --accent: #8b5e3c;
    --accent-light: #c49a6c;
    --accent-dark: #6b4528;
    --accent-bg: rgba(139, 94, 60, 0.06);
    --accent-bg-hover: rgba(139, 94, 60, 0.10);

    --gold: #c9a96e;
    --gold-light: #e8d5a8;

    --focus: 0 0 0 3px rgba(139, 94, 60, 0.20);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

a:focus-visible,
button:focus-visible {
    outline: none;
    box-shadow: var(--focus);
    border-radius: var(--radius-xs);
}

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

/* ========== NAVBAR ========== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    padding: 0 48px;
    height: var(--nav-h);
    background: rgba(250, 248, 245, 0.85);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid var(--border);
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background var(--transition), box-shadow var(--transition);
}

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

.logo {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.12em;
    white-space: nowrap;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    padding: 8px 0;
    transition: opacity var(--transition-fast);
}

.logo:hover {
    opacity: 0.7;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 6px;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: var(--muted);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.02em;
    padding: 8px 18px;
    border-radius: 999px;
    position: relative;
    transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--text);
    background: var(--accent-bg);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text);
    z-index: 1001;
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ========== MAIN ========== */
main {
    margin-top: 0;
    padding: 0;
    min-height: 80vh;
}

/* ========== CONTAINER ========== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: calc(85vh - var(--nav-h));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 32px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(139, 94, 60, 0.06), transparent),
        radial-gradient(ellipse 60% 80% at 80% 60%, rgba(201, 169, 110, 0.05), transparent);
    pointer-events: none;
}

.hero--with-image {
    --hero-image: url("./assets/hero-home.jpg");
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    isolation: isolate;
}

.hero--with-image::before {
    background:
        linear-gradient(180deg,
            rgba(250, 248, 245, 0.15) 0%,
            rgba(250, 248, 245, 0.35) 40%,
            rgba(250, 248, 245, 0.55) 70%,
            rgba(250, 248, 245, 0.75) 100%
        );
    z-index: 0;
}

.hero--about { --hero-image: url("./assets/hero-about.jpg"); }
.hero--services { --hero-image: url("./assets/hero-services.jpg"); }
.hero--contact { --hero-image: url("./assets/hero-contact.jpg"); }

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero--with-image .hero-content {
    background: rgba(250, 248, 245, 0.92);
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
    border-radius: var(--radius);
    padding: 56px 48px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-lg);
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
    padding: 6px 16px;
    background: var(--accent-bg);
    border-radius: 999px;
}

.hero-label .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero-content h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text);
    line-height: 1.1;
}

.hero-content h1 em {
    font-style: italic;
    color: var(--accent);
}

.hero-text {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 36px;
    flex-wrap: wrap;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 14px 32px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--text);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border-hover);
}

.btn-secondary:hover {
    background: var(--accent-bg);
    border-color: rgba(139, 94, 60, 0.2);
}

.btn svg {
    width: 16px;
    height: 16px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    margin-top: 32px;
    background: var(--text);
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.cta-button svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition);
}

.cta-button:hover svg {
    transform: translateX(3px);
}

/* ========== SECTIONS ========== */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-label::before {
    content: "";
    width: 24px;
    height: 1.5px;
    background: var(--accent-light);
}

.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text);
}

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

/* ========== INTRO SECTION ========== */
.intro-section {
    padding: 100px 0;
    position: relative;
}

.intro-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1.5px;
    background: var(--accent-light);
}

.intro-text {
    font-size: 1.15rem;
    line-height: 1.85;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    color: var(--text-secondary);
}

/* ========== FEATURES / CARDS ========== */
.features {
    padding: 100px 0;
    position: relative;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--surface-2);
    padding: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
    transition: all var(--transition);
    border: 1px solid var(--border);
    opacity: 0;
    transform: translateY(20px);
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--border-hover);
}

.feature-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.card-media {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #f0ece6;
    position: relative;
}

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

.feature-card:hover .card-img {
    transform: scale(1.04);
}

.card-body {
    padding: 28px 28px 32px;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.feature-card p {
    color: var(--muted);
    line-height: 1.65;
    font-size: 0.95rem;
}

/* Feature cards without images (about page) */
.feature-card--text {
    padding: 36px 32px;
}

.feature-card--text .card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--accent-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent);
    transition: all var(--transition);
}

.feature-card--text:hover .card-icon {
    background: var(--accent-bg-hover);
    transform: scale(1.05);
}

.feature-card--text .card-icon svg {
    width: 22px;
    height: 22px;
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 120px 0;
    text-align: center;
    position: relative;
    background: linear-gradient(180deg, transparent, rgba(139, 94, 60, 0.03), transparent);
}

.cta-section h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text);
}

.cta-section p {
    color: var(--muted);
    margin-bottom: 8px;
    font-size: 1.05rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ========== ABOUT DETAILS ========== */
.about-details {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.about-card {
    background: var(--surface-2);
    padding: 36px 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
    transition: all var(--transition);
    border: 1px solid var(--border);
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--border-hover);
}

.about-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text);
}

.about-card p {
    color: var(--muted);
    line-height: 1.65;
}

/* ========== SERVICE DETAILS ========== */
.service-details {
    padding: 100px 0;
    position: relative;
}

.service-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.service-details h2 {
    text-align: center;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    margin-bottom: 16px;
    color: var(--text);
}

.point {
    background: var(--surface-2);
    padding: 36px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
    text-align: center;
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
}

.point:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--border-hover);
}

.point-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--accent-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent);
    transition: all var(--transition);
}

.point:hover .point-icon {
    background: var(--accent-bg-hover);
    transform: scale(1.05);
}

.point-icon svg {
    width: 24px;
    height: 24px;
}

.point h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text);
}

.point p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========== CONTACT SECTION ========== */
.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 960px;
    margin: 0 auto;
}

.contact-info-side h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: var(--text);
}

.contact-info-side > p {
    color: var(--muted);
    margin-bottom: 40px;
    line-height: 1.7;
}

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

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

.contact-item-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--accent-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
    transition: all var(--transition);
}

.contact-item:hover .contact-item-icon {
    background: var(--accent-bg-hover);
}

.contact-item-icon svg {
    width: 20px;
    height: 20px;
}

.contact-item-text h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}

.contact-item-text p {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.6;
}

.contact-map-side {
    background: var(--surface-2);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.contact-map-side iframe {
    width: 100%;
    flex: 1;
    border: none;
    display: block;
}

/* Legacy info-card support */
.info-card {
    background: var(--surface-2);
    padding: 48px 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--border);
    max-width: 800px;
    margin: 0 auto;
}

.info-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text);
}

.contact-details {
    margin-top: 36px;
}

.detail-item {
    margin-bottom: 28px;
}

.detail-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
}

.detail-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.02rem;
}

/* ========== FOOTER ========== */
footer {
    background: var(--text);
    color: rgba(255, 255, 255, 0.5);
    padding: 0;
}

.footer-content {
    max-width: var(--container);
    margin: 0 auto;
    padding: 64px 32px 40px;
}

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

.footer-brand h3 {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 320px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-links h4 {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
}

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

.footer-links ul li a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    transition: color var(--transition-fast);
}

.footer-links ul li a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    font-size: 0.82rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.3);
}

/* Simple footer fallback */
footer > p {
    text-align: center;
    padding: 24px 32px;
    font-size: 0.85rem;
}

/* ========== SCROLL ANIMATIONS ========== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== STATS ROW ========== */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 720px;
    margin: 0 auto;
    padding: 64px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 500;
}

/* ========== DIVIDER ========== */
.section-divider {
    width: 60px;
    height: 1.5px;
    background: var(--accent-light);
    margin: 0 auto;
}

/* ========== RESPONSIVE: TABLET ========== */
@media screen and (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* ========== RESPONSIVE: MOBILE ========== */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 0 20px;
        height: 64px;
    }

    .nav-links {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(250, 248, 245, 0.98);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        z-index: 1000;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li a {
        font-size: 18px;
        padding: 14px 28px;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero {
        min-height: calc(70vh - 64px);
        padding: 60px 20px;
    }

    .hero--with-image .hero-content {
        padding: 36px 24px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

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

    .intro-section {
        padding: 64px 0;
    }

    .features {
        padding: 64px 0;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cta-section {
        padding: 80px 20px;
    }

    .service-points {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

    .contact-map-side {
        min-height: 280px;
    }

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

    .stats-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        padding: 40px 0;
    }

    .stat-number {
        font-size: 1.8rem;
    }

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

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

    .container {
        padding: 0 20px;
    }

    .card-media {
        aspect-ratio: 16 / 10;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }

    .stats-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
