/* =========================================================
   Batch 8E.5 — drmoutsoudis-v2 project-specific Contact page
   Scope is intentionally limited to .contact-v1-page.
   ========================================================= */

.site-main > article.contact-v1-page {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.contact-v1-page {
  overflow: hidden;
  background: #fff;
  color: #333;
}

.contact-v1-page *,
.contact-v1-page *::before,
.contact-v1-page *::after {
  box-sizing: border-box;
}

.contact-v1-container {
  width: min(1500px, calc(100% - 40px));
  margin-inline: auto;
}

.contact-v1-gold-line {
  height: 2px;
  background: linear-gradient(
    90deg,
    #a2682a 0%,
    #be8c3c 12%,
    #d3b15f 27%,
    #faf0a0 40%,
    #ffffc2 49%,
    #d3b15f 58%,
    #be8c3c 70%,
    #b17b32 80%,
    #d4a245 90%,
    #a4692a 100%
  );
}

.contact-v1-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(400px, 0.9fr);
  min-height: clamp(560px, 62vw, 730px);
}

.contact-v1-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 7vw, 108px);
  color: #fff;
  background: radial-gradient(
    circle at 50% 35%,
    #6e6e6e 0%,
    #565656 38%,
    #4f4f4f 72%,
    #474747 100%
  );
}

.contact-v1-hero__media {
  min-height: 500px;
  overflow: hidden;
  background: #d7d7d7;
}

.contact-v1-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
}

.contact-v1-kicker {
  margin: 0 0 12px;
  color: #ead2a8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-v1-kicker--dark {
  color: #9b6224;
}

.contact-v1-gold-title {
  margin: 0;
  color: #d6b15f;
  font-family: var(--font-body);
  font-size: clamp(2rem, 4vw, 3.55rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  background: linear-gradient(
    105deg,
    #ffdfbc 0%,
    #be8c3c 16%,
    #d3b15f 32%,
    #faf0a0 50%,
    #d3b15f 68%,
    #bb8332 86%,
    #e1b453 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-v1-gold-title--on-white {
  background-image: linear-gradient(
    105deg,
    #9b6224 0%,
    #be8c3c 22%,
    #d3b15f 42%,
    #a4692a 72%,
    #bb8332 100%
  );
}

.contact-v1-hero h1 {
  max-width: 780px;
  font-size: clamp(2.8rem, 5.1vw, 4.9rem);
}

.contact-v1-lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.8;
}

.contact-v1-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.contact-v1-page .button {
  gap: 9px;
  min-height: 44px;
  padding: 11px 22px;
  border: 1px solid #bb8332;
  border-radius: 0;
  background: #bb8332;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.contact-v1-page .button:hover {
  border-color: #a4692a;
  background: #a4692a;
  color: #fff;
  transform: none;
}

.contact-v1-page .contact-v1-button--outline {
  border-color: rgba(255, 255, 255, 0.68);
  background: transparent;
  color: #fff;
}

.contact-v1-page .contact-v1-button--light-outline {
  border-color: #c69a55;
  background: transparent;
  color: #8f6028;
}

.contact-v1-page .contact-v1-button--light-outline:hover {
  color: #fff;
}

.contact-v1-band {
  padding: clamp(64px, 7vw, 100px) 0;
}

.contact-v1-band--white {
  color: #373737;
  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(190, 140, 60, 0.055),
      transparent 28%
    ),
    radial-gradient(
      circle at 82% 72%,
      rgba(164, 105, 42, 0.04),
      transparent 30%
    ),
    #fff;
}

.contact-v1-heading {
  max-width: 940px;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.contact-v1-heading--center {
  margin-inline: auto;
  text-align: center;
}

.contact-v1-band-lead {
  max-width: 820px;
  margin: 18px auto 0;
  color: #5b5b5b;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.8;
}

.contact-v1-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-v1-info-grid article {
  min-height: 260px;
  padding: 30px 28px;
  border: 1px solid #e6ded2;
  background: #fff;
  box-shadow: 0 12px 34px rgba(60, 48, 34, 0.06);
}

.contact-v1-info-grid__icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(187, 131, 50, 0.42);
  border-radius: 50%;
  color: #bb8332;
  font-size: 1.2rem;
}

