/* ==========================================
   HIG — CONTACT PAGE
   Premium contact experience
========================================== */

.contact-page-hero {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  display: flex;
  align-items: center;
  background: linear-gradient(115deg, #0C1B27 0%, #18324A 58%, #294B67 100%);
  border-bottom: 4px solid #CDA06C;
}

.contact-page-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 49%;
  background:
    linear-gradient(90deg, #18324A 0%, rgba(24,50,74,.55) 20%, rgba(24,50,74,.05) 70%),
    url("assets/contact-hero.webp") 82% 52% / cover no-repeat;
}

.contact-page-hero::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  left: -370px;
  bottom: -330px;
  border: 1px solid rgba(205,160,108,.28);
  border-radius: 50%;
}

.contact-page-hero .container { position: relative; z-index: 2; }
.contact-page-hero-inner { max-width: 750px; padding: 82px 0; }

.contact-eyebrow,
.contact-small-title,
.contact-form-header span,
.contact-bottom span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: #AD8F6C;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.8px;
}

.contact-eyebrow { color: #DFC3A3; }

.contact-eyebrow::before,
.contact-small-title::before,
.contact-form-header span::before,
.contact-bottom span::before {
  content: "";
  width: 32px;
  height: 2px;
  background: #CDA06C;
}

.contact-page-hero h1 {
  max-width: 760px;
  margin: 0 0 16px;
  color: #FFFFFF;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 4.7vw, 66px);
  font-weight: 400;
  line-height: 1.08;
}

.contact-page-hero p {
  max-width: 650px;
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 18px;
  line-height: 1.72;
}

/* MAIN */

.contact-main {
  padding: 96px 0 108px;
  background:
    radial-gradient(circle at 8% 8%, rgba(205,160,108,.11), transparent 25%),
    linear-gradient(180deg, #F8F2EB 0%, #FFFFFF 100%);
}

.contact-main-grid {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 72px;
  align-items: start;
}

.contact-side {
  position: sticky;
  top: 150px;
}

.contact-side h2,
.contact-form-header h2,
.contact-bottom h2 {
  margin: 0;
  color: #18324A;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.16;
}

.contact-side h2 {
  margin-bottom: 16px;
  font-size: clamp(38px, 4vw, 52px);
}

.contact-side > p {
  max-width: 540px;
  margin: 0 0 26px;
  color: #6F7780;
  font-size: 16px;
  line-height: 1.75;
}

.contact-visual {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  margin: 0 0 28px;
  border-radius: 18px 160px 18px 18px;
  background:
    linear-gradient(0deg, rgba(18,34,46,.28), transparent 58%),
    url("assets/contact-visual-final.webp") center / cover no-repeat;
  border: 1px solid rgba(205,160,108,.36);
  box-shadow: 0 22px 54px rgba(24,50,74,.13);
}

.contact-visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 12px 145px 12px 12px;
}

.contact-visual-ring {
  position: absolute;
  left: 24px;
  bottom: 24px;
  width: 76px;
  height: 76px;
  border: 1px solid #DFC3A3;
  border-radius: 50%;
}

.contact-detail-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}

.contact-detail-item {
  min-height: 110px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px;
  background: rgba(255,255,255,.76);
  border: 1px solid #E4D6C8;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(24,50,74,.05);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.contact-detail-item:hover {
  transform: translateY(-4px);
  border-color: #CDA06C;
  box-shadow: 0 16px 34px rgba(24,50,74,.09);
}

.contact-detail-icon {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #18324A, #294B67);
  border-radius: 50%;
}

.contact-detail-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #DFC3A3;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-detail-item span {
  display: block;
  margin-bottom: 3px;
  color: #8A7766;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.contact-detail-item strong {
  color: #18324A;
  font-size: 15px;
  font-weight: 800;
}

.contact-note {
  padding: 20px 22px;
  background: #18324A;
  border-left: 3px solid #CDA06C;
  color: #FFFFFF;
  box-shadow: 0 16px 34px rgba(24,50,74,.10);
}

.contact-note span {
  display: block;
  margin-bottom: 7px;
  color: #DFC3A3;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.3px;
}

.contact-note p {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.65;
}

/* FORM */

.contact-form-wrapper {
  position: relative;
  overflow: hidden;
  padding: 46px 48px 48px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(205,160,108,.32);
  border-radius: 12px;
  box-shadow: 0 26px 70px rgba(24,50,74,.12);
}

.contact-form-wrapper::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -115px;
  top: -115px;
  border: 1px solid rgba(205,160,108,.28);
  border-radius: 50%;
  box-shadow: 0 0 0 32px rgba(205,160,108,.025);
}

.contact-form-header {
  position: relative;
  z-index: 1;
  margin-bottom: 32px;
}

