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

:root {
  --background: hsl(30, 25%, 97%);
  --foreground: hsl(210, 20%, 12%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(210, 20%, 12%);
  --primary: hsl(165, 40%, 25%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(30, 20%, 92%);
  --muted: hsl(30, 10%, 93%);
  --muted-foreground: hsl(210, 8%, 50%);
  --accent: hsl(35, 80%, 52%);
  --accent-foreground: hsl(0, 0%, 100%);
  --border: hsl(30, 15%, 88%);
  --radius: 0.75rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; border-color: var(--border); }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--background); color: var(--foreground); }
h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', serif; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* NAV */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: all 0.5s; }
.navbar.scrolled { background: rgba(255,255,255,0.9); backdrop-filter: blur(20px); box-shadow: 0 4px 20px rgba(0,0,0,0.08); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 80px; padding: 0 1.5rem; }
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.nav-brand-text span { display: block; font-size: 1.5rem; font-family: 'Playfair Display', serif; font-weight: 700; color: var(--primary-foreground); transition: color 0.3s; }
.navbar.scrolled .nav-brand-text span { color: var(--primary); }
.nav-brand-text small { display: block; font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.6); transition: color 0.3s; }
.navbar.scrolled .nav-brand-text small { color: var(--muted-foreground); }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 16px; border-radius: 8px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.7); transition: all 0.3s; }
.nav-links a:hover { color: var(--primary-foreground); background: rgba(255,255,255,0.1); }
.nav-links a.active { background: rgba(255,255,255,0.2); color: var(--primary-foreground); }
.navbar.scrolled .nav-links a { color: rgba(0,0,0,0.6); }
.navbar.scrolled .nav-links a:hover { color: var(--primary); background: var(--muted); }
.navbar.scrolled .nav-links a.active { background: var(--primary); color: var(--primary-foreground); }
.hamburger { display: none; background: none; border: none; color: var(--primary-foreground); cursor: pointer; padding: 8px; font-size: 24px; }
.navbar.scrolled .hamburger { color: var(--foreground); }
.mobile-menu { display: none; background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); margin: 0 16px 16px; border-radius: 12px; border: 1px solid var(--border); overflow: hidden; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 12px 20px; color: var(--foreground); font-weight: 500; transition: all 0.3s; }
.mobile-menu a:hover, .mobile-menu a.active { background: var(--primary); color: var(--primary-foreground); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
}

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(23,30,26,0.7), rgba(23,30,26,0.5), rgba(23,30,26,0.8)); }
.hero-content { position: relative; z-index: 10; text-align: center; padding: 8rem 1.5rem; animation: fadeUp 1s ease; }
.hero-badge { display: inline-block; padding: 8px 20px; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; background: rgba(210,150,50,0.2); color: var(--accent); border: 1px solid rgba(210,150,50,0.3); border-radius: 50px; backdrop-filter: blur(8px); margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(3.5rem, 8vw, 8rem); color: var(--primary-foreground); margin-bottom: 1rem; line-height: 0.9; }
.hero h1 .accent { color: var(--accent); }
.hero .subtitle { font-size: 1.15rem; color: rgba(255,255,255,0.7); margin-bottom: 0.5rem; }
.hero .desc { font-size: 1rem; color: rgba(255,255,255,0.5); max-width: 480px; margin: 0 auto 3rem; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-accent { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--accent-foreground); padding: 16px 32px; border-radius: 12px; font-size: 1.1rem; font-weight: 600; box-shadow: 0 8px 24px rgba(210,150,50,0.25); transition: all 0.3s; border: none; cursor: pointer; }
.btn-accent:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 12px 32px rgba(210,150,50,0.35); }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.1); color: var(--primary-foreground); padding: 16px 32px; border-radius: 12px; font-size: 1.1rem; font-weight: 600; border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(8px); transition: all 0.3s; cursor: pointer; }
.btn-outline:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px) scale(1.03); }
.floating-card { position: absolute; background: rgba(255,255,255,0.9); backdrop-filter: blur(20px); border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); animation: float 6s ease-in-out infinite; }
.floating-card.left { bottom: 8rem; left: 3rem; }
.floating-card.right { bottom: 10rem; right: 4rem; animation-delay: 2s; }
.floating-card .icon { width: 32px; height: 32px; margin-bottom: 8px; }
.floating-card .fc-title { font-size: 14px; font-weight: 600; color: var(--foreground); }
.floating-card .fc-sub { font-size: 12px; color: var(--muted-foreground); }
@media (max-width: 1024px) { .floating-card { display: none; } }

