/* ══════════════════════════════════════════
   PAGE-CONTACT — styles specific to contact.html
══════════════════════════════════════════ */

/* ── Page banner ── */
.page-banner {
  background: var(--navy-dk);
  padding: 9rem 5% 5rem;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='78'%3E%3Cpath d='M45 2 L83 23 L83 65 L45 86 L7 65 L7 23 Z' fill='none' stroke='rgba(42,181,160,0.07)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 90px 78px;
  pointer-events: none;
}
.page-banner-inner { max-width: 1220px; margin: 0 auto; position: relative; z-index: 1; }

.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .68rem; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 1.4rem;
}
.breadcrumb a       { color: rgba(255,255,255,.3); transition: color .2s; }
.breadcrumb a:hover { color: var(--teal-lt); }
.breadcrumb span    { color: var(--teal-lt); }
.breadcrumb-sep     { font-size: .5rem; }

.page-banner h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 700; line-height: .95; letter-spacing: 1px; text-transform: uppercase;
  color: #fff; margin-bottom: 1.2rem;
}
.page-banner h1 span {
  background: linear-gradient(135deg, var(--teal-lt), var(--teal));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.page-banner p { font-size: 1rem; color: rgba(255,255,255,.5); max-width: 560px; line-height: 1.75; }

.banner-decor { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); opacity: .06; pointer-events: none; }
.nav-active   { color: var(--teal) !important; }

/* ── Contact channel cards (top row) ── */
#contact-channels {
  background: var(--bg-lt); padding: 5rem 5%;
}
.channels-inner {
  max-width: 1220px; margin: 0 auto;
}
.channels-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; margin-top: 2.5rem;
}
.channel-card {
  background: #fff; border: 1px solid var(--border); border-radius: 4px;
  padding: 2rem 1.5rem; text-align: center; transition: var(--t); position: relative;
}
.channel-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: rgba(42,181,160,.25); }
.channel-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(90deg, var(--teal), var(--teal-lt));
  opacity: 0; transition: opacity .25s;
}
.channel-card:hover::before { opacity: 1; }
.channel-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(42,181,160,.08); border: 1.5px solid rgba(42,181,160,.18);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem;
}
.channel-card h4 {
  font-family: 'Rajdhani', sans-serif; font-size: 1rem; font-weight: 700;
  color: var(--navy); letter-spacing: .5px; margin-bottom: .5rem;
}
.channel-card p  { font-size: .82rem; color: var(--muted); line-height: 1.65; }
.channel-card a  { color: var(--teal); font-weight: 600; font-size: .82rem; display: block; margin-top: .3rem; transition: color .2s; }
.channel-card a:hover { color: var(--teal-lt); }

/* ── Main contact body (form + info side by side) ── */
#contact-main {
  background: #fff; padding: 7rem 5%;
}
.contact-main-inner {
  max-width: 1220px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 5rem; align-items: start;
}

/* ─ Form side ─ */
.ct-form-wrap {
  background: var(--navy-dk); border-radius: 4px; padding: 2.8rem;
  border: 1px solid rgba(42,181,160,.12); position: sticky; top: 100px;
}
.form-ttl {
  font-family: 'Rajdhani', sans-serif; font-size: .7rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--teal);
  margin-bottom: 1.8rem; display: flex; align-items: center; gap: .7rem;
}
.form-ttl::after {
  content: ''; flex: 1; height: 1px; background: rgba(42,181,160,.2);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-g { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.form-g label {
  font-size: .7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: rgba(255,255,255,.35);
}
.form-g input,
.form-g select,
.form-g textarea {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: 3px; padding: .75rem 1rem; color: #fff; font-size: .88rem;
  font-family: 'Inter', sans-serif; transition: border-color .2s, background .2s;
  outline: none;
}
.form-g input:focus,
.form-g select:focus,
.form-g textarea:focus {
  border-color: var(--teal); background: rgba(42,181,160,.06);
}
.form-g input::placeholder,
.form-g textarea::placeholder { color: rgba(255,255,255,.22); }
.form-g select { color: rgba(255,255,255,.55); -webkit-appearance: none; cursor: pointer; }
.form-g select option { background: var(--navy); color: #fff; }
.form-g textarea { min-height: 130px; resize: vertical; }
.form-g.err input,
.form-g.err select,
.form-g.err textarea { border-color: var(--red); }
.btn-submit {
  width: 100%; justify-content: center; margin-top: .5rem; font-size: .88rem;
  gap: .6rem; padding: .95rem;
}

/* ─ Info side ─ */
.ct-info-side {}
.ct-info-side .sec-title { color: var(--navy); margin-bottom: 1rem; }
.ct-info-side > p { font-size: .9rem; color: var(--muted); line-height: 1.82; margin-bottom: 2.5rem; }

/* Detail items */
.ct-details { display: flex; flex-direction: column; gap: 1.4rem; margin-bottom: 2.5rem; }
.ct-item { display: flex; gap: 1.2rem; align-items: flex-start; }
.ct-icon {
  width: 44px; height: 44px; border-radius: 3px; flex-shrink: 0;
  background: rgba(42,181,160,.08); border: 1px solid rgba(42,181,160,.15);
  display: flex; align-items: center; justify-content: center;
}
.ct-item-txt h4 {
  font-family: 'Rajdhani', sans-serif; font-size: .95rem; font-weight: 700;
  color: var(--navy); letter-spacing: .5px; margin-bottom: 3px;
}
.ct-item-txt p { font-size: .84rem; color: var(--muted); line-height: 1.65; }
.ct-item-txt a { color: var(--teal); transition: color .2s; }
.ct-item-txt a:hover { color: var(--teal-lt); }

/* Map */
.map-box {
  border-radius: 4px; overflow: hidden; border: 1px solid var(--border);
  aspect-ratio: 16/7; background: var(--bg-md);
}
.map-box img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Branch offices ── */
#branches {
  background: var(--bg-lt); padding: 6rem 5%;
}
.branches-inner { max-width: 1220px; margin: 0 auto; }
.branches-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; }
.branch-card {
  background: #fff; border: 1px solid var(--border); border-radius: 4px;
  padding: 1.8rem; transition: var(--t);
}
.branch-card:hover { box-shadow: var(--sh-md); border-color: rgba(42,181,160,.2); }
.branch-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .6rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--teal); border: 1px solid rgba(42,181,160,.25); border-radius: 2px;
  padding: 3px 8px; margin-bottom: 1rem;
}
.branch-badge.hq { color: var(--orange); border-color: rgba(247,148,29,.3); }
.branch-badge.hq::before { background: var(--orange); }
.branch-badge::before { content: ''; width: 5px; height: 5px; background: var(--teal); border-radius: 50%; }
.branch-card h4 {
  font-family: 'Rajdhani', sans-serif; font-size: 1.05rem; font-weight: 700;
  color: var(--navy); margin-bottom: .8rem; letter-spacing: .5px;
}
.branch-row { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .45rem; }
.branch-row svg { flex-shrink: 0; margin-top: 1px; }
.branch-row span { font-size: .8rem; color: var(--muted); line-height: 1.55; }

