/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #FDFCFA;
  --bg-alt: #F5F3EF;
  --text: #1C1C1C;
  --text-muted: #6B6560;
  --accent: #C17829;
  --accent-hover: #A8641E;
  --accent-light: rgba(193,120,41,0.08);
  --navy: #1B2A3D;
  --border: #E4E0DA;
  --radius: 10px;
  --max-w: 1120px;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', 'Source Sans Pro', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }

/* ===== LAYOUT ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(253,252,250,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between; height: 68px;
}
.nav-logo {
  font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700;
  color: var(--navy); text-decoration: none; letter-spacing: -0.01em;
}
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-size: 0.92rem; font-weight: 600; color: var(--text-muted);
  text-decoration: none; letter-spacing: 0.02em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

/* ===== HERO ===== */
.hero {
  padding: 10rem 0 6rem;
  position: relative;
}
.hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 100%;
  background: linear-gradient(165deg, var(--bg) 50%, var(--bg-alt) 100%);
  z-index: -1;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero-text { max-width: 520px; }
.hero-label {
  display: inline-block; font-size: 0.82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent);
  margin-bottom: 1.2rem;
  background: var(--accent-light); padding: 0.4rem 1rem; border-radius: 100px;
}
.hero-text h1 { margin-bottom: 1.5rem; }
.hero-text p { font-size: 1.12rem; color: var(--text-muted); margin-bottom: 2rem; }
.hero-photo-wrap {
  display: flex; justify-content: center; align-items: center;
}
.hero-photo {
  width: 340px; height: 340px; border-radius: 50%;
  object-fit: cover; object-position: center top;
  border: 6px solid #fff;
  box-shadow: 0 20px 60px rgba(27,42,61,0.12), 0 4px 16px rgba(0,0,0,0.06);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 2rem; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 700;
  text-decoration: none; transition: all 0.25s ease; cursor: pointer; border: none;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 2px 8px rgba(193,120,41,0.25);
}
.btn-primary:hover {
  background: var(--accent-hover); color: #fff;
  box-shadow: 0 4px 16px rgba(193,120,41,0.35);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent; color: var(--navy);
  border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ===== SERVICES / FEATURES ===== */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-header p { color: var(--text-muted); font-size: 1.08rem; margin-top: 1rem; }

.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.feature-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2.5rem 2rem; transition: all 0.3s ease;
}
.feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(27,42,61,0.08);
  transform: translateY(-3px);
}
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-light); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem; font-size: 1.4rem;
}
.feature-card h3 { margin-bottom: 0.75rem; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0; }

/* ===== PROCESS ===== */
.process-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  counter-reset: step;
}
.process-step {
  position: relative; padding: 2rem; text-align: center;
  counter-increment: step;
}
.process-step::before {
  content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin: 0 auto 1.5rem;
  background: var(--navy); color: #fff; border-radius: 50%;
  font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700;
}
.process-step h3 { margin-bottom: 0.75rem; }
.process-step p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--navy); color: #fff; padding: 5rem 0; text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 540px; margin: 0 auto 2rem; }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border); padding: 3rem 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 0.88rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  font-size: 0.88rem; color: var(--text-muted); text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }

/* ===== LEGAL / INNER PAGES ===== */
.page-header {
  padding: 9rem 0 3rem;
  background: var(--bg-alt);
  text-align: center;
}
.page-header p { color: var(--text-muted); margin-top: 0.75rem; }
.page-content {
  max-width: 740px; margin: 0 auto; padding: 3rem 2rem 5rem;
}
.page-content h2 { font-size: 1.4rem; margin: 2.5rem 0 1rem; }
.page-content h3 { font-size: 1.15rem; margin: 2rem 0 0.75rem; }
.page-content p, .page-content li { color: var(--text-muted); font-size: 0.97rem; }
.page-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.page-content li { margin-bottom: 0.5rem; }
.page-content a { color: var(--accent); }

/* ===== CONTACT PAGE ===== */
.contact-card {
  max-width: 560px; margin: 0 auto; padding: 3rem;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  text-align: center;
}
.contact-photo {
  width: 100px; height: 100px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 3px solid var(--border);
}
.contact-card h3 { margin-bottom: 0.5rem; }
.contact-card p { color: var(--text-muted); margin-bottom: 1.5rem; }
.contact-email {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 1.1rem; font-weight: 600; color: var(--accent);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0; animation: fadeUp 0.7s ease forwards;
}
.fade-up-d1 { animation-delay: 0.1s; }
.fade-up-d2 { animation-delay: 0.2s; }
.fade-up-d3 { animation-delay: 0.3s; }
.fade-up-d4 { animation-delay: 0.4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-text { max-width: 100%; }
  .hero-photo-wrap { order: -1; }
  .hero-photo { width: 260px; height: 260px; }
  .features-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .process-steps { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.82rem; }
  .hero { padding: 8rem 0 4rem; }
  .section { padding: 3.5rem 0; }
  .footer-inner { flex-direction: column; text-align: center; }
}