.contact-form-header h2 { font-size: 36px; }

.contact-form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  color: #18324A;
  font-size: 13px;
  font-weight: 800;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid #DDD0C3;
  border-radius: 5px;
  background: #FCFAF7;
  padding: 14px 15px;
  color: #263746;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.form-group input,
.form-group select { min-height: 51px; }
.form-group textarea { resize: vertical; min-height: 160px; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #CDA06C;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(205,160,108,.10);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #9A9A9A; }

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-consent input {
  margin-top: 4px;
  accent-color: #18324A;
}

.form-consent label {
  color: #6F7780;
  font-size: 12px;
  line-height: 1.55;
}

.contact-submit {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid #CDA06C;
  border-radius: 5px;
  background: linear-gradient(135deg, #D8AF79, #CDA06C);
  color: #12222E;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(205,160,108,.18);
  transition: transform .22s ease, background .22s ease, color .22s ease;
}

.contact-submit:hover {
  transform: translateY(-2px);
  background: #18324A;
  color: #FFFFFF;
}

.contact-submit span { font-size: 18px; }

.contact-form-help {
  margin: -5px 0 0;
  color: #8C8C8C;
  font-size: 11px;
  text-align: center;
}

/* BOTTOM */

.contact-bottom {
  position: relative;
  overflow: hidden;
  padding: 78px 0;
  background:
    radial-gradient(circle at 86% 24%, rgba(205,160,108,.14), transparent 26%),
    linear-gradient(90deg, #0C1B27 0%, #18324A 100%);
  border-top: 3px solid #CDA06C;
}

.contact-bottom-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.contact-bottom span {
  justify-content: center;
  color: #DFC3A3;
}

.contact-bottom h2 {
  max-width: 860px;
  margin: 0 auto;
  color: #FFFFFF;
  font-size: clamp(31px, 4vw, 45px);
}

/* RTL */

html[dir="rtl"] .contact-note {
  border-left: 0;
  border-right: 3px solid #CDA06C;
}

/* RESPONSIVE */

@media (max-width: 1050px) {
  .contact-main-grid { grid-template-columns: 1fr; gap: 55px; }
  .contact-side { position: static; }
  .contact-visual { max-width: 760px; min-height: 380px; }
}

@media (max-width: 760px) {
  .contact-page-hero::before { width: 62%; opacity: .48; }
  .contact-detail-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .contact-page-hero { min-height: 390px; }
  .contact-page-hero::before { width: 100%; opacity: .22; }
  .contact-page-hero-inner { padding: 64px 0; }
  .contact-page-hero h1 { font-size: 42px; }
  .contact-page-hero p { font-size: 16px; }
  .contact-main { padding: 70px 0; }
  .contact-visual { min-height: 310px; }
  .contact-form-wrapper { padding: 31px 24px 34px; }
  .contact-bottom { background: linear-gradient(120deg, #0C1B27, #18324A); }
}
/* ==========================================
   RESPONSIVE POLISH — CONTACT
========================================== */
@media (min-width: 761px) and (max-width: 1050px) {
  .contact-main-grid { grid-template-columns: .9fr 1.1fr; gap: 40px; }
  .contact-side { position: static; }
  .contact-form-wrapper { padding: 38px 34px 40px; }
}

@media (max-width: 760px) {
  .contact-page-hero { min-height: 420px; }
  .contact-page-hero::before {
    width: 100%;
    opacity: 1;
    background: linear-gradient(90deg, rgba(12,27,39,.97) 0%, rgba(24,50,74,.90) 55%, rgba(24,50,74,.76) 100%);
  }
  .contact-page-hero-inner { max-width: 92%; padding: 58px 0; }
  .contact-page-hero h1 { font-size: clamp(40px, 9.6vw, 52px); }

  .contact-main { padding: 66px 0 76px; }
  .contact-main-grid { gap: 38px; }
  .contact-side h2,
  .contact-form-header h2,
  .contact-bottom h2 { font-size: clamp(34px, 8.5vw, 44px); }
  .contact-visual { min-height: 285px; border-radius: 16px 105px 16px 16px; }
  .contact-detail-list { gap: 12px; }
  .contact-detail-item { padding: 18px; border-radius: 14px; }

  .contact-form-wrapper { padding: 28px 20px 30px; border-radius: 18px; }
  .form-row { gap: 15px; }
  .form-field input,
  .form-field select,
  .form-field textarea { font-size: 16px; }
  .form-field input,
  .form-field select { min-height: 52px; }
  .form-field textarea { min-height: 150px; }
  .consent-row { align-items: flex-start; }
  .contact-bottom { padding: 58px 0; }
}


/* V20 — privacy link inside consent */
.form-consent label a {
  color: #9A6D3C;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-consent label a:hover { color: #18324A; }
