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

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --green: #2d5a55;
  --green-dark: #1e3b38;
  --green-light: #427c75;
  --gold: #c9a84c;
  --gold-light: #e0c06a;
  --teal: #3c636a;
  --white: #f7fafa;
  --white2: #edf4f4;
  --dark: #1a1e1e;
  --gray: #2d3333;
  --gray-light: #dce8e8;
}

html { scroll-behavior: smooth; }
body { 
  font-family: 'Source Sans 3', sans-serif; 
  background: var(--white); 
  color: var(--dark); 
  overflow-x: hidden; 
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', serif; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.serif { font-family: 'Playfair Display', serif; }

/* UTILITIES */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: 6rem 2rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-bg { background: var(--white2); }
.section-dark { background: var(--green-dark); }
.section-dark .section-title { color: var(--white); }
.section-dark .section-desc { color: rgba(255,255,255,0.6); }
.section-dark .section-label { color: var(--gold); }
.section-label { 
  font-size: 0.72rem; 
  letter-spacing: 0.25em; 
  color: var(--gold); 
  text-transform: uppercase; 
  margin-bottom: 1rem; 
  display: flex; 
  align-items: center; 
  gap: 1rem; 
}
.section-label::before { content:''; display:block; width:32px; height:1px; background:var(--gold); }
.section-title { 
  font-family: 'Playfair Display', serif; 
  font-size: clamp(1.8rem, 3vw, 2.6rem); 
  color: var(--green-dark); 
  margin-bottom: 1rem; 
  line-height: 1.25; 
}
.section-desc { 
  color: var(--gray); 
  font-size: 1rem; 
  line-height: 1.75; 
  max-width: 560px; 
  font-weight: 450; 
}
.divider { width: 48px; height: 2px; background: var(--gold); margin: 1.5rem 0; }
.text-center { text-align: center; }

/* BUTTONS */
.btn-primary { 
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold); 
  color: var(--green-dark); 
  padding: 14px 32px; 
  font-weight: 600; 
  font-size: 0.9rem; 
  letter-spacing: 0.05em; 
  transition: all 0.2s; 
  cursor: pointer; 
  border: none; 
  border-radius: 4px;
  font-family: inherit; 
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline { 
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent; 
  color: var(--white); 
  padding: 14px 32px; 
  border: 1px solid rgba(255,255,255,0.35); 
  font-weight: 500; 
  font-size: 0.9rem; 
  letter-spacing: 0.05em; 
  transition: all 0.2s; 
  cursor: pointer; 
  border-radius: 4px;
  font-family: inherit; 
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* NAV */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: all 0.3s ease;
  background: transparent;
}
header.scrolled { 
  background: var(--green-dark); 
  box-shadow: 0 2px 20px rgba(0,0,0,0.3); 
}
header.solid {
  background: var(--green-dark);
}
.nav-inner { 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 2rem; 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  height: 72px; 
}
.nav-logo { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.nav-logo-icon { width: 38px; height: auto; }
.nav-logo-text { font-family: "Bookman Old Style", serif; font-weight: 700; font-size: 1rem; color: #99732b; letter-spacing: 0.08em; line-height: 1.2; }
.nav-logo-sub { font-family: 'Source Sans 3', sans-serif; font-size: 0.6rem; color: var(--gold-light); letter-spacing: 0.15em; text-transform: uppercase; }
.hero-firm-name { font-family: "Bookman Old Style", serif; font-weight: 700; color: #99732b; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-link { 
  font-size: 0.85rem; 
  font-weight: 500; 
  color: rgba(255,255,255,0.85); 
  letter-spacing: 0.06em; 
  text-transform: uppercase; 
  transition: color 0.2s; 
  cursor: pointer; 
  padding: 4px 0; 
  position: relative; 
}
.nav-link::after { 
  content:''; 
  position:absolute; 
  bottom:-2px; 
  left:0; right:0; 
  height:1px; 
  background:var(--gold); 
  transform:scaleX(0); 
  transition:transform 0.2s; 
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link:hover::after, .nav-link.active::after { transform:scaleX(1); }
.nav-cta { 
  background: var(--gold); 
  color: var(--green-dark) !important; 
  padding: 8px 20px; 
  border-radius: 4px;
  font-weight: 600 !important; 
  transition: background 0.2s !important; 
}
.nav-cta::after { display:none !important; }
.nav-cta:hover { background: var(--gold-light) !important; color: var(--green-dark) !important; }

/* MOBILE MENU */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--white); transition: all 0.3s; display: block; }
.mobile-menu { 
  display: none; 
  flex-direction: column; 
  background: var(--green-dark); 
  padding: 1rem 2rem 1.5rem; 
  position: absolute;
  top: 72px; left: 0; right: 0;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.mobile-menu.active {
  display: flex;
}
.mobile-menu .nav-link { 
  padding: 0.75rem 0; 
  border-bottom: 1px solid rgba(255,255,255,0.08); 
  font-size: 0.95rem; 
}
.mobile-menu .nav-link:last-child {
  border-bottom: none;
}

/* HERO */
.hero { 
  min-height: 100vh; 
  background: var(--green-dark); 
  display: flex; 
  align-items: center; 
  position: relative; 
  overflow: hidden; 
}
.hero-bg-pattern { 
  position: absolute; 
  inset: 0; 
  opacity: 0.04; 
  background-image: repeating-linear-gradient(45deg, var(--gold) 0, var(--gold) 1px, transparent 0, transparent 50%); 
  background-size: 20px 20px; 
}
.hero-accent { 
  position: absolute; 
  right: 0; top: 0; bottom: 0; 
  width: 40%; 
  background: var(--green); 
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%); 
  opacity: 0.4; 
}
.hero-inner { 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 6rem 2rem 4rem; 
  position: relative; 
  z-index: 1; 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 4rem; 
  align-items: center; 
  width: 100%;
}
.hero-label { 
  font-size: 0.75rem; 
  letter-spacing: 0.25em; 
  color: var(--gold); 
  text-transform: uppercase; 
  margin-bottom: 1.5rem; 
  display: flex; 
  align-items: center; 
  gap: 1rem; 
}
.hero-label::before { content:''; display:block; width:40px; height:1px; background:var(--gold); }
.hero h1 { 
  font-size: clamp(2.5rem, 5vw, 4rem); 
  color: var(--white); 
  font-weight: 700; 
  line-height: 1.15; 
  margin-bottom: 1.5rem; 
}
.hero h1 span { color: var(--gold); display: block; }
.hero-desc { 
  color: rgba(255,255,255,0.65); 
  font-size: 1.05rem; 
  line-height: 1.7; 
  margin-bottom: 2.5rem; 
  max-width: 480px; 
  font-weight: 400; 
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-monogram { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  justify-content: center; 
  gap: 2rem; 
}
.monogram-ring { 
  width: 280px; 
  height: 280px; 
  border: 1px solid rgba(201,168,76,0.3); 
  border-radius: 50%; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  position: relative; 
}
.monogram-ring::before { 
  content:''; 
  position:absolute; 
  inset:12px; 
  border:1px solid rgba(201,168,76,0.15); 
  border-radius:50%; 
}
.hero-firm-badge { text-align: center; }
.hero-firm-name { 
  font-family: 'Playfair Display', serif; 
  font-size: 1.1rem; 
  color: var(--white); 
  letter-spacing: 0.2em; 
  text-transform: uppercase; 
}
.hero-firm-sub { 
  font-size: 0.7rem; 
  color: var(--gold); 
  letter-spacing: 0.2em; 
  text-transform: uppercase; 
  margin-top: 4px; 
}

/* PAGE HEADER */
.page-header {
  background: var(--green-dark); 
  padding: 10rem 2rem 4rem; 
  text-align: center;
  position: relative;
}
.page-header-inner {
  max-width: 700px; margin: 0 auto; position: relative; z-index: 1;
}
.page-header h1 {
  font-family: 'Playfair Display', serif; 
  color: var(--white); 
  font-size: clamp(2rem, 4vw, 3rem); 
  margin-top: 0.5rem;
}


/* SERVICES GRID */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px; margin-top: 3.5rem; background: var(--gray-light); }
.service-card { background: var(--green-dark); padding: 2.5rem 2rem; transition: all 0.25s; cursor: default; position: relative; overflow: hidden; border: 1px solid rgba(201,168,76,0.1); }
.service-card::before { content:''; position:absolute; bottom:0; left:0; right:0; height:3px; background:var(--gold); transform:scaleX(0); transform-origin:left; transition:transform 0.3s; }
.service-card:hover { background: var(--green); border-color: var(--gold); }
.service-card:hover::before { transform:scaleX(1); }
.service-card .service-icon { color: var(--gold); }
.service-card .service-title { color: var(--gold); }
.service-card .service-desc { color: rgba(255,255,255,0.6); }
.service-icon { font-size: 1.8rem; margin-bottom: 1.25rem; color: var(--gold); transition: color 0.25s; }
.service-icon svg { width: 32px; height: 32px; }
.service-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--gold); margin-bottom: 0.75rem; transition: color 0.25s; }
.service-desc { font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.65; transition: color 0.25s; font-weight: 400; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-img-block { position: relative; }
.about-img-placeholder { width: 100%; aspect-ratio: 4/5; background: var(--green); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.about-img-placeholder::after { content:''; position:absolute; inset:0; background: repeating-linear-gradient(135deg, transparent 0, transparent 18px, rgba(255,255,255,0.03) 18px, rgba(255,255,255,0.03) 19px); }
.about-img-label { color: rgba(255,255,255,0.3); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; font-family: monospace; z-index: 1; }
.about-badge { position: absolute; bottom: -1.5rem; right: -1.5rem; background: var(--gold); padding: 1.5rem; text-align: center; min-width: 120px; }
.about-badge-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--green-dark); line-height: 1; }
.about-badge-text { font-size: 0.7rem; color: var(--green-dark); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; font-weight: 600; }
.values-list { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.value-item { display: flex; gap: 1rem; align-items: flex-start; }
.value-dot { width: 8px; height: 8px; background: var(--gold); margin-top: 7px; flex-shrink: 0; }
.value-text h4 { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--green-dark); margin-bottom: 2px; }
.value-text p { font-size: 0.875rem; color: var(--gray); line-height: 1.6; font-weight: 450; }

