/* ─── Base & Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  background: #faf8f5;
  color: #3d2e1f;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}

h1, h2, h3, .font-serif {
  font-family: "Playfair Display", ui-serif, Georgia, serif;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.hidden { display: none !important; }

/* ─── Design Tokens ─── */
:root {
  --bg: #faf8f5;
  --fg: #3d2e1f;
  --card: #fdfcfa;
  --muted: #7a6b5a;
  --accent: #a0522d;
  --primary: #d4842a;
  --primary-fg: #fffaf0;
  --secondary: #f0ebe3;
  --border: #e5ddd3;
  --shadow-soft: 0 8px 24px -12px rgba(61,46,31,0.12);
  --shadow-warm: 0 20px 50px -20px rgba(160,82,45,0.25);
  --gradient-warm: linear-gradient(180deg, #faf8f5, #f0ebe3);
}

/* ─── Container ─── */
.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── Header / Nav ─── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(250,248,245,0.7);
  border-bottom: 1px solid rgba(229,221,211,0.6);
}

nav {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Playfair Display", serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fg);
}

.brand img { height: 3.5rem; width: 3.5rem; object-fit: contain; }

.nav-links { display: none; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: end;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-fg);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.9; }
.btn-primary span { display: none; }

#menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  transition: background 0.2s;
}
#menu-toggle:hover { background: var(--secondary); }

.mobile-nav {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  border-top: 1px solid rgba(229,221,211,0.6);
  background: rgba(250,248,245,0.95);
  backdrop-filter: blur(12px);
}
.mobile-nav.open { max-height: 20rem; }
.mobile-nav a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--muted);
  border-bottom: 1px solid rgba(229,221,211,0.4);
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--fg); }
.mobile-nav a:last-child { border-bottom: none; }

@media (min-width: 768px) {
  nav { grid-template-columns: 1fr 1fr 1fr; height: 6rem; }
  .nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-self: center;
    font-size: 0.875rem;
    color: var(--muted);
  }
  .nav-links a { transition: color 0.2s; }
  .nav-links a:hover { color: var(--fg); }
  #menu-toggle { display: none; }
  .btn-primary span { display: inline; }
  .brand img { height: 4rem; width: 4rem; }
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  padding: 0 1.5rem;
  text-align: center;
  color: #fffaf0;
  animation: rise-in 0.8s ease-out both;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.hero-content h1 {
  margin-top: 1.5rem;
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.05;
}

.hero-content > p {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: rgba(255,250,240,0.9);
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.btn-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: var(--bg);
  color: var(--fg);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.3);
  transition: transform 0.2s;
}
.btn-light:hover { transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fffaf0;
  transition: background 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

.hero-sub {
  margin-top: 2rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,250,240,0.7);
}

@media (min-width: 640px) {
  .hero { padding-top: 6rem; }
  .hero-content h1 { font-size: 3.75rem; }
  .hero-content > p { font-size: 1.125rem; }
  .hero-buttons { flex-direction: row; justify-content: center; }
}

/* ─── Vision ─── */
.vision {
  padding: 6rem 0;
  background: var(--gradient-warm);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.vision h2 {
  margin-top: 1rem;
  font-size: 2.25rem;
  color: var(--fg);
}

.vision p {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .vision { padding: 8rem 0; }
  .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
  .vision h2 { font-size: 3rem; }
}

/* ─── Mission ─── */
.mission {
  padding: 6rem 0;
  background: var(--bg);
}

.mission h2 {
  margin-top: 1rem;
  font-size: 2.25rem;
  color: var(--fg);
}

.mission > .grid-2 > div:first-child > p {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.7;
}

.pillars { margin-top: 2rem; }
.pillars li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
  margin-bottom: 1.25rem;
}
.pillars li:last-child { margin-bottom: 0; }

.pillar-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: 0.75rem;
  background: var(--secondary);
  color: var(--accent);
}

.pillars h3 {
  font-size: 1.25rem;
  color: var(--fg);
}
.pillars p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted);
}

@media (min-width: 768px) {
  .mission { padding: 8rem 0; }
  .mission h2 { font-size: 3rem; }
  .pillars { margin-top: 0; }
}

/* ─── Services ─── */
.services {
  padding: 6rem 0;
  background: var(--bg);
  border-top: 1px solid rgba(229,221,211,0.6);
}

.services .section-header { max-width: 40rem; }
.services .section-header h2 {
  margin-top: 1rem;
  font-size: 2.25rem;
  color: var(--fg);
}
.services .section-header > p {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--muted);
}

.service-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(229,221,211,0.6);
}

.service {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.service-watermark {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 11rem;
  height: 11rem;
  color: var(--fg);
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
}

.service-content {
  position: relative;
  z-index: 1;
}

.service h3 {
  font-size: 1.5rem;
  color: var(--fg);
  line-height: 1.2;
}
.service p {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

@media (min-width: 640px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .services { padding: 8rem 0; }
  .services .section-header h2 { font-size: 3rem; }
  .service-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .service { padding: 2.5rem; }
}

/* ─── Team ─── */
.team {
  padding: 6rem 0;
  background: var(--gradient-warm);
}

.team .section-header { max-width: 40rem; }
.team .section-header h2 {
  margin-top: 1rem;
  font-size: 2.25rem;
  color: var(--fg);
}
.team .section-header > p {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--muted);
}

.team-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(160,82,45,0.4);
  box-shadow: 0 10px 30px -10px rgba(61,46,31,0.15);
}

.team-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  background: var(--secondary);
  color: var(--accent);
  padding: 0.25rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.team-card h3 {
  margin-top: 1.25rem;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--fg);
}

.team-sep {
  margin-top: 1rem;
  display: block;
  width: 2.5rem;
  height: 1px;
  background: var(--border);
  transition: background 0.3s;
}
.team-card:hover .team-sep { background: rgba(160,82,45,0.5); }

.team-role {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

@media (min-width: 640px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .team { padding: 8rem 0; }
  .team .section-header h2 { font-size: 3rem; }
  .team-grid { grid-template-columns: 1fr 1fr 1fr 1fr 1fr; }
}

/* ─── Contact ─── */
.contact {
  padding: 6rem 0;
  background: var(--bg);
}

.contact-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  padding: 2.5rem;
  text-align: center;
  color: #fffaf0;
  box-shadow: var(--shadow-warm);
}

.contact-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.78) 100%);
}

.contact-content {
  position: relative;
  z-index: 10;
}

.contact-content h2 {
  margin-top: 1.25rem;
  font-size: 2.25rem;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.55);
}

.contact-content > p {
  margin-top: 1rem;
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.contact-buttons {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 9999px;
  background: var(--bg);
  color: var(--fg);
  padding: 1rem 1.75rem;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.3);
  transition: transform 0.2s;
  word-break: break-all;
}
.btn-contact:hover { transform: translateY(-1px); }
.btn-contact svg { color: var(--primary); flex-shrink: 0; }

.contact-note {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: rgba(255,250,240,0.8);
}

@media (min-width: 640px) {
  .contact-card { padding: 4rem; }
  .contact-content h2 { font-size: 3rem; }
  .contact-buttons { flex-direction: row; justify-content: center; }
  .btn-contact { font-size: 1.25rem; padding: 1rem 1.75rem; }
}

/* ─── Footer ─── */
footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Playfair Display", serif;
  color: var(--fg);
}
.footer-brand img { height: 1.75rem; width: 1.75rem; object-fit: contain; }

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ─── Animations ─── */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content { animation: none; }
}
