:root {
  --bg: #FAFAFA;
  --text: #1A1A1A;
  --accent: #224A34;
  --accent-hover: #2D5A42;
  --muted: #6B6B6B;
  --border: #E5E5E5;
  --card-bg: #F5F5F0;
  --footer-bg: #1A3A2A;
  --font-heading: 'Instrument Serif', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --max-width: 1200px;
  --section-padding: 120px;
}

html {
  scroll-behavior: smooth;
}

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

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

.container {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ============================================
   Header & Navigation
   ============================================ */

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: transform 0.35s ease, box-shadow 0.3s;
}

header.hidden {
  transform: translateY(-100%);
}

header.scrolled {
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.04);
}

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

.logo {
  text-decoration: none;
  color: var(--text);
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;
  display: block;
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
}

.nav-list {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-list a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.3s;
}

.nav-list a:hover {
  color: var(--accent);
}

.lang-toggle {
  display: flex;
  background: var(--border);
  border-radius: 20px;
  padding: 2px;
  gap: 2px;
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 6px 14px;
  border-radius: 18px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--font-body);
  color: var(--text);
}

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

.nav-toggle {
  display: none;
}

.nav-lang-mobile {
  display: none;
}

/* ============================================
   Hero Section
   ============================================ */

#hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-content {
  text-align: left;
  max-width: 700px;
  margin: 0 auto;
}

.hero-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  letter-spacing: 0;
  text-transform: none;
}

.hero-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

#hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 24px;
}

#hero h1 em {
  font-style: italic;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted);
  max-width: 520px;
  margin: 0 0 40px;
  line-height: 1.7;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: white;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  letter-spacing: 0;
  text-transform: none;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(26, 58, 42, 0.15);
}

.btn-arrow {
  font-size: 16px;
  transition: transform 0.3s;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(2px);
}

/* ============================================
   Section Shared Styles
   ============================================ */

#about,
#services,
#process,
#testimonials,
#contact {
  padding: var(--section-padding) 0;
}

.section-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  letter-spacing: 0;
  text-transform: none;
}

.section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

section h2 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.15;
}

section h2 em {
  font-style: italic;
}

section p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
  opacity: 0.7;
  margin-bottom: 20px;
}

/* ============================================
   About / Philosophy Section
   ============================================ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-quote blockquote {
  border-left: none;
  padding: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
}

.about-quote blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 36px);
  font-style: italic;
  line-height: 1.4;
  opacity: 1;
  color: var(--text);
}

.about-quote cite {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
  display: block;
  margin-top: 20px;
  font-style: normal;
}

/* ============================================
   Services Section
   ============================================ */

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-desc {
  font-size: 17px;
  opacity: 0.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--card-bg);
  padding: 40px 32px;
  border-radius: 12px;
  border: none;
  border-top: none;
  box-shadow: none;
  transition: all 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.service-card svg {
  width: 36px;
  height: 36px;
  stroke: var(--text);
  stroke-width: 1.5;
  fill: none;
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.6;
}

/* ============================================
   Process / Timeline Section
   ============================================ */

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 24px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 1px;
  background: var(--border);
}

.timeline-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}

.timeline-step h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 12px;
}

.timeline-step p {
  font-size: 15px;
  opacity: 0.6;
  line-height: 1.7;
}

/* ============================================
   Testimonials Section
   ============================================ */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 12px;
  box-shadow: none;
}

.testimonial-card svg {
  width: 28px;
  height: 28px;
  fill: var(--text);
  opacity: 0.15;
  margin-bottom: 20px;
}

.testimonial-card > p {
  font-size: 16px;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
  opacity: 0.8;
  font-family: var(--font-heading);
}

.testimonial-author strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.testimonial-author span {
  font-size: 13px;
  color: var(--muted);
}

/* ============================================
   Contact Section
   ============================================ */

#contact {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-details {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-details > div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

.contact-details svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
}

.contact-details a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-details a:hover {
  color: var(--accent);
}

.contact-form {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 12px;
  box-shadow: none;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 8px;
  font-family: var(--font-body);
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.3s;
}

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

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn-primary {
  width: 100%;
  justify-content: center;
}

/* ============================================
   Footer CTA Section
   ============================================ */

.footer-cta {
  background: var(--footer-bg);
  padding: 100px 0 80px;
  text-align: center;
}

.footer-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 400;
  color: #FAFAFA;
  line-height: 1.15;
  margin-bottom: 40px;
}

.footer-cta h2 em {
  font-style: italic;
}

.btn-light {
  background: #FAFAFA;
  color: var(--text);
}

.btn-light:hover {
  background: #FFFFFF;
  color: var(--text);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

/* ============================================
   Footer
   ============================================ */

footer {
  background: var(--footer-bg);
  color: #FAFAFA;
  padding: 60px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo-name {
  color: #FAFAFA;
}

.footer-brand .logo-sub {
  color: var(--muted);
}

.footer-tagline {
  margin-top: 16px;
  font-size: 15px;
  opacity: 0.5;
  line-height: 1.7;
}

footer h4 {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 500;
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 10px;
}

footer a {
  color: #FAFAFA;
  opacity: 0.6;
  text-decoration: none;
  transition: opacity 0.3s;
}

footer a:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  opacity: 0.4;
}

.footer-social a {
  display: flex;
  opacity: 0.6;
}

.footer-social a:hover {
  opacity: 1;
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: #FAFAFA;
}

/* ============================================
   Reveal Animation
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays */
.services-grid .service-card:nth-child(2) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.2s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.3s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.4s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.5s; }

.timeline-step:nth-child(2) { transition-delay: 0.15s; }
.timeline-step:nth-child(3) { transition-delay: 0.3s; }
.timeline-step:nth-child(4) { transition-delay: 0.45s; }

.testimonial-card:nth-child(2) { transition-delay: 0.1s; }
.testimonial-card:nth-child(3) { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
  :root {
    --section-padding: 80px;
  }

  /* Mobile Navigation */
  .lang-toggle {
    display: none;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
  }

  .bar {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: 0.3s;
  }

  .nav-list {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
    z-index: 999;
  }

  .nav-list.open {
    opacity: 1;
    visibility: visible;
  }

  .nav-list a {
    font-family: var(--font-heading);
    font-size: clamp(32px, 8vw, 48px);
    font-weight: 400;
    color: var(--text);
    opacity: 0.3;
    transition: opacity 0.3s;
  }

  .nav-list a:hover {
    opacity: 1;
    color: var(--text);
  }

  .nav-lang-mobile {
    display: flex;
    gap: 8px;
    margin-top: 24px;
  }

  .nav-lang-mobile .lang-btn {
    display: block;
    background: transparent;
    border: 1px solid var(--border);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    font-family: var(--font-body);
    transition: all 0.3s;
  }

  .nav-lang-mobile .lang-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
  }

  .nav-toggle {
    z-index: 1001;
  }

  .nav-toggle.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.open .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Mobile Hero */
  .hero-content {
    max-width: 100%;
  }

  /* Mobile About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Mobile Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile Timeline */
  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    width: 1px;
    height: 100%;
    left: 24px;
    top: 0;
    right: auto;
  }

  .timeline-step {
    text-align: left;
    padding-left: 72px;
  }

  .step-number {
    position: absolute;
    left: 0;
  }

  /* Mobile Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Mobile Footer */
  .footer-inner {
    grid-template-columns: 1fr;
  }

  /* Mobile Footer CTA */
  .footer-cta {
    padding: 80px 0 60px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* Tablet Services */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Tablet Testimonials */
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