.contact-v1-info-grid h3 {
  margin: 0;
  color: #8f6028;
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.contact-v1-info-grid p {
  margin: 14px 0 0;
  color: #555;
  line-height: 1.75;
}

.contact-v1-info-grid article > a {
  display: inline-block;
  margin-top: 16px;
  color: #8f6028;
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
}

.contact-v1-phone-list {
  display: grid;
  gap: 5px;
}

.contact-v1-phone-list a {
  width: fit-content;
  color: #444;
  text-decoration: none;
}

.contact-v1-phone-list a:hover,
.contact-v1-info-grid article > a:hover {
  color: #bb8332;
}

.contact-v1-form-band {
  padding: 0;
  background: #4a4a4a;
}

#contact-form {
  scroll-margin-top: calc(var(--header-height, 90px) + 20px);
}

.contact-v1-form-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.82fr) minmax(0, 1.18fr);
  min-height: 720px;
}

.contact-v1-form-aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(54px, 6vw, 92px);
  color: #fff;
  background: radial-gradient(
    circle at 50% 35%,
    #686868 0%,
    #535353 44%,
    #444 78%,
    #3f3f3f 100%
  );
}

.contact-v1-form-aside > p:not(.contact-v1-kicker) {
  max-width: 600px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.contact-v1-direct {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-v1-direct__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(211, 177, 95, 0.48);
  border-radius: 50%;
  color: #d3b15f;
}

.contact-v1-direct strong {
  display: block;
  color: #f0d69c;
  font-weight: 600;
}

.contact-v1-direct p {
  margin: 7px 0 4px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.contact-v1-direct a {
  color: #fff;
  font-size: 1.16rem;
  text-decoration: none;
}

.contact-v1-form-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(46px, 6vw, 86px);
  background:
    radial-gradient(
      circle at 80% 18%,
      rgba(190, 140, 60, 0.055),
      transparent 28%
    ),
    #fff;
}

.contact-v1-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
  padding: 16px 18px;
  border: 1px solid;
  line-height: 1.6;
}

.contact-v1-alert--success {
  border-color: #b7d9b7;
  background: #f0f8f0;
  color: #2f6236;
}

.contact-v1-alert--error {
  border-color: #e2b7b7;
  background: #fff2f2;
  color: #812f2f;
}

.contact-v1-alert i {
  margin-top: 4px;
}

.contact-v1-form {
  position: relative;
}

.contact-v1-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact-v1-field {
  display: grid;
  align-content: start;
  gap: 8px;
}

.contact-v1-field--full {
  grid-column: 1 / -1;
}

.contact-v1-field > span {
  color: #4b4b4b;
  font-size: 0.86rem;
  font-weight: 650;
}

.contact-v1-field b {
  color: #a66d2d;
  font-weight: 700;
}

.contact-v1-field em {
  margin-left: 5px;
  color: #8a8a8a;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 400;
}

.contact-v1-field input,
.contact-v1-field textarea {
  width: 100%;
  border: 1px solid #d9d3cb;
  border-radius: 0;
  padding: 14px 15px;
  background: #fff;
  color: #303030;
  box-shadow: none;
}

.contact-v1-field input {
  min-height: 50px;
}

.contact-v1-field textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-v1-field input:focus,
.contact-v1-field textarea:focus {
  border-color: #bb8332;
  outline: 2px solid rgba(187, 131, 50, 0.18);
  outline-offset: 1px;
}

.contact-v1-field small,
.contact-v1-consent-error {
  color: #a53838;
  font-size: 0.79rem;
  line-height: 1.5;
}

.contact-v1-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  align-items: start;
  margin-top: 22px;
  color: #5d5d5d;
  font-size: 0.86rem;
  line-height: 1.65;
}

.contact-v1-consent input {
  width: 17px;
  height: 17px;
  margin: 4px 0 0;
  accent-color: #bb8332;
}

.contact-v1-consent a {
  color: #8f6028;
}

.contact-v1-consent-error {
  display: block;
  margin-top: 8px;
}

.contact-v1-consent-error[hidden] {
  display: none !important;
}

.contact-v1-submit {
  margin-top: 28px;
}

.contact-v1-tour {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: 520px;
  background: #fff;
}

.contact-v1-tour__media {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #ddd;
}

.contact-v1-tour__media > a,
.contact-v1-tour__media img {
  display: block;
  width: 100%;
  height: 100%;
}

.contact-v1-tour__media img {
  object-fit: cover;
}

