/* home.css — Homepage-specific styles */

/* NAV override: transparent border on homepage, revealed on scroll */
nav {
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
nav.scrolled { border-bottom-color: var(--border); }

/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 60px 80px;
  gap: 80px;
  position: relative;
  overflow: hidden;
}
.hero-left { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-accent);
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--green-light);
}
.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 5.5vw, 80px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--green-deep);
  margin-bottom: 28px;
}
.hero-headline em { font-style: italic; color: var(--green-accent); }
.hero-sub {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-mid);
  max-width: 420px;
  margin-bottom: 48px;
}
.hero-actions { display: flex; align-items: center; gap: 28px; }

.btn-primary {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--green-deep);
  padding: 16px 36px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.25s, transform 0.2s;
}
.btn-primary:hover { background: var(--green-mid); transform: translateY(-1px); }

.btn-ghost {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text-mid);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.btn-ghost::after { content: '→'; transition: transform 0.2s; }
.btn-ghost:hover { color: var(--green-mid); text-decoration-color: var(--green-light); }
.btn-ghost:hover::after { transform: translateX(4px); }

.hero-right { position: relative; z-index: 2; }
.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 48px;
  position: relative;
  box-shadow: 0 24px 80px rgba(26,61,43,0.08);
}
.hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-deep), var(--green-light));
  border-radius: 4px 4px 0 0;
}
.card-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-accent);
  margin-bottom: 32px;
}
.expertise-list { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.expertise-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.expertise-list li::before { display: none; }
.expertise-list li:last-child { border-bottom: none; padding-bottom: 0; }
.expertise-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  color: var(--green-light);
  min-width: 20px;
  padding-top: 2px;
}
.expertise-text strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 3px;
}
.expertise-text span {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-light);
  line-height: 1.5;
}

/* SERVICES */
.services {
  padding: 120px 60px;
  background: var(--off-white);
  position: relative;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 72px;
}
.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-accent);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--green-light);
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 3.5vw, 54px);
  font-weight: 300;
  line-height: 1.12;
  color: var(--green-deep);
}
.section-title em { font-style: italic; color: var(--green-accent); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.service-card {
  background: var(--white);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: default;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(26,61,43,0.1);
  z-index: 2;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--green-light);
  transition: width 0.4s;
}
.service-card:hover::after { width: 100%; }
.service-icon {
  width: 44px; height: 44px;
  background: var(--green-pale);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--green-accent);
}
.service-icon svg { width: 22px; height: 22px; }
.service-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--green-deep);
  margin-bottom: 14px;
}
.service-desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-light);
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-accent);
  text-decoration: none;
  margin-top: 20px;
  transition: gap 0.2s, color 0.2s;
}
.service-link::after { content: '→'; }
.service-link:hover { color: var(--green-mid); gap: 10px; }

/* FAQ (homepage) */
.faq { padding: 120px 60px; background: var(--white); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 72px;
}
.faq details.faq-item { background: var(--off-white); padding: 36px 40px; }
.faq .faq-question { font-size: 20px; }
.faq .faq-question::after { font-size: 22px; }

/* WHY */
.why {
  padding: 120px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.why-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.stat-block { background: var(--off-white); padding: 40px 36px; }
.stat-block:first-child { background: var(--green-deep); }
.stat-block:first-child .stat-num,
.stat-block:first-child .stat-label { color: var(--white); }
.stat-block:first-child .stat-label { opacity: 0.7; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  font-weight: 300;
  color: var(--green-deep);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-num sup { font-size: 24px; vertical-align: super; }
.stat-label { font-size: 13px; font-weight: 400; color: var(--text-light); letter-spacing: 0.04em; }
.why-text {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-mid);
  margin-top: 24px;
  margin-bottom: 40px;
}
.why-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.why-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-mid);
}
.why-list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green-light);
  border-radius: 50%;
  flex-shrink: 0;
}

/* CONTACT */
.contact {
  padding: 120px 60px;
  background: var(--green-deep);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  top: -300px; right: -300px;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(82,183,136,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
  position: relative;
  z-index: 2;
}
.contact-left .section-eyebrow { color: var(--green-light); }
.contact-left .section-eyebrow::before { background: var(--green-light); }
.contact-left .section-title { color: var(--white); }
.contact-desc {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
  margin-top: 24px;
  margin-bottom: 48px;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item { display: flex; align-items: center; gap: 14px; }
.contact-info-icon {
  width: 38px; height: 38px;
  border: 1px solid rgba(82,183,136,0.3);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-light);
}
.contact-info-icon svg { width: 18px; height: 18px; }
.contact-info-text {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
}
.contact-info-text strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 2px;
}
.contact-info-text a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}
.contact-info-text a:hover { color: var(--green-light); }

/* FORM */
.contact-form { background: var(--white); border-radius: 4px; padding: 48px; }
.form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--green-deep);
  margin-bottom: 32px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-dark);
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-light);
  background: var(--white);
}
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
  outline: 2px solid var(--green-light);
  outline-offset: 2px;
  border-color: var(--green-mid);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select { cursor: pointer; appearance: none; }

/* GDPR consent */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.form-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--green-accent);
  cursor: pointer;
}
.form-consent label {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-light);
  line-height: 1.5;
  cursor: pointer;
}
.form-consent label a { color: var(--green-accent); text-decoration: none; }
.form-consent label a:hover { text-decoration: underline; }

.form-submit {
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--green-deep);
  border: none;
  border-radius: 2px;
  padding: 16px;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
  margin-top: 8px;
}
.form-submit:hover { background: var(--green-mid); transform: translateY(-1px); }
.form-note {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-light);
  text-align: center;
  margin-top: 14px;
}
.form-success { display: none; padding: 40px 24px; }
.form-success .success-icon { margin-bottom: 16px; color: var(--green-light); }
.form-success .success-icon svg { width: 40px; height: 40px; }
.form-success h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--green-deep);
  margin-bottom: 10px;
}
.form-success > p { font-size: 14px; font-weight: 400; color: var(--text-light); margin-bottom: 0; }

/* Success — next steps */
.success-posts {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.success-posts-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 12px;
}
.success-posts a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-mid);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
  transition: color 0.2s;
}
.success-posts a:last-child { border-bottom: none; }
.success-posts a:hover { color: var(--green-mid); }
.success-posts a::after { content: '→'; color: var(--green-light); flex-shrink: 0; }

/* RESPONSIVE HOME */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding: 100px 32px 60px; }
  .hero-right { display: none; }
  .services { padding: 80px 32px; }
  .services-grid { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; padding: 80px 32px; gap: 60px; }
  .faq { padding: 80px 32px; }
  .faq-grid { grid-template-columns: 1fr; }
  .contact { padding: 80px 32px; }
  .contact-inner { grid-template-columns: 1fr; gap: 60px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
}