/* SECTIONS */
.section { padding: 6rem 0; }
.section.bg-white { background: var(--background); }
.section.bg-primary { background: var(--primary); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-badge { display: inline-block; padding: 6px 16px; font-size: 12px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); background: rgba(210,150,50,0.1); border-radius: 50px; margin-bottom: 1rem; }
.section-header h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--foreground); margin-bottom: 1rem; }
.section-header p { color: var(--muted-foreground); max-width: 480px; margin: 0 auto; }
.section-header-light h2 { color: var(--primary-foreground); }
.section-header-light p { color: rgba(255,255,255,0.6); }

/* SERVICES GRID */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.service-card { background: var(--card); border-radius: 16px; padding: 2rem; border: 1px solid var(--border); box-shadow: 0 2px 8px rgba(0,0,0,0.04); transition: all 0.5s; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); border-color: rgba(46,100,78,0.2); }
.service-icon { width: 56px; height: 56px; border-radius: 12px; background: rgba(46,100,78,0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; transition: all 0.3s; }
.service-card:hover .service-icon { background: var(--primary); }
.service-icon svg { width: 28px; height: 28px; color: var(--primary); transition: color 0.3s; }
.service-card:hover .service-icon svg { color: var(--primary-foreground); }
.service-card h3 { font-size: 1.25rem; color: var(--foreground); margin-bottom: 0.75rem; }
.service-card p { color: var(--muted-foreground); font-size: 0.875rem; line-height: 1.7; }

/* PAGE HEADER */
.page-header { padding: 8rem 0 4rem; background: var(--primary); text-align: center; }
.page-header .section-badge { background: rgba(210,150,50,0.2); color: var(--accent); }
.page-header h1 { font-size: clamp(2.5rem, 5vw, 4rem); color: var(--primary-foreground); margin-bottom: 1rem; }
.page-header p { color: rgba(255,255,255,0.6); max-width: 480px; margin: 0 auto; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; max-width: 1000px; margin: 0 auto; }
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; gap: 2rem; } }
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.15); width: 100%; object-fit: cover; aspect-ratio: 4/5; }
.about-badge { position: absolute; bottom: -24px; right: -24px; background: var(--accent); color: var(--accent-foreground); border-radius: 16px; padding: 1.5rem; box-shadow: 0 12px 30px rgba(210,150,50,0.3); }
.about-badge .num { font-size: 2rem; font-family: 'Playfair Display', serif; font-weight: 700; }
.about-badge .lbl { font-size: 12px; opacity: 0.8; }
.about-text h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.about-text .role { color: var(--accent); font-weight: 600; margin-bottom: 1.5rem; }
.about-text p { color: var(--muted-foreground); line-height: 1.8; margin-bottom: 1.5rem; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stat-box { text-align: center; padding: 1rem; border-radius: 12px; background: var(--muted); }
.stat-box .val { font-size: 1.5rem; font-family: 'Playfair Display', serif; font-weight: 700; color: var(--primary); }
.stat-box .lab { font-size: 12px; color: var(--muted-foreground); margin-top: 4px; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 2fr 3fr; gap: 3rem; max-width: 1100px; margin: 0 auto; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-cards { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-card { display: flex; align-items: flex-start; gap: 1rem; padding: 1.5rem; background: var(--card); border-radius: 16px; border: 1px solid var(--border); box-shadow: 0 2px 8px rgba(0,0,0,0.04); transition: box-shadow 0.3s; }
.contact-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.contact-card-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(46,100,78,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card-icon svg { width: 24px; height: 24px; color: var(--primary); }
.contact-card h3 { font-family: 'Inter', sans-serif; font-weight: 600; margin-bottom: 4px; }
.contact-card a, .contact-card p { color: var(--muted-foreground); font-size: 14px; transition: color 0.3s; display: block; }
.contact-card a:hover { color: var(--accent); }

/* FORM */
.form-wrap { background: var(--card); border-radius: 16px; padding: 2.5rem; border: 1px solid var(--border); box-shadow: 0 8px 30px rgba(0,0,0,0.06); }
.form-wrap h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.form-wrap > p { color: var(--muted-foreground); font-size: 14px; margin-bottom: 2rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 14px; color: rgba(0,0,0,0.6); margin-bottom: 8px; font-weight: 500; }
.form-group input, .form-group textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 12px; font-family: 'Inter', sans-serif; font-size: 14px; background: var(--background); color: var(--foreground); transition: border-color 0.3s, box-shadow 0.3s; outline: none; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(46,100,78,0.1); }
.form-group input { height: 48px; }
.form-group textarea { resize: none; min-height: 120px; }
.btn-submit { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: var(--accent-foreground); padding: 14px 24px; border-radius: 12px; font-weight: 600; font-size: 16px; border: none; cursor: pointer; box-shadow: 0 8px 20px rgba(210,150,50,0.2); transition: all 0.3s; font-family: 'Inter', sans-serif; }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(210,150,50,0.3); }
.success-msg { text-align: center; padding: 3rem 0; }
.success-msg svg { width: 64px; height: 64px; color: var(--primary); margin: 0 auto 1rem; }
.success-msg h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.success-msg p { color: var(--muted-foreground); font-size: 14px; }
.success-msg button { margin-top: 1rem; background: none; border: none; color: var(--primary); cursor: pointer; font-weight: 500; font-size: 14px; }
.success-msg button:hover { color: var(--accent); }

/* FOOTER */
.footer { background: var(--foreground); color: var(--primary-foreground); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-bottom: 3rem; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.footer .footer-desc { color: rgba(255,255,255,0.5); font-size: 14px; line-height: 1.6; }
.footer h4 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(255,255,255,0.4); margin-bottom: 1rem; font-family: 'Inter', sans-serif; }
.footer-links a { display: block; color: rgba(255,255,255,0.6); font-size: 14px; padding: 4px 0; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent); }
.footer-contact-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.6); font-size: 14px; margin-bottom: 12px; }
.footer-contact-item svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.6); transition: color 0.3s; }
.footer-contact-item a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; text-align: center; color: rgba(255,255,255,0.3); font-size: 12px; }

/* CTA */
.cta-section { padding: 5rem 0; background: var(--primary); text-align: center; }
.cta-section h2 { font-size: clamp(1.75rem, 4vw, 3rem); color: var(--primary-foreground); margin-bottom: 1.5rem; }
.cta-section p { color: rgba(255,255,255,0.6); margin-bottom: 2rem; max-width: 400px; margin-left: auto; margin-right: auto; }

.view-all-link { text-align: center; margin-top: 3rem; }
.view-all-link a { color: var(--primary); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: color 0.3s; }
.view-all-link a:hover { color: var(--accent); }

/* PAGE VISIBILITY */
.page { display: none; }
.page.active { display: block; }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.animate-in { animation: fadeUp 0.7s ease forwards; }
.animate-delay-1 { animation-delay: 0.1s; opacity: 0; }
.animate-delay-2 { animation-delay: 0.2s; opacity: 0; }
.animate-delay-3 { animation-delay: 0.3s; opacity: 0; }
.animate-delay-4 { animation-delay: 0.4s; opacity: 0; }
.animate-delay-5 { animation-delay: 0.5s; opacity: 0; }