/* ── FAQ ── */
#faq {
  background: var(--navy); padding: 7rem 5%;
}
.faq-inner { max-width: 860px; margin: 0 auto; }
.faq-list { margin-top: 3rem; display: flex; flex-direction: column; gap: .8rem; }
.faq-item {
  border: 1px solid rgba(42,181,160,.15); border-radius: 3px;
  overflow: hidden; background: rgba(255,255,255,.03);
}
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 1.4rem 1.8rem; display: flex; justify-content: space-between; align-items: center;
  font-family: 'Rajdhani', sans-serif; font-size: 1rem; font-weight: 600;
  color: #fff; letter-spacing: .3px; transition: color .2s;
}
.faq-q:hover { color: var(--teal-lt); }
.faq-q svg   { flex-shrink: 0; transition: transform .3s; color: var(--teal); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .35s ease;
  padding: 0 1.8rem; font-size: .86rem; color: rgba(255,255,255,.42); line-height: 1.8;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 1.4rem; }

/* ── CTA strip ── */
.contact-cta-strip {
  background: linear-gradient(135deg, var(--navy-dk) 0%, var(--navy-md) 100%);
  padding: 5rem 5%; text-align: center; position: relative; overflow: hidden;
}
.contact-cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(42,181,160,.07) 0%, transparent 70%);
  pointer-events: none;
}
.contact-cta-strip h2 {
  font-family: 'Rajdhani', sans-serif; font-size: clamp(1.8rem,3.5vw,2.8rem);
  font-weight: 700; color: #fff; margin-bottom: .8rem; position: relative;
}
.contact-cta-strip p   { font-size: .9rem; color: rgba(255,255,255,.42); margin-bottom: 2rem; position: relative; }
.contact-cta-strip .cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .channels-grid       { grid-template-columns: repeat(2,1fr); }
  .contact-main-inner  { grid-template-columns: 1fr; }
  .ct-form-wrap        { position: static; }
  .branches-grid       { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  /* 1 column cards on mobile — 2 col too cramped */
  .channels-grid  { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
  .branches-grid  { grid-template-columns: 1fr; }
  .banner-decor   { display: none; }

  /* Prevent long email/address from overflowing cards */
  .channel-card p,
  .channel-card a,
  .ct-item-txt p,
  .ct-item-txt a  { word-break: break-word; overflow-wrap: break-word; }

  /* Section padding reduction */
  #contact-channels  { padding: 3.5rem 5%; }
  #contact-main      { padding: 3.5rem 5%; }
  #faq               { padding: 4rem 5%; }
  .contact-cta-strip { padding: 3.5rem 5%; }

  /* Form padding — 2.8rem too tight on small screens */
  .ct-form-wrap  { padding: 1.8rem 1.4rem; }

  /* Channel card padding */
  .channel-card { padding: 1.6rem 1.2rem; }

  /* FAQ items less horizontal padding */
  .faq-q { padding: 1.2rem 1.4rem; font-size: .95rem; }
  .faq-a  { padding: 0 1.4rem; }
  .faq-item.open .faq-a { padding-bottom: 1.2rem; }

  /* Banner section vertical padding */
  .page-banner { padding: 7rem 5% 3.5rem; }

  /* CSS Grid: grid items default to min-width:auto which can expand
     the column beyond the available track width — force them to 0 */
  .contact-main-inner       { gap: 2rem; }
  .contact-main-inner > *   { min-width: 0; }

  /* iOS Safari auto-zooms on inputs with font-size < 16px,
     shifting the viewport and making content appear to overflow */
  .form-g input,
  .form-g select,
  .form-g textarea  { font-size: 1rem; min-width: 0; width: 100%; }

  /* Scale down sec-title so "MENDENGAR DARI ANDA" fits at 375px */
  .ct-info-side .sec-title { font-size: 1.4rem; line-height: 1.1; }
}
