@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

:root {
  --green-deep: #0a3d1f;
  --green-mid: #145a32;
  --green-accent: #1e8449;
  --green-light: #27ae60;
  --gold: #c9a84c;
  --gold-light: #f0c040;
  --cream: #faf7f0;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f4;
  --gray-200: #e8eaed;
  --gray-400: #9aa0a6;
  --gray-600: #5f6368;
  --gray-800: #3c4043;
  --dark: #1a1a2e;
  --text-primary: #1c2b1e;
  --text-secondary: #4a5c4e;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --shadow-gold: 0 4px 20px rgba(201,168,76,0.25);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-primary);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5 { font-family: 'Playfair Display', serif; line-height: 1.2; }

a { text-decoration: none; color: inherit; }

img { max-width: 100%; height: auto; }

/* UTILITY */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-gold { color: var(--gold); }
.text-green { color: var(--green-accent); }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(201,168,76,0.12); color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3); border-radius: 100px;
  font-size: 12px; font-weight: 600; padding: 4px 14px;
  letter-spacing: 0.8px; text-transform: uppercase;
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 15px;
  padding: 14px 32px; border-radius: var(--radius-md);
  border: 2px solid transparent; cursor: pointer;
  transition: var(--transition); letter-spacing: 0.3px;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold); color: var(--green-deep);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: var(--gold-light); border-color: var(--gold-light);
  transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,168,76,0.4);
}
.btn-secondary {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1); border-color: var(--white);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent; color: var(--green-accent);
  border-color: var(--green-accent);
}
.btn-outline:hover {
  background: var(--green-accent); color: var(--white);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--green-deep); color: var(--white);
  border-color: var(--green-deep);
}
.btn-dark:hover {
  background: var(--green-mid); transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-lg { padding: 18px 44px; font-size: 17px; }
.btn-sm { padding: 10px 22px; font-size: 14px; }
.btn-full { width: 100%; }

/* NAVBAR */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,61,31,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(10,61,31,0.99);
  box-shadow: var(--shadow-lg);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 72px; max-width: 1300px; margin: 0 auto;
}
.navbar-brand { display: flex; align-items: center; gap: 14px; }
.navbar-logo-wrap {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(201,168,76,0.35);
}
.navbar-title { line-height: 1; }
.navbar-title-main {
  font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 700;
  color: var(--white); letter-spacing: 0.3px;
}
.navbar-title-sub {
  font-size: 11px; color: rgba(255,255,255,0.55);
  font-weight: 400; margin-top: 1px;
}
.navbar-nav { display: flex; align-items: center; gap: 4px; }
.navbar-nav a {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.75);
  padding: 8px 16px; border-radius: var(--radius-sm);
  transition: var(--transition);
}
.navbar-nav a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.navbar-nav a.active { color: var(--gold); }
.navbar-cta { display: flex; align-items: center; gap: 12px; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; flex-direction: column;
  background: var(--green-deep);
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 16px 24px 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.8);
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; gap: 10px;
  transition: var(--transition);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--gold); padding-left: 8px; }
.mobile-menu .mobile-cta { margin-top: 16px; padding-bottom: 0; border: none; }
.mobile-menu .mobile-cta .btn { width: 100%; justify-content: center; }

/* FORMS */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text-secondary); margin-bottom: 8px;
  letter-spacing: 0.3px; text-transform: uppercase;
}
.form-control {
  width: 100%; padding: 14px 18px;
  border: 2px solid var(--gray-200); border-radius: var(--radius-md);
  font-family: 'DM Sans', sans-serif; font-size: 15px; color: var(--text-primary);
  background: var(--white); transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--green-accent);
  box-shadow: 0 0 0 4px rgba(30,132,73,0.08);
}
.form-control::placeholder { color: var(--gray-400); }
select.form-control { cursor: pointer; }

/* ALERTS */
.alert {
  padding: 14px 18px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 500; margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.alert-success {
  background: #e8f5e9; color: #1b5e20;
  border: 1px solid #a5d6a7;
}
.alert-error {
  background: #ffebee; color: #b71c1c;
  border: 1px solid #ef9a9a;
}
.alert-info {
  background: #e3f2fd; color: #0d47a1;
  border: 1px solid #90caf9;
}

/* CARDS */
.card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); overflow: hidden;
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

/* FOOTER */
.footer {
  background: var(--green-deep); color: var(--white);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand-logo {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 20px;
}
.footer-brand-title {
  font-family: 'Playfair Display', serif; font-size: 18px;
  color: var(--white); margin-bottom: 6px;
}
.footer-brand-sub {
  font-size: 12px; color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.footer-desc {
  font-size: 14px; color: rgba(255,255,255,0.55);
  line-height: 1.8; margin-bottom: 24px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08); display: flex;
  align-items: center; justify-content: center; font-size: 16px;
  transition: var(--transition); border: 1px solid rgba(255,255,255,0.1);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); }
.footer-col h4 {
  font-family: 'DM Sans', sans-serif; font-size: 13px;
  font-weight: 700; color: var(--gold); text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 14px; color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--white); padding-left: 6px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); }

/* LOADER */
.page-loader {
  position: fixed; inset: 0; background: var(--green-deep);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-ring {
  width: 60px; height: 60px; border: 3px solid rgba(201,168,76,0.2);
  border-top-color: var(--gold); border-radius: 50%;
  animation: spin 0.8s linear infinite; margin: 0 auto 20px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader-text {
  font-family: 'Playfair Display', serif; color: var(--white);
  font-size: 16px;
}

/* SCROLL TOP */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 500;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); color: var(--green-deep);
  border: none; cursor: pointer; font-size: 18px;
  box-shadow: var(--shadow-gold); transition: var(--transition);
  opacity: 0; visibility: hidden;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-4px); background: var(--gold-light); }

/* PAGE HERO SMALL */
.page-hero {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 60%, var(--green-accent) 100%);
  padding: 140px 0 80px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-inner { position: relative; z-index: 1; text-align: center; }
.page-hero h1 {
  font-size: clamp(32px, 5vw, 52px); color: var(--white);
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 18px; color: rgba(255,255,255,0.7);
  max-width: 600px; margin: 0 auto;
}
.breadcrumb {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-bottom: 24px;
}
.breadcrumb a { font-size: 13px; color: rgba(255,255,255,0.5); transition: var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { font-size: 13px; color: rgba(255,255,255,0.3); }
.breadcrumb .current { font-size: 13px; color: var(--gold); font-weight: 600; }

/* SECTION TITLE */
.section-title { text-align: center; margin-bottom: 56px; }
.section-title h2 {
  font-size: clamp(28px, 4vw, 44px); color: var(--text-primary);
  margin-bottom: 16px;
}
.section-title p {
  font-size: 17px; color: var(--text-secondary);
  max-width: 580px; margin: 0 auto;
}
.section-title .divider {
  width: 60px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--green-accent));
  margin: 20px auto 0;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .navbar-nav, .navbar-cta { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}