.contact-v1-360-badge {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(55, 55, 55, 0.62);
  color: #f1d99d;
  font-size: 1.4rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.contact-v1-tour__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vw, 92px);
}

.contact-v1-tour__copy > p:not(.contact-v1-kicker) {
  max-width: 650px;
  margin: 24px 0 0;
  color: #555;
  line-height: 1.8;
}

.contact-v1-page a:focus-visible,
.contact-v1-page button:focus-visible {
  outline: 3px solid #d3b15f;
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .contact-v1-hero,
  .contact-v1-form-layout,
  .contact-v1-tour {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .contact-v1-hero__media,
  .contact-v1-tour__media {
    min-height: min(76vw, 620px);
  }

  .contact-v1-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-v1-info-grid article {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .contact-v1-form__grid {
    grid-template-columns: 1fr;
  }

  .contact-v1-field--full {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .contact-v1-container {
    width: min(100% - 24px, 1240px);
  }

  .contact-v1-hero__copy,
  .contact-v1-form-aside,
  .contact-v1-form-panel,
  .contact-v1-tour__copy {
    padding: 52px 22px 58px;
  }

  .contact-v1-actions {
    display: grid;
  }

  .contact-v1-page .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-v1-page *,
  .contact-v1-page *::before,
  .contact-v1-page *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
/* Batch 8E.5A — Contact page clinic photo gallery */
.contact-v1-gallery-band {
  padding: clamp(64px, 7vw, 100px) 0;
  background: radial-gradient(
    circle at 50% 20%,
    #626262 0%,
    #535353 42%,
    #464646 100%
  );
}

.contact-v1-gallery-lead {
  max-width: 820px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.8;
}

.contact-v1-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.contact-v1-gallery__item {
  margin: 0;
  overflow: hidden;
  background: #393939;
}

.contact-v1-gallery__link {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  text-decoration: none;
}

.contact-v1-gallery__link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.28s ease,
    filter 0.28s ease;
}

.contact-v1-gallery__zoom {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(33, 33, 33, 0.16);
  color: #f2d99a;
  font-size: 1.15rem;
  opacity: 0;
  transition:
    opacity 0.22s ease,
    background-color 0.22s ease;
}

.contact-v1-gallery__link:hover img {
  transform: scale(1.035);
  filter: brightness(0.88);
}

.contact-v1-gallery__link:hover .contact-v1-gallery__zoom,
.contact-v1-gallery__link:focus-visible .contact-v1-gallery__zoom {
  opacity: 1;
  background: rgba(33, 33, 33, 0.36);
}

html.contact-v1-lightbox-open,
body.contact-v1-lightbox-open {
  overflow: hidden;
}

.contact-v1-lightbox[hidden] {
  display: none !important;
}

.contact-v1-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  grid-template-columns: minmax(54px, 96px) minmax(0, 1fr) minmax(54px, 96px);
  align-items: center;
  background: rgba(18, 18, 18, 0.96);
}

.contact-v1-lightbox__stage {
  display: grid;
  justify-items: center;
  gap: 16px;
  max-height: 92vh;
  min-width: 0;
}

.contact-v1-lightbox__stage img {
  display: block;
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
}

.contact-v1-lightbox__caption {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  text-align: center;
}

.contact-v1-lightbox__close,
.contact-v1-lightbox__nav {
  border: 0;
  background: transparent;
  color: #f1d99d;
  cursor: pointer;
}

.contact-v1-lightbox__close {
  position: absolute;
  top: 22px;
  right: 24px;
  z-index: 2;
  width: 48px;
  height: 48px;
  font-size: 1.25rem;
}

.contact-v1-lightbox__nav {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  font-size: 1.4rem;
}

.contact-v1-lightbox__nav:hover,
.contact-v1-lightbox__close:hover {
  color: #fff;
}

@media (max-width: 1100px) {
  .contact-v1-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .contact-v1-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-v1-lightbox {
    grid-template-columns: 52px minmax(0, 1fr) 52px;
  }

  .contact-v1-lightbox__close {
    top: 10px;
    right: 10px;
  }
}

@media (max-width: 520px) {
  .contact-v1-gallery {
    grid-template-columns: 1fr;
  }

  .contact-v1-lightbox {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-v1-gallery__link img,
  .contact-v1-gallery__zoom {
    transition: none;
  }
}
/* =========================================================
   Batch 8E.5C — Contact feedback modal + email delivery status
   ========================================================= */
html.contact-v1-feedback-open,
body.contact-v1-feedback-open {
  overflow: hidden;
}

.contact-v1-feedback-modal[hidden] {
  display: none !important;
}

.contact-v1-feedback-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.contact-v1-feedback-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(27, 27, 27, 0.78);
  backdrop-filter: blur(4px);
}

.contact-v1-feedback-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: clamp(34px, 5vw, 56px);
  border-top: 3px solid #bb8332;
  background: #fff;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.28);
  color: #3f3f3f;
  outline: 0;
}

.contact-v1-feedback-modal__dialog--error {
  border-top-color: #a33d3d;
}

.contact-v1-feedback-modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  background: transparent;
  color: #777;
  cursor: pointer;
}

