/* ============================================================
   SIMPATI TRANS — Halaman Kontak
   ============================================================ */

/* ---------- Page hero (sama persis dgn halaman lain) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  text-align: left;
  padding: 4.6rem 0 5.6rem;
  isolation: isolate;
  color: #fff;
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url("../assets/ikon makassar lanscape.jpg") center/cover no-repeat;
  transform: scale(1.03);
  filter: saturate(1.1) brightness(.95);
}
/* overlay gradasi — menyerupai .hero-overlay di dashboard */
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(2,21,51,.93) 8%, rgba(3,31,78,.72) 50%, rgba(7,70,176,.32) 100%),
    linear-gradient(to top, rgba(2,21,51,.75), transparent 55%);
}
.page-hero-blobs { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.page-hero-blobs span { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .45; }
.page-hero-blobs span:nth-child(1) { width: 220px; height: 220px; background: radial-gradient(circle at 30% 30%, #ff8a3d, #810404); top: -70px; left: -40px; animation: floaty 9s ease-in-out infinite; }
.page-hero-blobs span:nth-child(2) { width: 150px; height: 150px; background: radial-gradient(circle at 30% 30%, #4f8dff, #01218f); bottom: -50px; right: 10%; animation: floaty 7s ease-in-out infinite 1s; }
.page-hero-blobs span:nth-child(3) { width: 80px;  height: 80px;  background: radial-gradient(circle at 30% 30%, #ffd166, #f8430a); top: 28%; right: 28%; animation: floaty 11s ease-in-out infinite .5s; }

.page-hero-grid { position: relative; z-index: 3; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.1rem); margin-bottom: .7rem; }
.page-hero p { color: #cfe0ff; max-width: 640px; font-size: 1.02rem; }

.breadcrumb {
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: #9fc1ff; font-weight: 600; margin-bottom: 1rem;
}
.breadcrumb a { color: #cfe0ff; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { opacity: .55; }

/* wave putih di bawah hero — sama seperti dashboard */
.page-hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; z-index: 2;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 60c180 32 360 32 720 0s540-32 720 0v30H0V60z'/%3E%3Cpath fill='%23ffffff' opacity='.55' d='M0 74c240 22 480 22 720 0s480-22 720 0v16H0V74z'/%3E%3C/svg%3E") bottom center/100% 100% no-repeat;
  pointer-events: none;
}

/* progress bar baca halaman (sama seperti tentang/rental/tour) */
.scroll-prog {
  position: fixed; top: 0; left: 0;
  height: 4px; width: 0;
  background: var(--grad-red);
  border-radius: 0 4px 4px 0;
  z-index: 9999;
  transition: width .1s linear;
}

/* ---------- Grid utama ---------- */
.kontak-section { padding: 4rem 0; }
.kontak-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 1.6rem;
  align-items: stretch;
}
.kontak-grid > div { min-width: 0; }

/* ---------- Kartu info kontak ---------- */
.kontak-cards { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 1rem; margin-top: 1.6rem; }
.k-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.35rem 1.3rem; box-shadow: var(--shadow);
  display: flex; gap: .9rem; align-items: flex-start;
  transition: .35s;
}
.k-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.k-card > span:last-child { flex: 1; min-width: 0; }
.k-ico {
  flex: none; width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #0746b0, #031f4e);
}
.k-card.wa .k-ico { background: linear-gradient(135deg, #25d366, #128c4a); }
.k-card.mail .k-ico { background: linear-gradient(135deg, #810404, #b3341f); }
.k-card.jam .k-ico { background: linear-gradient(135deg, #ffb400, #f8430a); }
.k-ico svg { width: 22px; height: 22px; }
.k-card small { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.k-card b, .k-card .k-val { display: block; font-size: 1rem; color: var(--navy); font-weight: 800; line-height: 1.45; word-break: break-word; }
.k-card a.k-val:hover { color: var(--red); }
.k-sub { font-size: .8rem; color: var(--muted); margin-top: .2rem; line-height: 1.45; text-wrap: pretty; }

/* ---------- Panel alamat + aksi ---------- */
.kontak-panel {
  background: linear-gradient(145deg, #031f4e, #0a3172 60%, #5c0a0a);
  border-radius: var(--radius-lg); padding: 1.8rem; color: #fff;
  position: relative; overflow: hidden; margin-top: 1.6rem;
}
.kontak-panel::after {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  right: -80px; top: -80px; background: rgba(255,255,255,.06);
}
.kontak-panel h3 { font-size: 1.15rem; margin-bottom: .5rem; position: relative; display: flex; align-items: center; gap: .4rem; color: #fff; }
.kontak-panel h3 svg { flex: none; color: #ea4335; }
.kontak-panel p { color: #fff; font-size: .93rem; position: relative; }
.kontak-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.3rem; position: relative; }
.kontak-actions .btn { flex: 1 1 235px; justify-content: center; min-width: 0; }

/* ---------- Peta kantor ---------- */
.kontak-map {
  flex: 1; display: flex; flex-direction: column;
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow); background: var(--bg-soft);
}
@media (min-width: 1101px) {
  .kontak-grid > .reveal.right { display: flex; }
}
.kontak-map .map-head {
  display: flex; align-items: center; gap: .8rem;
  padding: 1.1rem 1.3rem; background: #fff; border-bottom: 1px solid var(--line);
}
.kontak-map .map-head .k-ico { width: 40px; height: 40px; border-radius: 12px; }
.kontak-map .map-head b { display: block; color: var(--navy); font-size: .98rem; }
.kontak-map .map-head small { color: var(--muted); font-size: .8rem; }
.kontak-map iframe { width: 100%; height: 420px; min-height: 300px; flex: 1 1 auto; border: 0; display: block; }

/* ---------- Form ---------- */
.kontak-form-section { padding: 4rem 0; }
.kform {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 1.8rem; max-width: 860px; margin: 2.2rem auto 0;
}
.kform .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.kform .field { margin-bottom: 1rem; }
.kform label { display: block; font-size: .82rem; font-weight: 700; color: var(--navy); margin-bottom: .4rem; }
.kform input, .kform select, .kform textarea {
  width: 100%; padding: .8rem .95rem; border: 1px solid var(--line);
  border-radius: 12px; font: inherit; font-size: .93rem; color: var(--navy);
  background: #fbfcff; transition: .25s;
}
.kform input:focus, .kform select:focus, .kform textarea:focus {
  outline: none; border-color: #0746b0; background: #fff;
  box-shadow: 0 0 0 3px rgba(7,70,176,.12);
}
.kform textarea { min-height: 130px; resize: vertical; }
.kform-note { font-size: .82rem; color: var(--muted); margin-top: .8rem; }

/* ---------- Responsive ---------- */
@media (min-width: 1101px) and (max-width: 1320px) {
  .k-card { padding: 1.15rem 1.05rem; gap: .75rem; }
  .k-ico { width: 42px; height: 42px; border-radius: 12px; }
  .k-ico svg { width: 20px; height: 20px; }
  .k-card small { font-size: .7rem; letter-spacing: .08em; }
  .k-card b, .k-card .k-val { font-size: .95rem; }
  .k-sub { font-size: .76rem; }
}
@media (max-width: 1100px) {
  .kontak-grid { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
}
@media (max-width: 700px) {
  .page-hero { padding: 3.8rem 0 4.6rem; }
  .kontak-cards { grid-template-columns: 1fr; }
  .kform .row { grid-template-columns: 1fr; }
  .kontak-map iframe { height: 320px; }
  .kontak-actions .btn { flex: 1 1 100%; }
}
