/* ============================================================
   Deep Blue theme — Contact page
   Hero: Deep Blue gradient | Body: clean white
   ============================================================ */

:root {
  --dt-deep-blue:       #182350;
  --dt-powder-blue:     #AFD2FA;
  --dt-floral-white:    #FEFAEF;
  --dt-pale-brown:      #B9915E;
  --dt-text-light:      #FEFAEF;
  --dt-text-dark:       #0B1020;
  --dt-text-muted-lt:   rgba(254, 250, 239, 0.70);
  --dt-text-muted-dk:   rgba(11, 16, 32, 0.64);
  --dt-accent:          #AFD2FA;
}

/* ── Page wrapper ─────────────────────────────────────────── */
.contact-page {
  background: #f5f7fb;
  min-height: 100vh;
}

/* ── Hero — Deep Blue gradient, ends here ─────────────────── */
.contact-hero {
  position: relative;
  overflow: hidden;
  background: #07101f;
  background-image:
    radial-gradient(ellipse 80% 60% at 65% 0%, rgba(29, 78, 216, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 0% 85%, rgba(245, 158, 11, 0.14) 0%, transparent 50%);
  color: var(--dt-text-light);
  text-align: center;
  padding: 24px 5vw 30px;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.contact-hero h1 {
  position: relative;
  font-size: clamp(0.925rem, 2.5vw, 1.5rem);
  font-weight: 800;
  color: var(--dt-floral-white);
  letter-spacing: -0.025em;
  line-height: 1.14;
  margin-bottom: 18px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.contact-hero p {
  position: relative;
  font-size: 15px;
  color: var(--dt-text-muted-lt);
  line-height: 1.5;
  max-width: 720px;
  margin: 0 auto;
}

/* ── 2-col body (on white bg, overlaps hero bottom) ──────── */
.contact-body {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 28px;
  max-width: 1040px;
  margin: -8px auto 0;
  padding: 0 24px 64px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-left-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Info card — solid navy ───────────────────────────────── */
.contact-info-card {
  background: var(--dt-deep-blue);
  border-radius: 22px;
  padding: 34px 26px;
  color: var(--dt-text-light);
  box-shadow: 0 20px 56px rgba(24, 35, 80, 0.24);
}

.contact-info-card h2 {
  font-size: 0.70rem;
  font-weight: 700;
  color: var(--dt-accent);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-bottom: 28px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.cinfo-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(175, 210, 250, 0.12);
  border: 1px solid rgba(175, 210, 250, 0.18);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cinfo-icon svg {
  width: 17px;
  height: 17px;
  fill: var(--dt-accent);
  stroke: none;
  display: block;
}

.contact-info-text strong {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--dt-text-muted-lt);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 4px;
}

.contact-info-text span,
.contact-info-text a {
  font-size: 0.93rem;
  color: var(--dt-floral-white);
  line-height: 1.55;
  text-decoration: none;
  display: block;
}

.contact-info-text a:hover { color: var(--dt-accent); }

/* ── Form card — white ────────────────────────────────────── */
.contact-form-card {
  background: #ffffff;
  color: var(--dt-text-dark);
  border-radius: 22px;
  padding: 38px 34px;
  box-shadow: 0 4px 26px rgba(24, 35, 80, 0.08);
  border: 1px solid rgba(24, 35, 80, 0.07);
}

.contact-form-card h2 {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--dt-deep-blue);
  margin-bottom: 24px;
}

.cform-row { margin-bottom: 15px; }

.cform-row label {
  display: block;
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--dt-text-muted-dk);
  margin-bottom: 6px;
}

.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card input[type="tel"],
.contact-form-card textarea {
  width: 100%;
  padding: 11px 14px;
  background: #fafbfc;
  border: 1.5px solid rgba(24, 35, 80, 0.11);
  border-radius: 11px;
  color: var(--dt-text-dark);
  font-size: 0.91rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  line-height: 1.5;
}

.contact-form-card textarea { resize: vertical; min-height: 116px; }

.contact-form-card input:focus,
.contact-form-card textarea:focus {
  outline: none;
  border-color: var(--dt-deep-blue);
  box-shadow: 0 0 0 3px rgba(175, 210, 250, 0.38);
  background: #fff;
}

.cform-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 17px 0 19px;
}

.cform-consent input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 2px;
  width: 15px;
  height: 15px;
  accent-color: var(--dt-deep-blue);
  cursor: pointer;
}

.cform-consent label {
    font-size: 0.88rem;
    color: var(--dt-text-muted-dk);
    line-height: 1.58;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    gap: 0 5px;
}

.cform-consent-label a {
    color: var(--dt-deep-blue);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cform-consent-label a:hover {
    opacity: 0.82;
}

.cform-status {
  font-size: 0.87rem;
  border-radius: 10px;
  margin-bottom: 13px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.28s ease, padding 0.2s;
}

.cform-status.success { color: #14532d; background: #dcfce7; padding: 11px 14px; max-height: 120px; }
.cform-status.error   { color: #7f1d1d; background: #fee2e2; padding: 11px 14px; max-height: 120px; }

.contact-submit-btn {
  width: 100%;
  padding: 13px 26px;
  background: linear-gradient(138deg, var(--dt-deep-blue), #0D2B5C);
  color: var(--dt-floral-white);
  border: none;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(24, 35, 80, 0.22);
  transition: transform 0.18s, box-shadow 0.18s, opacity 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contact-submit-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(24, 35, 80, 0.28);
}

.contact-submit-btn:disabled { opacity: 0.65; cursor: not-allowed; }

.csub-spinner {
  display: none;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(254, 250, 239, 0.30);
  border-top-color: var(--dt-floral-white);
  border-radius: 50%;
  animation: cfspin 0.7s linear infinite;
}
.csub-spinner.active {
  display: inline-block;
}

@keyframes cfspin { to { transform: rotate(360deg); } }

/* ── Map card (sol kolonda) ───────────────────────────────── */
.map-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(24, 35, 80, 0.09);
  box-shadow: 0 6px 30px rgba(24, 35, 80, 0.09);
  flex: 1;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: block;
  border: 0;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 840px) {
  .contact-body { grid-template-columns: 1fr; gap: 18px; margin-top: -6px; }
  .contact-form-card { padding: 26px 20px; }
  .contact-info-card  { padding: 24px 18px; }
  .map-card iframe { min-height: 240px; height: 240px; }
}

@media (max-width: 540px) {
  .contact-hero { padding: 24px 18px 22px; }
  .contact-hero h1 { font-size: clamp(0.925rem, 2.5vw, 1.5rem); }
  .map-card iframe { min-height: 200px; height: 200px; }
}
