
:root {
  --teal: #1aaa8c;
  --teal-glow: rgba(26,170,140,0.18);
  --gold: #c8a96e;
  --dark: #080f0e;
  --dark-card: rgba(255,255,255,0.04);
  --dark-border: rgba(255,255,255,0.09);
  --muted: rgba(255,255,255,0.38);
  --body: rgba(255,255,255,0.72);
  --white: #ffffff;
  --right-bg: #f7faf9;
  --field-border: #cfe0db;
  --text-dark: #0c2822;
  --text-mid: #3a6659;
  --text-light: #7aa89f;
}


/* ══════════════════════════════════════════
   SECTION SHELL
══════════════════════════════════════════ */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* ══════════════════════════════════════════
   LEFT – DARK IMMERSIVE PANEL
══════════════════════════════════════════ */
.c-left {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 56px;
  overflow: hidden;
  isolation: isolate;
}

/* Background image */
.c-left__img {
  position: absolute;
  inset: 0;
  background-image: url('/frontend/assets/img/about/contact-medcost.jpg');
  background-size: cover;
  background-position: center;
  transition: transform 9s ease;
  z-index: -3;
}
.c-left:hover .c-left__img { transform: scale(1.05); }

/* Dark overlay */
.c-left__veil {
  position: absolute;
  inset: 0;
    background: linear-gradient(170deg, rgb(4 12 10 / 35%) 0%, rgb(30 60 51 / 86%) 45%, rgb(0 0 0 / 68%) 100%);
  z-index: -2;
}

/* Diagonal accent slice */
.c-left__slice {
  position: absolute;
  bottom: -30px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(ellipse at center, rgba(26,170,140,0.22) 0%, transparent 70%);
  z-index: -1;
  border-radius: 50%;
}

/* Vertical rule */
.c-left::before {
  content: '';
  position: absolute;
  top: 80px;
  bottom: 80px;
  left: 28px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(26,170,140,0.5) 40%, rgba(200,169,110,0.35) 70%, transparent);
}

/* Numbered badge */
.c-left__badge {
  position: absolute;
  top: 56px;
  right: 56px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(26,170,140,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--teal);
}

/* ── Quote ── */
.c-quote {
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 32px;
}

.c-quote__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.c-quote__tag::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.c-quote__open {

  font-size: 96px;
  line-height: 0.5;
  color: var(--teal);
  opacity: 0.45;
  display: block;
  margin-bottom: 10px;
}

.c-quote__headline {

  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 8px;
}

.c-quote__headline em {
  font-style: italic;
  color: #72e8cc;
}

.c-quote__rule {
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, var(--teal), var(--gold));
  margin: 20px 0;
}

.c-quote__body {
  font-size: 15px;
  font-weight: 300;
  color: var(--body);
  line-height: 1.75;
  max-width: 400px;
}

/* ── Contact Cards ── */
.c-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.c-info-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
  cursor: pointer;
}
.c-info-card:hover {
  background: rgba(26,170,140,0.14);
  border-color: rgba(26,170,140,0.4);
  transform: translateY(-2px);
}

.c-info-card__dot {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.c-info-card__dot--teal  { background: linear-gradient(135deg, #1aaa8c, #127a65); }
.c-info-card__dot--green { background: linear-gradient(135deg, #25d366, #128c47); }
.c-info-card__dot--blue  { background: linear-gradient(135deg, #206785, #174e66); }

.c-info-card__dot svg {
  width: 16px; height: 16px; fill: #fff;
}

.c-info-card__text {
  overflow: hidden;
}
.c-info-card__label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.c-info-card__val {
  font-size: 12.5px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ══════════════════════════════════════════
   RIGHT – FORM PANEL
══════════════════════════════════════════ */
.c-right {
  background: var(--right-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 52px;
  position: relative;
  overflow: hidden;
}

/* Geometric decoration */
.c-right::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 60px solid rgba(26,170,140,0.06);
  pointer-events: none;
}
.c-right::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 40px solid rgba(200,169,110,0.07);
  pointer-events: none;
}

.c-form-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
}

/* ── Form Header ── */
.c-form-head {
  margin-bottom: 36px;
}

.c-form-head__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.c-form-head__eyebrow span {
  display: block;
  width: 24px;
  height: 2px;
  background: linear-gradient(to right, var(--teal), var(--gold));
  border-radius: 2px;
}

.c-form-head__title {

  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.c-form-head__title .accent {
  font-style: italic;
  color: var(--teal);
}

.c-form-head__sub {
  font-size: 14.5px;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.65;
}

/* ── Fields ── */
.f-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.f-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}
.f-group--inline { margin-bottom: 0; }

.f-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
}

.f-wrap {
  position: relative;
}
.f-wrap svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  fill: var(--teal);
  opacity: 0.7;
  pointer-events: none;
}

.f-input,
.f-select,
.f-textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-dark);
  background: #fff;
  border: 1.5px solid #47957e;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  box-sizing: border-box;
}
.f-wrap .f-input { padding-left: 38px; }

.f-input::placeholder, .f-textarea::placeholder {
  color: #b0cdc8;
  font-weight: 300;
}
.f-input:focus, .f-select:focus, .f-textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26,170,140,0.1);
}

.f-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231aaa8c' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.f-textarea {
  resize: none;
  height: 100px;
  line-height: 1.6;
}

/* ── Submit ── */
.f-submit {
  width: 100%;
  padding: 15px 28px;
  background: var(--dark);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: background 0.25s, transform 0.15s, box-shadow 0.25s;
  box-shadow: 0 6px 28px rgba(8,15,14,0.22);
  margin-top: 6px;
  position: relative;
  overflow: hidden;
}
.f-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--teal), #1c6e80);
  opacity: 0;
  transition: opacity 0.3s;
}
.f-submit:hover::before { opacity: 1; }
.f-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(26,170,140,0.3); }
.f-submit:active { transform: translateY(0); }
.f-submit span, .f-submit svg { position: relative; z-index: 1; }
.f-submit svg { width: 17px; height: 17px; fill: #fff; transition: transform 0.2s; }
.f-submit:hover svg { transform: translateX(4px); }

.f-privacy {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  margin-top: 20px;
  line-height: 1.5;
}
.f-privacy a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
}
.f-privacy a:hover { text-decoration: underline; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 960px) {
  .contact-section { grid-template-columns: 1fr; }
  .c-left { min-height: 460px; padding: 48px 32px; }
  .c-left::before { display: none; }
  .c-quote { padding-top: 60px; }
  .c-right { padding: 52px 28px; }
}

@media (max-width: 600px) {
  .c-left { min-height: 400px; padding: 36px 24px; }
  .c-info { grid-template-columns: 1fr; }
  .f-row { grid-template-columns: 1fr; }
  .c-right { padding: 40px 20px; }
}