/* Shared page-specific styles extracted from HTML inline blocks */

/* Page Hero */
.page-hero {
  position: relative;
  overflow: hidden;
  background: #f5f4f2;
  padding-top: 64px;
  border-bottom: 1px solid #ddd;
}
.page-hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; }
.page-hero::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(105deg, #f5f4f2 0%, #f5f4f2 35%, rgba(245,244,242,0.95) 50%, rgba(245,244,242,0.6) 70%, rgba(245,244,242,0.1) 100%); }
.page-hero__content { position: relative; z-index: 2; max-width: 1160px; margin: 0 auto; padding: 56px 32px 52px; }
.page-hero__overline { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #2d7a3a; margin-bottom: 14px; display: block; }
.page-hero__title { font-size: clamp(32px, 4.5vw, 56px); font-weight: 700; line-height: 1.05; letter-spacing: -.03em; color: #0d0d0d; margin-bottom: 14px; }
.page-hero__title em { font-family: 'DM Serif Display', serif; font-style: italic; color: #2d7a3a; }
.page-hero__sub { font-size: 16px; color: #555; line-height: 1.7; font-weight: 300; max-width: 500px; margin-bottom: 0; }
.page-hero__breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #888; margin-bottom: 20px; }
.page-hero__breadcrumb a { color: #888; transition: color .2s; text-decoration: none; }
.page-hero__breadcrumb a:hover { color: #0d0d0d; }
.page-hero__breadcrumb .sep { opacity: .45; }
/* Marquee strip */
.page-hero__marquee { border-top: 1px solid #ddd; padding: 13px 0; overflow: hidden; background: rgba(238,236,234,0.95); position: relative; z-index: 2; }
.page-hero__marquee-track { display: flex; gap: 0; white-space: nowrap; animation: marquee 28s linear infinite; width: max-content; }
.page-hero__marquee-track span { font-size: 12px; font-weight: 500; color: #888; padding: 0 20px; letter-spacing: .04em; }
.page-hero__marquee-track .sep { color: #ddd; padding: 0 4px; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* Contact page specific */
.contact-page-section { padding: 64px 0 96px; background: #faf9f7; }
.contact-page-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.contact-form { background: #fff; border: 1px solid #ddd; border-radius: 20px; padding: 40px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 4px 24px rgba(0,0,0,.06); }
.contact-form .field input:focus, .contact-form .field textarea:focus { border-color: #2d7a3a !important; box-shadow: 0 0 0 3px rgba(45,122,58,.08) !important; outline: none; }
.submit-btn { background: #2d7a3a; }
.submit-btn:hover { background: #235f2c; }
.contact-info-block { background: #fff; border: 1px solid #ddd; border-radius: 16px; padding: 24px; margin-bottom: 16px; }
.contact-info-block:last-child { margin-bottom: 0; }
.contact-info-block h3 { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #888; margin-bottom: 16px; }
.contact-info-block p { font-size: 14px; color: #555; line-height: 1.65; font-weight: 300; }
.trade-list { display: flex; flex-direction: column; gap: 0; list-style: none; padding: 0; margin: 0; }
.trade-list li { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #eee; font-size: 14px; }
.trade-list li:last-child { border-bottom: none; }
.trade-list li span { color: #888; }
.trade-list li strong { color: #0d0d0d; font-weight: 600; }
.contact-ext-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #2d7a3a; margin-top: 12px; text-decoration: none; transition: opacity .2s; }
.contact-ext-link:hover { opacity: .75; }
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cert-item { display: flex; align-items: center; gap: 8px; background: #f0eeeb; border: 1px solid #ddd; border-radius: 10px; padding: 10px 12px; font-size: 13px; font-weight: 600; color: #333; }
.cert-item svg { color: #2d7a3a; flex-shrink: 0; }

@media (max-width: 1024px) { .contact-page-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .contact-form { padding: 24px; border-radius: 14px; } .page-hero__content { padding: 40px 20px 36px; } .contact-page-section { padding: 48px 0 72px; } }

/* About page specific */
.about-page { padding: 80px 0 96px; background: #faf9f7; }
.about-page-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.about-page-left .overline { color: #2d7a3a; }
.about-page-left .section-title em { color: #2d7a3a; }
.about-body { font-size: 16px; color: #555; line-height: 1.8; font-weight: 300; margin-bottom: 14px; }
.about-cta { display: inline-flex; align-items: center; gap: 8px; background: #2d7a3a; color: #fff; padding: 14px 28px; border-radius: 10px; font-size: 15px; font-weight: 600; text-decoration: none; margin-top: 28px; transition: background .2s; }
.about-cta:hover { background: #235f2c; }
.about-din-rail{ width:100%; max-width:360px; margin:0 0 26px; border:none; border-radius:0; background:transparent; overflow:visible; box-shadow:none; position:relative; }
.about-din-rail img{ width:100%; height:auto; display:block; object-fit:contain; position:relative; z-index:1; padding:0; }
@media (max-width: 768px){ .about-din-rail{max-width:520px;} }
.feat-list { display: flex; flex-direction: column; }
.feat-item { display: flex; gap: 24px; align-items: flex-start; padding: 24px 0; border-bottom: 1px solid #ddd; }
.feat-item:first-child { padding-top: 0; }
.feat-item:last-child { border-bottom: none; padding-bottom: 0; }
.feat-num { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: #888; padding-top: 3px; flex-shrink: 0; width: 24px; }
.feat-body h4 { font-size: 15px; font-weight: 700; color: #0d0d0d; margin-bottom: 5px; }
.feat-body p { font-size: 14px; color: #555; line-height: 1.65; }

/* Values / CTA etc (from about) */
.values-section { padding: 80px 0; background: #eeecea; }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.value-card { background: #fff; border: 1px solid #ddd; border-radius: 16px; padding: 28px; }
.value-card__icon { width: 44px; height: 44px; border-radius: 10px; background: #f0eeeb; border: 1px solid #ddd; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.value-card__icon svg { color: #2d7a3a; }
.value-card h3 { font-size: 16px; font-weight: 700; color: #0d0d0d; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: #555; line-height: 1.65; font-weight: 300; }

.cta-banner { background: #111; padding: 72px 0; }
.cta-banner__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-banner h2 { font-size: clamp(24px,3vw,36px); font-weight: 700; color: #fff; letter-spacing: -.02em; margin-bottom: 8px; font-family: 'DM Serif Display',serif; font-style: italic; }
.cta-banner p { font-size: 15px; color: rgba(255,255,255,.55); line-height: 1.65; font-weight: 300; max-width: 420px; }
.cta-banner__btns { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
.ghost-btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.ghost-btn--light:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); }
.cta-btn--white { background: #fff; color: #111; }
.cta-btn--white:hover { background: #f0eeeb; }

@media (max-width: 1024px) { .about-page-grid { grid-template-columns: 1fr; gap: 48px; } .values-grid { grid-template-columns: repeat(2,1fr); } .cta-banner__inner { flex-direction: column; text-align: center; } .cta-banner__btns { justify-content: center; } }
@media (max-width: 768px) { .page-hero__content { padding: 40px 20px 36px; } .about-page { padding: 56px 0 72px; } .values-grid { grid-template-columns: 1fr; } }

/* ── Form validation styles ──────────────────────────────── */

/* Error state on input/textarea */
.field input.field-error,
.field textarea.field-error {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .1) !important;
}

/* Inline error message below field */
.field-error-msg {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #dc2626;
  margin-top: 5px;
}

/* Error toast variant */
.toast--error {
  background: #dc2626;
}

/* Disabled submit button during send */
.submit-btn:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}
