/* ============================================================
   CONTACT.CSS — Contact page styles
   Exium Classes · exium.in
   ============================================================ */

/* ── NAV EXTRA: Enrol button (contact page only) ── */
.nav-enrol {
  background: var(--red);
  color: var(--white);
  padding: 0.5rem 1.2rem;
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.2s;
}

.nav-enrol:hover { background: var(--red-bright); }

/* ── PAGE HEADER ── */
.page-header {
  position: relative;
  z-index: 1;
  padding: 9rem 4rem 5rem;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 100% at 100% 60%, rgba(74, 111, 199, 0.07), transparent 70%),
    radial-gradient(ellipse 40% 80%  at   0% 30%, rgba(204, 31,  31, 0.04), transparent 60%);
}

.page-header::after {
  content: '//';
  position: absolute;
  right: 4rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: 20rem;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(74, 111, 199, 0.055);
  pointer-events: none;
  user-select: none;
}

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 3rem;
}

.header-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f07070;
  margin-bottom: 1rem;
  display: block;
}

.header-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  animation: fadeUp 0.6s ease both;
}

.header-sub {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(200, 210, 232, 0.6);
  line-height: 1.75;
  max-width: 44ch;
  animation: fadeUp 0.6s 0.12s ease both;
}

/* ── RESPONSE BADGE ── */
.response-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(74, 111, 199, 0.1);
  border: 1px solid rgba(74, 111, 199, 0.25);
  padding: 0.35rem 0.9rem;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-top: 1.5rem;
  animation: fadeUp 0.6s 0.2s ease both;
}

.response-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-acc);
  animation: blink 2s infinite;
}

/* ── DIVIDER ── */
.divider {
  height: 1px;
  margin: 0 4rem;
  position: relative;
  z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(200, 210, 232, 0.18), transparent);
}

/* ── MAIN GRID ── */
.main-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0 4rem 6rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.main-grid::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-acc) 0%, var(--red) 100%);
  z-index: 2;
}

/* ── INFO COLUMN ── */
.info-col {
  background: rgba(26, 45, 90, 0.5);
  border-right: 1px solid var(--line);
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.info-section-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
}

/* Contact cards */
.contact-cards { display: flex; flex-direction: column; gap: 1rem; }

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.2rem 1.3rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, transform 0.25s;
}

a.contact-card:hover {
  border-color: rgba(74, 111, 199, 0.4);
  transform: translateX(4px);
}

.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.icon-blue  { background: rgba(74,  111, 199, 0.15); }
.icon-red   { background: rgba(204,  31,  31, 0.12); }
.icon-green { background: rgba(37,  168,  95, 0.12); }

.contact-card-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.contact-card-value {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.5;
}

.contact-card-sub {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

/* Address */
.address-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.4rem;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}

.address-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  flex-shrink: 0;
  background: rgba(74, 111, 199, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.address-text {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.85;
  font-style: normal;
}

.address-text strong {
  color: var(--white);
  font-weight: 600;
  display: block;
  margin-bottom: 0.3rem;
}

/* Map */
.map-wrap {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
  margin-top: 1rem;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 200px;
  border: none;
  filter: saturate(0.3) brightness(0.7);
  transition: filter 0.3s;
}

.map-wrap:hover iframe { filter: saturate(0.6) brightness(0.85); }

.map-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(180deg, transparent, rgba(14, 28, 58, 0.9));
  padding: 1rem 1rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.map-label a {
  color: var(--blue-light);
  text-decoration: none;
  font-size: 0.62rem;
  transition: color 0.2s;
}

.map-label a:hover { color: var(--white); }

/* Schedule / Hours */
.hours-grid { display: flex; flex-direction: column; gap: 0.5rem; }

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hours-row:last-child { border-bottom: none; }
.hours-day  { color: var(--muted); font-weight: 400; }
.hours-time { color: var(--white); font-weight: 500; font-size: 0.82rem; }

.hours-badge {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 2px;
}

.badge-open   { background: rgba(37, 168, 95, 0.15); color: #5dba8a; }
.badge-online { background: rgba(74, 111, 199, 0.15); color: var(--blue-light); }

/* ── FORM COLUMN ── */
.form-col {
  background: rgba(255, 255, 255, 0.02);
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
}

.form-col-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.form-col-sub {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

/* Form fields */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
}

label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

input,
select,
textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(200, 210, 232, 0.15);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
  -webkit-appearance: none;
}

input::placeholder,
textarea::placeholder { color: var(--muted); }

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(74, 111, 199, 0.5);
  background: rgba(74, 111, 199, 0.06);
}

select option { background: var(--navy-dark); color: var(--white); }
textarea      { resize: vertical; min-height: 110px; line-height: 1.6; }

.form-submit {
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 4px;
  padding: 0.95rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  margin-top: 0.5rem;
  width: 100%;
}

.form-submit:hover  { background: var(--red-bright); transform: translateY(-2px); }
.form-submit:active { transform: translateY(0); }

.form-note {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 1rem;
  text-align: center;
}

.form-note a { color: var(--blue-light); text-decoration: none; }

/* Success state */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem;
  gap: 1rem;
  flex: 1;
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(37, 168, 95, 0.15);
  border: 1px solid rgba(37, 168, 95, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.success-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
}

.success-sub {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 32ch;
}

/* ── FAQ SECTION ── */
.faq-section {
  position: relative;
  z-index: 1;
  padding: 5rem 4rem 6rem;
  border-top: 1px solid var(--line);
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.5rem;
  transition: border-color 0.25s;
  cursor: pointer;
}

.faq-item:hover { border-color: rgba(74, 111, 199, 0.3); }
.faq-item.open  { border-color: rgba(74, 111, 199, 0.35); background: rgba(74, 111, 199, 0.05); }

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--white);
}

.faq-chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--muted);
  transition: transform 0.25s, color 0.25s;
  margin-top: 2px;
}

.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--blue-light); }

.faq-a {
  font-size: 0.87rem;
  color: var(--text);
  line-height: 1.8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding-top 0.3s;
  padding-top: 0;
}

.faq-item.open .faq-a { max-height: 300px; padding-top: 0.9rem; }

.faq-a a { color: var(--blue-light); text-decoration: none; }
.faq-a a:hover { text-decoration: underline; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .nav-enrol          { display: none; }
  .page-header        { padding: 8rem 1.5rem 4rem; }
  .page-header::after { display: none; }
  .header-inner       { flex-direction: column; align-items: flex-start; }
  .divider            { margin: 0 1.5rem; }

  .main-grid {
    grid-template-columns: 1fr;
    margin: 0 1.5rem 4rem;
  }

  .info-col {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .form-row { grid-template-columns: 1fr; }

  .faq-section { padding: 4rem 1.5rem 5rem; }
  .faq-grid    { grid-template-columns: 1fr; }
}
