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

:root {
  --color-bg: #e6f0ee;
  --color-surface: #f0f7f5;
  --color-text: #2e3836;
  --color-text-muted: #5e706b;
  --color-accent: #6a9e8f;
  --color-accent-light: #d4e8e2;
  --color-accent-dark: #4a7d6e;
  --color-border: #c8d8d3;
  --color-warm: #8fa5a0;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1100px;
  --spacing: 2rem;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-accent-dark);
}

img {
  max-width: 100%;
  display: block;
}

/* ── Typography ── */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }

/* ── Layout ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing);
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(230, 240, 238, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.nav-logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.nav-logo span {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-text);
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  transition: 0.3s;
}

/* ── Hero ── */
.hero {
  padding: 10rem 0 6rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.hero-content {
  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.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-warm);
  margin-bottom: 0.5rem;
  margin-right: 0.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--color-warm);
  border-radius: 2px;
}

.hero-label:last-of-type {
  margin-bottom: 1.5rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.hero p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 440px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-graphic {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  position: relative;
}

.hero-graphic .line {
  position: absolute;
  background: var(--color-border);
}

.hero-graphic .line-h {
  height: 1px;
  width: 100%;
  left: 0;
}

.hero-graphic .line-v {
  width: 1px;
  height: 100%;
  top: 0;
}

.hero-graphic .line-1 { top: 10%; }
.hero-graphic .line-2 { top: 85%; }
.hero-graphic .line-3 { top: 50%; }
.hero-graphic .line-4 { left: 12%; }
.hero-graphic .line-5 { left: 88%; }

.hero-graphic .accent-block {
  position: absolute;
  background: var(--color-accent-light);
  border: 1px solid var(--color-accent);
  opacity: 0.6;
}

.hero-graphic .accent-block-1 {
  top: 0;
  left: 0;
  width: 30%;
  height: 25%;
}

.hero-graphic .accent-block-2 {
  bottom: 0;
  right: 0;
  width: 30%;
  height: 25%;
}

.hero-graphic .accent-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  z-index: 2;
}

.hero-graphic .dot-1 { top: 10%; left: 12%; transform: translate(-50%, -50%); }
.hero-graphic .dot-2 { top: 85%; right: 12%; transform: translate(50%, 50%); }
.hero-graphic .dot-3 { top: 50%; left: 12%; transform: translate(-50%, -50%); }

.hero-photo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 3px solid var(--color-border);
  z-index: 1;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--color-accent);
  color: white;
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-text);
}

.btn-group {
  display: flex;
  gap: 1rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.hero-actions-row {
  display: flex;
  gap: 1rem;
}

/* ── Sections ── */
.section {
  padding: 6rem 0;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--color-text-muted);
  max-width: 520px;
}

.section-divider {
  width: 48px;
  height: 1px;
  background: var(--color-warm);
  margin-bottom: 1.5rem;
}

/* ── Content Cards ── */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 2rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.card-type {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-warm);
  margin-bottom: 0.75rem;
}

.pillar-card {
  border-left: 3px solid var(--color-accent);
  padding: 2.5rem 2rem 2rem;
  position: relative;
}

.pillar-card:hover {
  border-left-color: var(--color-accent-dark);
}

.pillar-number {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 1rem;
}

.pillar-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.pillar-card p {
  margin-bottom: 0;
}

.cta-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 2px dashed var(--color-accent);
  background: var(--color-accent-light);
  text-align: center;
  padding: 2.5rem 2rem;
}

.cta-card h3 {
  margin-bottom: 0.75rem;
  color: var(--color-accent-dark);
}

.cta-card p {
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
}

.cta-card:hover {
  border-color: var(--color-accent-dark);
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.card-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
}

.about-text p:first-of-type {
  font-size: 1.1rem;
  color: var(--color-text);
}

.about-details {
  border-left: 1px solid var(--color-border);
  padding-left: 2rem;
}

.about-detail {
  margin-bottom: 2rem;
}

.about-detail h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-warm);
  margin-bottom: 0.5rem;
}

.about-detail p, .about-detail ul {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.about-detail ul {
  list-style: none;
}

.about-detail li {
  padding: 0.25rem 0;
}

/* ── Contact ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info p {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.contact-links {
  list-style: none;
}

.contact-links li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-links .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.form-group input,
.form-group textarea {
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  display: none;
}

.form-status.success {
  display: block;
  background: #e8f5e8;
  color: #2d6b2d;
  border: 1px solid #c4e0c4;
}

.form-status.error {
  display: block;
  background: #fde8e8;
  color: #8b2d2d;
  border: 1px solid #e0c4c4;
}

/* ── Footer ── */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--color-border);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-text {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  :root {
    --spacing: 1.25rem;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: 1rem var(--spacing);
    gap: 0.5rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-mobile-toggle {
    display: block;
  }

  .hero {
    padding: 8rem 0 4rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-visual {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-details {
    border-left: none;
    border-top: 1px solid var(--color-border);
    padding-left: 0;
    padding-top: 2rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .btn-group {
    flex-direction: column;
  }

  .footer .container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
