/* v0.5 — Contact page. Dedicated stylesheet leaves existing Home/Doctor layouts untouched. */
.contact-page { background: var(--navy-deep); }
.contact-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #f8f8f8;
  min-height: clamp(350px, 31vw, 545px);
  background: var(--navy-deep);
}
.contact-hero__background {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 46%; z-index: -2;
}
.contact-hero::after {
  content: ''; position: absolute; z-index: -1; pointer-events: none; inset: 0;
  background: linear-gradient(90deg, rgba(2,12,28,.18),rgba(2,12,28,.08) 48%,transparent 81%);
}
.contact-hero__inner.container {
  width: calc(100% - var(--hero-gutter) - var(--page-gutter));
  margin-left: var(--hero-gutter); margin-right: var(--page-gutter);
  min-height: clamp(350px, 31vw, 545px);
  display: flex; flex-direction: column; justify-content: center;
  align-items: flex-start; padding-top: 14px; padding-bottom: 52px;
}
.contact-hero__eyebrow { font: 700 clamp(11px, .93vw, 15px)/1.5 var(--sans); color: var(--gold); margin: 0 0 24px; }
.contact-hero__title { font: 400 clamp(37px, 3.35vw, 65px)/1.14 var(--serif); letter-spacing: -.012em; margin: 0; max-width: 940px; }
.contact-hero__line { display: block; }
.contact-hero__title em { font-style: normal; color: var(--gold); }
.contact-hero__rule { display: block; width: 65px; height: 1px; background: var(--gold); margin: 25px 0 34px; }
.contact-hero__description { max-width: 730px; color: #f3f5f9; font-size: clamp(13px,1.06vw,17px); line-height: 1.8; margin: 0; font-weight: 500; }
.contact-hero__description strong { color: var(--gold); font-weight: 800; }
.contact-light-shell { position: relative; z-index: 2; border-radius: 62px 62px 62px 62px; margin-top: -19px; padding: 73px 0 75px; background: #f5f5f5; }
.contact-layout { display: grid; grid-template-columns: minmax(0, .98fr) minmax(0, 1fr); gap: clamp(40px,3.5vw,88px); align-items: stretch; }
.contact-info { display: flex; flex-direction: column; min-width: 0; }
.contact-info__title { font: 500 clamp(23px, 1.8vw, 32px)/1.38 var(--sans); letter-spacing: -.015em; margin: 4px 0 31px; color: #0b1627; }
.contact-info__position, .contact-info__partners { font: 500 clamp(17px, 1.32vw, 23px)/1.45 var(--sans); color: #142131; max-width: 720px; margin: 0 0 25px; }
.contact-info__partners { margin-bottom: 27px; }
.contact-info__details { display: grid; gap: 25px; margin: 9px 0 38px; }
.contact-info__detail { display: flex; align-items: center; gap: 21px; min-width: 0; font: 700 clamp(17px, 1.24vw, 22px)/1.4 var(--sans); color: #071426; overflow-wrap: anywhere; }
.contact-info__detail .icon { width: 31px; height: 31px; color: var(--gold-deep); stroke-width: 1.65; flex: 0 0 31px; }
.contact-info__detail:is(a):hover { color: #9c6c2d; }
.contact-appointment {
  margin-top: auto; border-radius: 24px; overflow: hidden; min-height: 225px; padding: 34px 42px;
  display: flex; align-items: flex-start; justify-content: center; flex-direction: column;
  color: #fff; background: var(--navy-deep) center / cover no-repeat;
}
.contact-appointment h3 { margin: 0 0 11px; font: 500 clamp(19px,1.35vw,26px)/1.25 var(--sans); }
.contact-appointment p { margin: 0 0 23px; font-size: 13px; line-height: 1.5; }
.contact-appointment .button { min-height: 48px; padding-inline: 24px; font-size: 12px; }
.contact-appointment .button .icon { width: 18px; height: 18px; }
.contact-form-card { background: #fff; border: 1px solid var(--border-gold); border-radius: 24px; padding: clamp(25px,2.5vw,45px) clamp(25px,2.5vw,50px); min-width: 0; }
.contact-form-card h2 { font: 400 clamp(27px,2.05vw,40px)/1.2 var(--serif); color: #111c2b; margin: 0 0 16px; }
.contact-form-card__intro { color: #3c4a59; font-size: 13px; line-height: 1.65; margin: 0 0 22px; }
.contact-form__field { margin-bottom: 19px; }
.contact-form__field label { display: block; font-size: 13px; line-height: 1.4; font-weight: 800; margin: 0 0 9px; color: #122034; }
.contact-form__field input, .contact-form__field textarea {
  background: #fff; display: block; width: 100%; border: 1px solid #d8dadd; border-radius: 4px;
  color: #101b2a; padding: 11px 15px; font: 500 13px/1.5 var(--sans);
  transition: border-color .2s, box-shadow .2s;
}
.contact-form__field input { height: 50px; }
.contact-form__field textarea { resize: vertical; min-height: 153px; }
.contact-form__field input::placeholder, .contact-form__field textarea::placeholder { color: #65717d; opacity: 1; }
.contact-form__field :is(input,textarea):focus-visible { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(212,173,99,.18); }
.contact-form__trap { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.contact-form__consent { display: flex; align-items: flex-start; gap: 12px; margin: -1px 0 19px; font-size: 12px; line-height: 1.6; color: #3b4857; }
.contact-form__consent input { width: 18px; height: 18px; flex: 0 0 18px; margin: 1px 0 0; accent-color: var(--gold-deep); }
.contact-form__consent label { cursor: pointer; }
.contact-form__consent a { text-decoration: underline; text-underline-offset: 2px; color: #243449; }
.contact-form__consent a:hover { color: #a37532; }
.contact-form__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.contact-form__disclaimer { color: #646f7b; font-size: 10px; line-height: 1.5; max-width: 315px; margin: 0; }
.contact-form__submit { min-width: 131px; min-height: 46px; padding: 12px 22px; font-size: 13px; }
.contact-form__feedback { border-radius: 9px; padding: 12px 14px; margin: 0 0 20px; font-size: 13px; font-weight: 700; line-height: 1.5; border: 1px solid #ded6c5; }
.contact-form__feedback--success { color: #1d5839; background: #f0f8f3; border-color: #badac7; }
.contact-form__feedback--error { color: #8d291f; background: #fff3ef; border-color: #e6bcb4; }
body.page-template-page-epikoinonia .site-footer, body.page-id-0 .site-footer { background: var(--navy-deep); }
body.page-template-page-epikoinonia .footer-bottom, body.page-template-page-epikoinonia .legal-line { margin-top: 0; }
.contact-page + .site-footer { padding-top: 66px; }
.site-footer .legal-line a:hover { color: var(--gold); text-decoration: underline; }
@media (max-width: 1360px) {
  .contact-hero__title { font-size: clamp(37px,3.75vw,52px); }
  .contact-info__title { font-size: clamp(21px,2.15vw,30px); }
  .contact-info__position, .contact-info__partners { font-size: clamp(16px,1.52vw,19px); }
  .contact-info__detail { font-size: clamp(15px,1.6vw,20px); }
}
@media (max-width: 1100px) {
  .contact-layout { gap: 32px; }
  .contact-info__details { gap: 19px; }
  .contact-appointment { padding: 28px; }
  .contact-light-shell { padding: 54px 0 60px; }
  .contact-form-card { padding: 30px; }
  .contact-hero__inner.container { padding-bottom: 44px; }
}
@media (max-width: 850px) {
  .contact-hero { min-height: 385px; }
  .contact-hero__inner.container { min-height: 385px; padding: 34px 0 40px; }
  .contact-hero__title { font-size: clamp(34px,5vw,47px); }
  .contact-hero__description { font-size: 14px; max-width: 500px; }
  .contact-layout { grid-template-columns: 1fr; gap: 34px; }
  .contact-info__title { max-width: 600px; font-size: clamp(21px,3vw,29px); }
  .contact-info__position, .contact-info__partners { font-size: 17px; }
  .contact-info__details { margin: 3px 0 28px; }
  .contact-appointment { margin-top: 0; min-height: 210px; }
  .contact-form-card { max-width: none; }
  .contact-light-shell { border-radius: 38px; }
}
@media (max-width: 620px) {
  .contact-hero { min-height: 500px; }
  .contact-hero__background { object-position: 69% center; }
  .contact-hero::after { background: linear-gradient(180deg, rgba(2,12,28,.90) 0%, rgba(2,12,28,.74) 42%, rgba(2,12,28,.10) 100%); }
  .contact-hero__inner.container { min-height: 500px; justify-content: flex-start; padding-top: 25px; padding-bottom: 210px; }
  .contact-hero__eyebrow { margin-bottom: 16px; font-size: 11px; }
  .contact-hero__title { font-size: clamp(33px,8vw,46px); }
  .contact-hero__line { display: block; }
  .contact-hero__rule { margin: 17px 0 20px; width: 46px; }
  .contact-hero__description { font-size: 13px; line-height: 1.65; }
  .contact-light-shell { margin-top: -23px; border-radius: 32px; padding: 37px 0 42px; }
  .contact-info__title { font-size: 21px; margin-bottom: 20px; }
  .contact-info__position, .contact-info__partners { font-size: 16px; margin-bottom: 16px; }
  .contact-info__details { gap: 17px; }
  .contact-info__detail { gap: 12px; font-size: 15px; }
  .contact-info__detail .icon { width: 24px; height: 24px; flex-basis: 24px; }
  .contact-appointment { border-radius: 19px; min-height: 200px; padding: 25px; }
  .contact-form-card { border-radius: 19px; padding: 24px 18px; }
  .contact-form-card h2 { font-size: 28px; }
  .contact-form__bottom { align-items: stretch; flex-direction: column; }
  .contact-form__submit { align-self: flex-end; }
  .contact-page + .site-footer { padding-top: 38px; }
}
