/* Contact page shares the homepage container, typography and card language. */
.contacts-page .contacts-container { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.contacts-page .contacts-section { padding-block: clamp(48px, 5.4vw, 76px); }
.contacts-page .contacts-eyebrow { color: #087a52; font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.contacts-page .contacts-hero { background: linear-gradient(125deg, #f5f7f1 0%, #eaf2e9 100%); padding: clamp(42px, 5vw, 72px) 0; }
.contacts-page .contacts-hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(26px, 4vw, 58px); align-items: center; }
.contacts-page .contacts-hero h1 { margin: 14px 0 18px; color: #173c2a; font-size: clamp(36px, 4.4vw, 62px); line-height: 1.04; letter-spacing: -.052em; font-weight: 800; text-wrap: balance; }
.contacts-page .contacts-hero-copy > p { max-width: 570px; margin: 0; color: #657169; font-size: 16px; line-height: 1.7; }
.contacts-page .contacts-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin-top: 25px; }
.contacts-page .contacts-action { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; border: 1px solid #087a52; border-radius: 999px; padding: 12px 18px; background: #087a52; color: #fff; text-decoration: none; font-size: 14px; font-weight: 800; transition: background .18s ease, color .18s ease, transform .18s ease; }
.contacts-page .contacts-action.secondary { background: #fff; color: #087a52; border-color: #d4e1d6; }
.contacts-page .contacts-action:hover { transform: translateY(-1px); background: #07583d; color: #fff; }
.contacts-page .contacts-action.secondary:hover { background: #edf5ee; color: #07583d; }
.contacts-page .contacts-service-note { margin-top: 17px !important; max-width: 550px; color: #7b887f !important; font-size: 12px !important; line-height: 1.6 !important; }
.contacts-page .contacts-hero-visual { overflow: hidden; position: relative; border: 1px solid #dfe8df; border-radius: 24px; background: #e7eee5; box-shadow: 0 22px 55px rgba(22,49,34,.10); }
.contacts-page .contacts-hero-visual img { display: block; width: 100%; height: auto; aspect-ratio: 1.5 / 1; object-fit: cover; object-position: center; }
.contacts-page .contacts-photo-caption { position: absolute; right: 16px; bottom: 16px; left: 16px; padding: 13px 16px; border: 1px solid rgba(255,255,255,.52); border-radius: 14px; background: rgba(255,255,255,.88); color: #344b3b; font-size: 12px; line-height: 1.5; backdrop-filter: blur(10px); }
.contacts-page .contacts-section-heading { max-width: 760px; margin: 0 auto 30px; text-align: center; }
.contacts-page .contacts-section-heading h2 { margin: 10px 0 10px; color: #173c2a; font-size: clamp(28px, 3vw, 42px); line-height: 1.12; letter-spacing: -.04em; }
.contacts-page .contacts-section-heading p { margin: 0; color: #657169; font-size: 15px; line-height: 1.65; }
.contacts-page .contacts-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.contacts-page .contact-card { min-width: 0; display: flex; flex-direction: column; padding: 25px; border: 1px solid #e1e9e1; border-radius: 20px; background: #fff; box-shadow: 0 8px 28px rgba(20,50,32,.035); }
.contacts-page .contact-card-icon { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 17px; border-radius: 14px; background: #edf5ee; color: #087a52; font-size: 20px; }
.contacts-page .contact-card h3 { margin: 0 0 9px; color: #173c2a; font-size: 19px; line-height: 1.3; letter-spacing: -.02em; }
.contacts-page .contact-card p { margin: 0 0 17px; color: #657169; font-size: 13px; line-height: 1.65; }
.contacts-page .contact-card a { color: #087a52; font-size: 14px; font-weight: 800; text-decoration: none; }
.contacts-page .contact-card a:hover { color: #07583d; text-decoration: underline; text-underline-offset: 3px; }
.contacts-page .contact-card .contact-card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; }
.contacts-page .contacts-address-section { background: #f7f8f4; }
.contacts-page .contacts-address-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.contacts-page .contact-detail-card { padding: clamp(22px, 3vw, 34px); border: 1px solid #e0e8e0; border-radius: 22px; background: #fff; }
.contacts-page .contact-detail-card h2 { margin: 0 0 18px; color: #173c2a; font-size: clamp(23px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -.035em; }
.contacts-page .contact-detail-card address { margin: 0 0 17px; color: #263b2e; font-size: 16px; line-height: 1.65; font-style: normal; }
.contacts-page .contact-detail-card p { margin: 0 0 11px; color: #657169; font-size: 13px; line-height: 1.65; }
.contacts-page .contact-detail-card a { color: #087a52; font-weight: 800; text-decoration: none; }
.contacts-page .contact-legal-list { display: grid; gap: 11px; margin: 0; }
.contacts-page .contact-legal-row { display: flex; justify-content: space-between; gap: 18px; padding-bottom: 10px; border-bottom: 1px solid #edf1ec; font-size: 13px; line-height: 1.5; }
.contacts-page .contact-legal-row dt { color: #718077; }
.contacts-page .contact-legal-row dd { margin: 0; color: #23392d; font-weight: 800; text-align: right; overflow-wrap: anywhere; }
.contacts-page .contacts-useful-links { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.contacts-page .contacts-useful-links a { display: flex; min-height: 66px; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 17px; border: 1px solid #dfe8df; border-radius: 15px; background: #fff; color: #31513d; text-decoration: none; font-size: 13px; font-weight: 800; }
.contacts-page .contacts-useful-links a:hover { border-color: #a9c9b2; background: #f7fbf7; color: #087a52; }
.contacts-page .contacts-legal-note { max-width: 780px; margin: 20px auto 0; color: #829087; font-size: 11px; line-height: 1.65; text-align: center; }

@media (max-width: 980px) {
  .contacts-page .contacts-hero-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; }
  .contacts-page .contacts-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .contacts-page .contacts-useful-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .contacts-page .contacts-container { width: calc(100% - 32px); }
  .contacts-page .contacts-section { padding-block: 48px; }
  .contacts-page .contacts-hero { padding: 38px 0 42px; }
  .contacts-page .contacts-hero-grid { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .contacts-page .contacts-hero h1 { font-size: clamp(34px, 9vw, 44px); line-height: 1.06; }
  .contacts-page .contacts-hero-copy > p { font-size: 15px; }
  .contacts-page .contacts-hero-actions { display: grid; grid-template-columns: minmax(0,1fr); }
  .contacts-page .contacts-action { width: 100%; }
  .contacts-page .contacts-hero-visual { border-radius: 18px; }
  .contacts-page .contacts-hero-visual img { aspect-ratio: 16 / 10; }
  .contacts-page .contacts-cards { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .contacts-page .contact-card { padding: 20px; }
  .contacts-page .contacts-address-grid { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .contacts-page .contact-legal-row { flex-direction: column; gap: 3px; }
  .contacts-page .contact-legal-row dd { text-align: left; }
  .contacts-page .contacts-useful-links { grid-template-columns: minmax(0,1fr); }
  .contacts-page .contacts-section-heading { margin-bottom: 22px; }
  .contacts-page .contacts-section-heading p { font-size: 14px; }
}
@media (max-width: 380px) {
  .contacts-page .contacts-hero h1 { font-size: 33px; }
  .contacts-page .contact-detail-card { padding: 19px; }
}
