/* =====================================================
   CONTACT.CSS — Contact page
   Load order: style-N.css (via header) → home.css → contact.css
   ===================================================== */

/* ---------- Page hero ---------- */
.ct-hero {
  position: relative; isolation: isolate; overflow: clip; color: #fff; padding: 84px 6% 150px;
  background:
    radial-gradient(55% 80% at 100% 0%, rgba(18, 163, 201, .28), transparent 70%),
    radial-gradient(45% 70% at 0% 100%, rgba(31, 157, 58, .3), transparent 70%), var(--deep);
}
.ct-hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; width: 560px; height: 560px; border-radius: 50%;
  right: -150px; top: -190px; opacity: .3;
  background: conic-gradient(var(--red), var(--orange), var(--green), var(--teal), var(--red));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 30px), #000 calc(100% - 29px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 30px), #000 calc(100% - 29px));
}
.ct-hero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; width: 380px; height: 260px; left: 4%; bottom: 30px;
  background-image: radial-gradient(rgba(255, 255, 255, .18) 1.7px, transparent 1.8px); background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent); mask-image: radial-gradient(closest-side, #000 30%, transparent);
}
.ct-hero-inner { max-width: 1180px; margin: 0 auto; }
.ct-crumb { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: #b7d0c3; margin-bottom: 22px; }
.ct-crumb a { color: #fff; text-decoration: none; }
.ct-crumb a:hover { text-decoration: underline; }
.ct-crumb i { font-size: .62rem; }
.ct-hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); font-weight: 800; line-height: 1.1; }
.ct-hero h1::after { content: ""; display: block; width: 92px; height: 5px; margin-top: 18px; border-radius: 3px; background: var(--ring); }
.ct-hero p { max-width: 560px; margin-top: 20px; color: #d5e8de; font-size: 1.12rem; }
.ct-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.ct-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 30px; font-size: .85rem; font-weight: 600;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
}
.ct-pill i { color: var(--gold-light); }

/* ---------- Quick contact cards ---------- */
.ct-quick-wrap { padding: 0 6%; position: relative; z-index: 5; }
.ct-quick { max-width: 1180px; margin: -76px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ct-q {
  position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px 24px;
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 4px;
  transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}
.ct-q::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--accent, var(--green)); }
.ct-q:hover { transform: translateY(-6px); }
.ct-q-ico {
  width: 52px; height: 52px; border-radius: 16px; background: var(--accent, var(--green)); color: #fff; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: 0 10px 20px rgba(16, 32, 26, .16);
}
.ct-q h3 { font-size: 1.08rem; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.ct-q a, .ct-q span { color: var(--muted); font-size: .93rem; line-height: 1.55; text-decoration: none; word-break: break-word; transition: color .25s; }
.ct-q a:hover { color: var(--green-dark); }

/* ---------- Form + map ---------- */
#contact-section { padding-top: 90px; }
.ct-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }

.ct-form-card {
  position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 26px;
  padding: 44px 42px 42px; box-shadow: var(--shadow-lg);
}
.ct-form-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--ring); }
.ct-form-card h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.ct-lead { color: var(--muted); margin-bottom: 26px; }

.ct-alert {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; margin-bottom: 22px; border-radius: 14px;
  background: var(--mint); border: 1px solid #b9e3c3; color: var(--green-dark);
}
.ct-alert i { font-size: 1.3rem; color: var(--green); }

.ct-form { display: grid; gap: 18px; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ct-field label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: 8px; }
.ct-input { position: relative; }
.ct-input > i { position: absolute; left: 16px; top: 17px; color: var(--green); font-size: .95rem; pointer-events: none; transition: color .25s; }
.ct-input input, .ct-input textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--ink); background: var(--mint);
  border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px 14px 44px; outline: none;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.ct-input textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.ct-input input::placeholder, .ct-input textarea::placeholder { color: #8a9b92; }
.ct-input input:focus, .ct-input textarea:focus { background: #fff; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(18, 163, 201, .14); }
.ct-input:focus-within > i { color: var(--teal-dark); }

.ct-send { justify-self: start; padding: 15px 34px; font-size: 1rem; cursor: pointer; font-family: inherit; }
.ct-send i { color: #fff; font-size: .9rem; transition: transform .3s ease; }
.ct-send:hover i { transform: translateX(4px) rotate(-8deg); }

/* map side */
.ct-side { display: grid; gap: 18px; position: sticky; top: 110px; }
.ct-map { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: var(--line); line-height: 0; }
.ct-map iframe { width: 100%; height: 340px; border: 0; display: block; }
.ct-addr {
  display: flex; gap: 16px; align-items: flex-start; background: var(--deep); color: #fff; border-radius: 22px; padding: 24px;
  background-image: radial-gradient(60% 90% at 100% 0%, rgba(18, 163, 201, .25), transparent 70%);
}
.ct-addr-ico { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; background: var(--brand); display: flex; align-items: center; justify-content: center; }
.ct-addr b { font-family: var(--font-head); font-size: 1.08rem; }
.ct-addr p { color: #c3d8cd; font-size: .92rem; line-height: 1.65; margin: 6px 0 12px; }
.ct-dir { color: var(--gold-light); font-weight: 700; font-size: .92rem; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: gap .25s; }
.ct-dir:hover { gap: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .ct-quick { grid-template-columns: repeat(2, 1fr); }
  .ct-grid { grid-template-columns: 1fr; }
  .ct-side { position: static; }
}
@media (max-width: 700px) {
  .ct-hero { padding: 64px 6% 130px; }
  .ct-hero p { font-size: 1rem; }
  .ct-quick { grid-template-columns: 1fr; margin-top: -64px; }
  .ct-form-card { padding: 34px 22px 30px; }
  .ct-row { grid-template-columns: 1fr; }
  .ct-send { justify-self: stretch; justify-content: center; }
  #contact-section { padding-top: 70px; }
}