.contact-v1-feedback-modal__close:hover {
  color: #222;
}

.contact-v1-feedback-modal__icon {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid rgba(187, 131, 50, 0.46);
  border-radius: 50%;
  color: #a4692a;
  font-size: 1.65rem;
}

.contact-v1-feedback-modal__dialog--error .contact-v1-feedback-modal__icon {
  border-color: rgba(163, 61, 61, 0.34);
  color: #a33d3d;
}

.contact-v1-feedback-modal__dialog h2 {
  max-width: 520px;
  margin: 0;
  color: #8f6028;
  font-family: var(--font-body);
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  font-weight: 500;
  line-height: 1.15;
}

.contact-v1-feedback-modal__dialog--error h2 {
  color: #8d3434;
}

.contact-v1-feedback-modal__dialog > p:not(.contact-v1-kicker) {
  max-width: 520px;
  margin: 18px 0 0;
  color: #5c5c5c;
  line-height: 1.75;
}

.contact-v1-feedback-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.contact-v1-feedback-modal__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid;
  border-radius: 0;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.contact-v1-feedback-modal__button--primary {
  border-color: #bb8332;
  background: #bb8332;
  color: #fff;
}
.contact-v1-feedback-modal__button--primary:hover {
  border-color: #a4692a;
  background: #a4692a;
  color: #fff;
}
.contact-v1-feedback-modal__button--secondary {
  border-color: #cfc7bd;
  background: #fff;
  color: #555;
}
.contact-v1-feedback-modal__button--secondary:hover {
  border-color: #8f6028;
  color: #8f6028;
}

.email-delivery-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.email-delivery-pill--sent {
  border-color: #b9d9bd;
  background: #eff8f0;
  color: #2d6336;
}
.email-delivery-pill--failed {
  border-color: #e0b6b6;
  background: #fff1f1;
  color: #8d3030;
}
.email-delivery-pill--pending {
  border-color: #e4d3a6;
  background: #fff9e8;
  color: #7f641c;
}
.email-delivery-meta {
  display: -webkit-box;
  max-width: 300px;
  margin-top: 7px;
  overflow: hidden;
  color: #6b6b66;
  font-size: 11px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.email-delivery-meta--error {
  color: #8d3030;
}

.email-delivery-card {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e3e3dd;
}
.email-delivery-card__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.email-delivery-card__heading h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
}
.email-delivery-card__details {
  display: grid;
  gap: 12px;
}
.email-delivery-card__details p {
  margin: 0;
  color: #5f5f5a;
  font-size: 13px;
  line-height: 1.6;
}
.email-delivery-card__details strong {
  display: block;
  margin-bottom: 3px;
  color: #2f2f2c;
}
.email-delivery-card__details code {
  display: block;
  padding: 8px 10px;
  border: 1px solid #e2e2dc;
  border-radius: 8px;
  background: #f8f8f5;
  color: #444;
  font-size: 11px;
  overflow-wrap: anywhere;
  white-space: normal;
}
.email-delivery-card__error {
  padding: 12px 14px;
  border: 1px solid #e2b9b9;
  border-radius: 10px;
  background: #fff3f3;
  color: #842f2f !important;
  overflow-wrap: anywhere;
}

@media (max-width: 560px) {
  .contact-v1-feedback-modal {
    padding: 14px;
  }
  .contact-v1-feedback-modal__dialog {
    max-height: calc(100vh - 28px);
    padding: 34px 22px 26px;
  }
  .contact-v1-feedback-modal__actions {
    display: grid;
  }
  .contact-v1-feedback-modal__button {
    width: 100%;
  }
}

