/* Page-specific styles */

/* ===== HERO ===== */
.hero {
  background: linear-gradient(160deg, #f8faf2 0%, #edf2e0 100%);
  border-bottom: 1px solid #dde8c8;
  padding: 56px 24px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -56px;
  background-image: radial-gradient(circle, rgba(98,181,23,0.13) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
  animation: hero-drift 22s linear infinite;
  pointer-events: none;
  z-index: 0;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1.1;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  animation: fade-up 0.45s ease both;
}
.hero h1 em {
  font-style: normal;
  color: #62b517;
  position: relative;
}
.hero h1 em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 4px;
  background: #d1db24;
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  animation: underline-grow 0.4s 0.5s ease forwards;
}
.hero p {
  font-size: 16px;
  color: #666;
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  animation: fade-up 0.45s 0.15s ease both;
}

/* ===== SECTIONS ===== */
.contact-section {
  padding: 64px 24px;
}
.contact-container {
  max-width: 720px;
  margin: 0 auto;
}

/* Form section. Light with subtle square grid */
.contact-section.bg-white {
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='39' height='39' fill='none' stroke='%2362b517' stroke-opacity='0.07' stroke-width='1'/%3E%3Ccircle cx='0' cy='0' r='1.5' fill='%2362b517' fill-opacity='0.09'/%3E%3Ccircle cx='40' cy='0' r='1.5' fill='%2362b517' fill-opacity='0.09'/%3E%3Ccircle cx='0' cy='40' r='1.5' fill='%2362b517' fill-opacity='0.09'/%3E%3Ccircle cx='40' cy='40' r='1.5' fill='%2362b517' fill-opacity='0.09'/%3E%3C/svg%3E");
  background-size: 40px 40px;
}

/* LinkedIn section. Solid sage, no pattern */
.contact-section.bg-sage {
  background: #f4fae8;
}

/* ===== SECTION LABEL ===== */
.section-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #62b517;
  border-left: 4px solid #d1db24;
  padding-left: 10px;
  margin-bottom: 20px;
}

/* ===== GOOGLE FORM EMBED ===== */
.google-form-frame {
  width: 100%;
  min-height: 850px;
  border: none;
  border-radius: 9px;
  display: block;
}

/* ===== LINKEDIN CARD ===== */
.linkedin-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #fff;
  border: 2px solid #c8dfa0;
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: 0 4px 20px rgba(98,181,23,0.1);
}
.linkedin-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: #0a66c2;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.linkedin-icon svg { width: 28px; height: 28px; fill: #fff; }
.linkedin-body { flex: 1; }
.linkedin-body strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 4px;
}
.linkedin-body p {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}
.btn-linkedin {
  flex-shrink: 0;
  padding: 11px 20px;
  background: #0a66c2;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  border-radius: 9px;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
  white-space: nowrap;
}
.btn-linkedin:hover { background: #084e96; transform: scale(1.02); }

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .contact-section { padding: 48px 20px; }
  .linkedin-card {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }
  .linkedin-body { text-align: center; }
}
