/* ==========================================================
   SOWAYA | page.css
   Shared by every inner page (About, Operations, Products...).
   Load before the page's own stylesheet.
   ========================================================== */

.page-hero {
  padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3.5rem, 7vw, 6rem);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.crumbs {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
  font-size: 0.86rem;
  color: var(--muted);
}
.crumbs a {
  color: var(--muted);
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--green);
  text-decoration: underline;
}
.crumbs [aria-current] {
  color: var(--green-ink);
  font-weight: 500;
}
.page-hero h1 {
  max-width: 16ch;
  margin: 0 0 1.5rem;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  line-height: 1.04;
  color: var(--green-ink);
}
.page-hero h1 em {
  font-style: italic;
  color: var(--green);
}
.page-hero__intro {
  max-width: 40rem;
  margin: 0;
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- Forms (shared) ---------- */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.25rem;
}
.field {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.field--half {
  grid-column: auto;
}
.field label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green-ink);
}
.field__opt {
  font-weight: 400;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(36, 43, 39, 0.28);
  border-radius: 14px;
  background: var(--white);
  color: var(--charcoal);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.field textarea {
  resize: vertical;
  min-height: 9rem;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #8a948d;
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--green);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(217, 162, 39, 0.35);
}
.field--error input,
.field--error select,
.field--error textarea {
  border-color: #b3382c;
}
.field__error {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 500;
  color: #b3382c;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.notice {
  margin: 0 0 1.75rem;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.notice--success {
  background: #e3efe6;
  color: var(--green-deep);
  border: 1px solid rgba(31, 90, 58, 0.3);
}
.notice--error {
  background: #f6e3e0;
  color: #8a2a20;
  border: 1px solid rgba(179, 56, 44, 0.3);
}
@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .field--half {
    grid-column: 1 / -1;
  }
}
