/* ============================================
   CSS Custom Properties
   ============================================ */
:root {
  --bg: #FAF8F4;
  --bg-secondary: #F5F2EC;
  --white: #FFFFFF;
  --primary: #C67A52;
  --primary-15: #C67A5226;
  --text-dark: #2C2C2C;
  --text-mid: #6B6B6B;
  --text-muted: #9A9A9A;
  --divider: #E5E2DC;
  --green: #5A9E6F;
  --blue: #3B82F6;
  --font: 'IBM Plex Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.5;
}

img { display: block; width: 100%; object-fit: cover; }

a { text-decoration: none; color: inherit; }

/* ============================================
   Utility
   ============================================ */
.divider {
  height: 1px;
  background: var(--divider);
  width: 100%;
}

.text-muted { color: var(--text-muted); }
.text-sm { font-size: 13px; }

.icon-sm { width: 16px; height: 16px; flex-shrink: 0; }
.icon-footer { width: 18px; height: 18px; color: var(--text-muted); }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  font-family: var(--font);
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
  border: none;
}

.btn:hover { opacity: 0.85; }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  padding: 14px 28px;
  font-size: 15px;
}

.btn-secondary {
  background: transparent;
  color: var(--text-dark);
  padding: 14px 28px;
  font-size: 15px;
  border: 1px solid var(--divider);
}

.btn-dark {
  background: var(--text-dark);
  color: var(--white);
  padding: 14px 28px;
  font-size: 15px;
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--divider);
}

.btn-full { width: 100%; justify-content: center; }

/* ============================================
   Section Labels
   ============================================ */
.section-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.section-title {
  font-size: 36px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  text-align: center;
}

/* ============================================
   Nav
   ============================================ */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 64px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--divider);
}

.nav-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  transition: color 0.15s;
}

.nav-link:hover { color: var(--text-dark); }

.nav-cta {
  padding: 10px 24px;
  font-size: 14px;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 80px 64px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 28px;
  flex: 1;
}

.role-tag {
  display: flex;
  align-items: center;
  gap: 8px;
}

.role-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.role-tag span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
}

.hero-headline {
  font-size: 44px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.hero-sub {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.6;
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-photo {
  width: 400px;
  height: 480px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   Sections
   ============================================ */
.section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 72px 64px;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

/* ============================================
   Service Cards
   ============================================ */
.service-cards {
  display: flex;
  gap: 24px;
  width: 100%;
  margin-top: 48px;
}

.card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.3px;
}

.card-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}

.svc-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
}

.qualifier {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: center;
  max-width: 700px;
}

/* ============================================
   About
   ============================================ */
.about-section {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}

.about-title {
  font-size: 32px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.body-text {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.65;
}

.edu-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.edu-tag {
  background: var(--bg-secondary);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-mid);
}

.about-photos {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 420px;
  flex-shrink: 0;
}

.about-photo-1 {
  width: 100%;
  height: 320px;
  border-radius: 16px;
  object-fit: cover;
}

.about-photo-2 {
  width: 100%;
  height: 240px;
  border-radius: 16px;
  object-fit: cover;
}

.photo-caption {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================
   Materia Teaser
   ============================================ */
.materia-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 64px;
  background: var(--white);
  width: 100%;
}

.materia-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.materia-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 0;
}

.materia-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.materia-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}

.materia-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.5;
}

/* ============================================
   Credibility
   ============================================ */
.cred-header {
  text-align: center;
}

.logo-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 24px 48px;
  width: 100%;
  flex-wrap: wrap;
  gap: 16px;
}

.logo-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
}

.testimonials {
  display: flex;
  gap: 24px;
  width: 100%;
  margin-top: 0;
}

.testimonial-text {
  font-size: 14px;
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.6;
}

.testimonial-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

/* ============================================
   Knowledge Garden
   ============================================ */
.garden-section {
  background: var(--bg-secondary);
  padding: 72px 64px;
}

.garden-inner {
  display: flex;
  gap: 64px;
  align-items: flex-start;
  max-width: 1440px;
  margin: 0 auto;
}

.garden-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.garden-title {
  font-size: 32px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.garden-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 400px;
  flex-shrink: 0;
}

.note-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: 12px;
  padding: 16px 20px;
}

.note-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.note-tags {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ============================================
   Final CTA
   ============================================ */
.cta-section {
  display: flex;
  gap: 64px;
  align-items: flex-start;
  background: var(--white);
  max-width: 100%;
  padding: 80px 64px;
}

.cta-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.cta-title {
  font-size: 36px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.cta-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-link {
  font-size: 14px;
  color: var(--text-mid);
  transition: color 0.15s;
}

.contact-link:hover { color: var(--text-dark); }

.contact-form {
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 480px;
  flex-shrink: 0;
}

.form-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.3px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
}

.form-input {
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--divider);
  background: var(--white);
  padding: 0 14px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text-dark);
  width: 100%;
  outline: none;
  transition: border-color 0.15s;
}

.form-input:focus { border-color: var(--primary); }

.form-textarea {
  height: 100px;
  border-radius: 8px;
  border: 1px solid var(--divider);
  background: var(--white);
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text-dark);
  width: 100%;
  outline: none;
  resize: vertical;
  transition: border-color 0.15s;
}

.form-textarea:focus { border-color: var(--primary); }

.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); }

/* ============================================
   Footer
   ============================================ */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 64px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-tagline {
  font-size: 12px;
  font-style: italic;
  color: var(--text-muted);
}

.footer-right a {
  transition: opacity 0.15s;
}

.footer-right a:hover { opacity: 0.6; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .nav { padding: 18px 32px; }
  .hero { padding: 60px 32px; gap: 40px; }
  .hero-photo { width: 320px; height: 380px; }
  .section { padding: 60px 32px; }
  .about-section { flex-direction: column; }
  .about-photos { width: 100%; }
  .about-photo-1 { height: 260px; }
  .about-photo-2 { height: 200px; }
  .materia-teaser { padding: 40px 32px; }
  .garden-section { padding: 60px 32px; }
  .garden-inner { flex-direction: column; }
  .garden-visual { width: 100%; }
  .cta-section { flex-direction: column; padding: 60px 32px; }
  .contact-form { width: 100%; }
  .footer { padding: 32px; }
}

@media (max-width: 768px) {
  .nav { padding: 16px 20px; gap: 16px; flex-wrap: wrap; }
  .nav-links { gap: 16px; flex-wrap: wrap; }
  .nav-link { display: none; }
  .hero { flex-direction: column; padding: 48px 20px; }
  .hero-photo { width: 100%; height: 320px; }
  .hero-headline { font-size: 32px; }
  .section { padding: 48px 20px; }
  .section-title { font-size: 28px; }
  .service-cards { flex-direction: column; }
  .testimonials { flex-direction: column; }
  .materia-teaser { flex-direction: column; padding: 32px 20px; }
  .logo-row { padding: 16px 20px; }
  .garden-section { padding: 48px 20px; }
  .cta-section { padding: 48px 20px; }
  .cta-title { font-size: 28px; }
  .footer { padding: 24px 20px; flex-direction: column; align-items: flex-start; gap: 12px; }
}