/* SERVICES PAGE SPECIFIC */
.services-list-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem;
}
.service-list-card {
  background: var(--green-dark); border: 1px solid rgba(201,168,76,0.15); padding: 2rem; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.service-list-card:hover {
  transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); border-color: var(--gold);
}
.service-list-card h3 { color: var(--gold) !important; }
.service-list-card .icon-box { color: var(--gold) !important; }
.service-list-card ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.service-list-card li { display: flex; gap: 8px; font-size: 0.82rem; color: rgba(255,255,255,0.7); line-height: 1.5; }
.service-list-card li span { color: var(--gold); flex-shrink: 0; margin-top: 1px; }

/* TEAM */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3.5rem; }
.team-card { background: var(--white); border: 1px solid var(--gray-light); overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; }
.team-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(26,84,50,0.12); }
.team-photo { width: 100%; aspect-ratio: 3/4; background: var(--white2); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.team-photo-inner { background: var(--green); width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.team-photo-inner img { width: 100%; height: 100%; object-fit: cover; }
.team-photo-label { color: rgba(255,255,255,0.25); font-family: monospace; font-size: 0.7rem; letter-spacing: 0.1em; }
.team-info { padding: 1.5rem; }
.team-name { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--green-dark); margin-bottom: 2px; }
.team-role { font-size: 0.8rem; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.75rem; }
.team-desc { font-size: 0.85rem; color: var(--gray); line-height: 1.6; font-weight: 450; }
.peradi-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--white2); border: 1px solid var(--gray-light); padding: 4px 10px; margin-top: 8px; }
.peradi-badge span { font-size: 0.7rem; color: var(--gray); letter-spacing: 0.08em; display: flex; align-items: center; gap: 5px; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; margin-top: 3.5rem; }
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.contact-icon { width: 44px; height: 44px; background: rgba(201,168,76,0.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; color: var(--gold); border-radius: 50%; }
.contact-icon svg { width: 20px; height: 20px; }
.contact-item-title { font-family: 'Playfair Display', serif; font-size: 0.9rem; color: var(--white); margin-bottom: 4px; }
.contact-item-text { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.6; white-space: pre-line; }
.wa-btn { display: flex; align-items: center; gap: 12px; background: #25D366; color: white; padding: 16px 28px; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: all 0.2s; border: none; font-family: inherit; width: 100%; justify-content: center; margin-top: 1rem; border-radius: 4px; }
.wa-btn:hover { background: #20BA58; transform: translateY(-1px); }
.contact-form { background: var(--white); padding: 2.5rem; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 1.25rem; }
.form-label { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray); font-weight: 500; }
.form-input { padding: 12px 16px; border: 1px solid var(--gray-light); background: var(--white); font-family: inherit; font-size: 0.9rem; color: var(--dark); outline: none; transition: border-color 0.2s; border-radius: 4px; }
.form-input:focus { border-color: var(--green); }
textarea.form-input { resize: vertical; min-height: 110px; }
.form-submit { background: var(--green); color: var(--white); padding: 14px 32px; border: none; font-family: inherit; font-weight: 600; font-size: 0.9rem; letter-spacing: 0.05em; cursor: pointer; transition: background 0.2s; width: 100%; border-radius: 4px; }
.form-submit:hover { background: var(--green-light); }
.form-success { background: var(--green); color: var(--white); padding: 1rem; text-align: center; font-size: 0.9rem; margin-top: 1rem; display: none; }

/* LEGAL CONTENT */
.legal-content {
  background: var(--white);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  margin-top: -3rem;
  position: relative;
  z-index: 2;
}
.legal-content h2 { color: var(--green-dark); margin-top: 2rem; margin-bottom: 1rem; }
.legal-content h3 { color: var(--green); margin-top: 1.5rem; margin-bottom: 0.5rem; }
.legal-content p { color: var(--gray); margin-bottom: 1rem; }
.legal-content ul { color: var(--gray); margin-bottom: 1rem; padding-left: 1.5rem; }
.legal-content li { margin-bottom: 0.5rem; }

/* CTA BANNER */
.cta-banner { background: var(--green); padding: 5rem 2rem; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content:''; position:absolute; inset:0; background: repeating-linear-gradient(45deg, transparent 0, transparent 20px, rgba(255,255,255,0.015) 20px, rgba(255,255,255,0.015) 21px); }
.cta-banner-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-banner h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.65); margin-bottom: 2rem; font-size: 1rem; font-weight: 450; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* FOOTER */
footer { background: #080f0a; padding: 4rem 2rem 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 4rem; margin-bottom: 3rem; }
.footer-brand h3 { font-family: "Bookman Old Style", serif; color: #99732b; font-size: 1.2rem; margin-bottom: 0.5rem; }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.4); line-height: 1.7; max-width: 280px; font-weight: 400; }
.footer-col h4 { font-family: 'Playfair Display', serif; color: var(--gold); font-size: 0.9rem; margin-bottom: 1.25rem; letter-spacing: 0.05em; text-transform: uppercase; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col ul li a { font-size: 0.82rem; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-col ul li { font-size: 0.82rem; color: rgba(255,255,255,0.4); display: flex; align-items: center; gap: 7px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.25); }
.footer-peradi { font-size: 0.72rem; color: rgba(255,255,255,0.2); letter-spacing: 0.08em; }

/* FLOATING WA */
.floating-wa {
  position: fixed !important; bottom: 28px !important; right: 28px !important; background: #25D366; color: white; width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(37,211,102,0.4); z-index: 9999 !important; transition: transform 0.2s;
}
.floating-wa:hover { transform: scale(1.1); }
.floating-wa svg { width: 26px; height: 26px; fill: currentColor; }

/* PAGE TRANSITIONS */
.fade-in { animation: fadeIn 0.5s ease forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

main { animation: slideUp 0.6s ease-out forwards; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .hero-label { justify-content: center; }
  .hero-desc { margin: 0 auto 2.5rem; }
  .hero-actions { justify-content: center; }
  .hero-monogram { order: -1; }
  .monogram-ring { width: 200px; height: 200px; }
  .monogram-letters { font-size: 5rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-badge { bottom: 1rem; right: 1rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-grid > .footer-col:last-child { grid-column: 1 / -1; }
  .hamburger { display: flex; }
  .nav-links { display: none; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand, .footer-grid > .footer-col:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .section { padding: 4rem 1.25rem; }
  .legal-content { padding: 2rem 1.25rem; }
}
