/* Contact page layout inspired by the supplied agricultural reference. */
.contact-page { background: #fbfdf9; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.contact-page-hero {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #f7f3e5 url('../images/contact-hero-farm.png') center center / cover no-repeat;
  isolation: isolate;
}
.contact-page-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255,253,245,.16), rgba(255,253,245,.03) 57%, transparent); }
.contact-page-hero-content { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 34px 0 40px; }
.contact-page-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px; color: #37752d; font-size: .78rem; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; }
.contact-page-hero h1 { margin: 0 0 10px; max-width: 600px; color: #064b32; font-family: 'Montserrat','Outfit',sans-serif; font-size: clamp(2.6rem,5.2vw,4.9rem); font-weight: 800; line-height: .98; letter-spacing: -2px; text-shadow: 0 2px 1px rgba(255,255,255,.65); }
.contact-page-hero h1 i { margin-left: 5px; color: #86bd20; font-size: .34em; transform: rotate(-18deg) translateY(-.85em); }
.contact-page-hero p { max-width: 540px; margin: 0; color: #4b5550; font-size: .98rem; line-height: 1.55; }

.contact-page-main { position: relative; padding: 44px 20px 18px; background: radial-gradient(circle at 15% 0%,rgba(128,177,43,.06),transparent 25%),#fbfdf9; }
.contact-page-shell { position: relative; width: min(1280px,100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0,1.68fr) minmax(330px,.92fr); gap: 28px; align-items: start; }
.contact-page-left { display: grid; gap: 22px; }
.contact-page-panel,.contact-page-info-card { background: rgba(255,255,255,.96); border: 1px solid rgba(10,78,49,.08); box-shadow: 0 9px 26px rgba(21,69,44,.09); }
.contact-page-panel { border-radius: 15px; }
.contact-page-form-panel { padding: 32px 34px 26px; }
.contact-page-section-heading { display: flex; align-items: center; gap: 15px; margin-bottom: 23px; }
.contact-page-heading-icon { width: 48px; height: 48px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; color: #fff; background: linear-gradient(135deg,#4b922d,#087739); box-shadow: 0 5px 13px rgba(22,120,54,.23); font-size: 1.08rem; }
.contact-page-section-heading h2,.contact-page-map-card h2 { margin: 0; color: #174d2d; font-family: 'Outfit',sans-serif; font-size: 1.4rem; font-weight: 800; }
.contact-page-section-heading p { margin: 3px 0 0; color: #78817c; font-size: .9rem; }
.contact-page-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.contact-page-field { position: relative; display: block; }
.contact-page-field > i { position: absolute; top: 50%; left: 17px; z-index: 1; color: #4a8063; font-size: 1rem; transform: translateY(-50%); pointer-events: none; }
.contact-page-field input,.contact-page-field textarea { width: 100%; border: 1px solid #cedbd2; border-radius: 9px; outline: none; background: #fff; color: #26362e; font: inherit; font-size: 1rem; transition: border-color .2s ease,box-shadow .2s ease,background .2s ease; }
.contact-page-field input { height: 56px; padding: 0 17px 0 48px; }
.contact-page-field textarea { min-height: 130px; margin-top: 15px; padding: 17px 17px 17px 48px; resize: vertical; line-height: 1.5; }
.contact-page-message-field > i { top: 35px; }
.contact-page-field input::placeholder,.contact-page-field textarea::placeholder { color: #66726b; }
.contact-page-field input:focus,.contact-page-field textarea:focus { border-color: #25894a; background: #fdfffd; box-shadow: 0 0 0 3px rgba(37,137,74,.12); }
.contact-page-field input.contact-page-invalid,.contact-page-field textarea.contact-page-invalid { border-color: #c83e3e; box-shadow: 0 0 0 3px rgba(200,62,62,.09); }
.contact-page-submit { width: 100%; min-height: 56px; margin-top: 15px; border: 0; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; color: #fff; background: linear-gradient(90deg,#3e8c26,#087b38 62%,#0a8f3b); box-shadow: 0 7px 18px rgba(14,118,51,.22); font: inherit; font-size: 1rem; font-weight: 800; letter-spacing: .2px; cursor: pointer; transition: transform .2s ease,box-shadow .2s ease,filter .2s ease; }
.contact-page-submit:hover { transform: translateY(-1px); filter: saturate(1.12); box-shadow: 0 10px 22px rgba(14,118,51,.28); }
.contact-page-submit:focus-visible { outline: 3px solid rgba(134,189,32,.42); outline-offset: 3px; }
.contact-page-form-note { margin: 11px 0 0; color: #879089; font-size: .8rem; text-align: center; }
.contact-page-form-note i { margin-right: 4px; color: #5a9468; }
.contact-page-form-status { display: none; margin-top: 12px; padding: 10px 12px; border-radius: 8px; font-size: .77rem; font-weight: 600; text-align: center; }
.contact-page-form-status.is-visible { display: block; }
.contact-page-form-status.is-success { color: #145c30; background: #eaf7ed; border: 1px solid #b8dfc0; }
.contact-page-form-status.is-error { color: #8f2929; background: #fff0f0; border: 1px solid #efc2c2; }

.contact-page-map-panel { position: relative; min-height: 260px; overflow: hidden; }
.contact-page-map-panel iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.7) contrast(.95); }
.contact-page-map-panel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(255,255,255,.98),rgba(255,255,255,.95) 30%,rgba(255,255,255,.24) 62%,transparent); pointer-events: none; }
.contact-page-map-card { position: relative; z-index: 2; width: 49%; min-width: 300px; padding: 32px 30px 28px; display: flex; align-items: flex-start; gap: 12px; }
.contact-page-map-pin { width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; color: #fff; background: #168340; font-size: 1.1rem; }
.contact-page-map-card p { margin: 8px 0 16px; color: #5f6b64; font-size: .91rem; line-height: 1.5; }
.contact-page-map-card a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; color: #fff; background: #087739; font-size: .86rem; font-weight: 800; box-shadow: 0 4px 11px rgba(8,119,57,.2); }

.contact-page-info { position: static; display: grid; gap: 10px; padding-bottom: 48px; }
.contact-page-info-card { min-height: 94px; padding: 18px 20px; border-radius: 14px; display: flex; align-items: flex-start; gap: 16px; color: inherit; transition: transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
a.contact-page-info-card:hover { color: inherit; transform: translateY(-2px); border-color: rgba(39,132,67,.24); box-shadow: 0 12px 30px rgba(21,69,44,.13); }
.contact-page-info-icon { width: 48px; height: 48px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; color: #10763a; background: #e7f4e5; font-size: 1.18rem; }
.contact-page-info-card > span:last-child { min-width: 0; }
.contact-page-info-card strong { display: block; margin-bottom: 4px; color: #17552e; font-size: .96rem; font-weight: 800; }
.contact-page-info-card small { display: block; color: #5f6862; font-size: .8rem; line-height: 1.5; overflow-wrap: anywhere; }
.contact-page-plant { position: absolute; right: -8px; bottom: -42px; width: 270px; height: 185px; z-index: 4; display: flex; justify-content: center; align-items: flex-end; pointer-events: none; }
.contact-page-plant img { width: 100%; height: auto; display: block; object-fit: contain; filter: drop-shadow(0 6px 5px rgba(47,80,23,.16)); }
.contact-page-soil { position: absolute; bottom: 8px; width: 105px; height: 22px; border-radius: 50%; background: radial-gradient(ellipse at 50% 32%,#68452b,#4b2d1d 52%,#2d1c14); box-shadow: inset 0 4px 4px rgba(255,255,255,.08),0 4px 7px rgba(33,24,16,.12); }

.contact-page-benefits { padding: 22px 20px 44px; background: #fbfdf9; }
.contact-page-benefits-grid { width: min(1280px,100%); margin: 0 auto; padding: 20px 24px; border: 1px solid rgba(29,107,52,.08); border-radius: 15px; display: grid; grid-template-columns: repeat(4,1fr); background: linear-gradient(90deg,#f7fbf2,#fbfdf8); box-shadow: 0 7px 22px rgba(30,86,49,.07); }
.contact-page-benefit { min-height: 88px; padding: 10px 20px; display: flex; align-items: center; gap: 13px; }
.contact-page-benefit + .contact-page-benefit { border-left: 1px solid rgba(38,103,57,.1); }
.contact-page-benefit > span { width: 54px; height: 54px; border: 1px solid #c8dfc6; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; color: #2d8b45; background: #eef7e9; font-size: 1.36rem; }
.contact-page-benefit h3 { margin: 0 0 4px; color: #19522e; font-size: .95rem; font-weight: 800; }
.contact-page-benefit p { margin: 0; color: #68736c; font-size: .77rem; line-height: 1.45; }

@media (max-width:1024px) {
  .contact-page-hero { min-height: 285px; background-position: 58% center; }
  .contact-page-hero-content { width: min(940px,calc(100% - 40px)); }
  .contact-page-hero p { max-width: 460px; }
  .contact-page-shell { grid-template-columns: minmax(0,1.45fr) minmax(270px,.8fr); }
  .contact-page-benefits-grid { grid-template-columns: repeat(2,1fr); }
  .contact-page-benefit:nth-child(3) { border-left: 0; }
  .contact-page-benefit:nth-child(n+3) { border-top: 1px solid rgba(38,103,57,.1); }
}
@media (max-width:820px) {
  .contact-page-hero { min-height: 270px; background-position: 66% center; }
  .contact-page-hero-shade { background: linear-gradient(90deg,rgba(255,253,245,.96),rgba(255,253,245,.83) 45%,rgba(255,253,245,.12)); }
  .contact-page-hero h1 { font-size: clamp(2.7rem,9vw,4rem); }
  .contact-page-hero p { max-width: 58%; font-size: .88rem; }
  .contact-page-shell { grid-template-columns: 1fr; }
  .contact-page-info { grid-template-columns: repeat(2,minmax(0,1fr)); padding-bottom: 0; }
  .contact-page-info-card:first-child,.contact-page-info-card:last-of-type { grid-column: 1 / -1; }
  .contact-page-plant { position: absolute; right: -4px; bottom: -40px; width: 230px; height: 160px; margin: 0; z-index: 4; }
}
@media (max-width:576px) {
  .contact-page-hero { min-height: 250px; background-position: 72% center; }
  .contact-page-hero-content { width: calc(100% - 32px); padding: 28px 0; }
  .contact-page-eyebrow { font-size: .66rem; }
  .contact-page-hero h1 { max-width: 78%; font-size: 2.65rem; letter-spacing: -1.4px; }
  .contact-page-hero p { max-width: 68%; font-size: .75rem; line-height: 1.45; }
  .contact-page-main { padding: 22px 14px 10px; }
  .contact-page-form-panel { padding: 20px 16px 16px; }
  .contact-page-form-grid { grid-template-columns: 1fr; gap: 10px; }
  .contact-page-field textarea { margin-top: 10px; }
  .contact-page-map-panel { min-height: 290px; }
  .contact-page-map-panel::after { background: linear-gradient(180deg,rgba(255,255,255,.98),rgba(255,255,255,.88) 43%,rgba(255,255,255,.1) 75%,transparent); }
  .contact-page-map-card { width: 100%; min-width: 0; padding: 20px; }
  .contact-page-info { grid-template-columns: 1fr; }
  .contact-page-info-card:first-child,.contact-page-info-card:last-of-type { grid-column: auto; }
  .contact-page-benefits { padding: 16px 14px 32px; }
  .contact-page-benefits-grid { grid-template-columns: 1fr; padding: 8px 12px; }
  .contact-page-benefit { padding: 12px 8px; }
  .contact-page-benefit + .contact-page-benefit { border-left: 0; border-top: 1px solid rgba(38,103,57,.1); }
}
@media (prefers-reduced-motion:reduce) { .contact-page-submit,.contact-page-info-card { transition: none; } }
