/* Contact Us page — Travel Yamu Malaysia */
:root {
  --ty-blue: #0262ae;
  --ty-blue-dark: #0c3250;
  --ty-blue-soft: #eaf3fb;
  --ty-orange: #fe7702;
  --ty-orange-dark: #e26600;
  --ty-text: #1a2b49;
  --ty-muted: #5b6b80;
  --ty-border: #e3e9f0;
  --ty-whatsapp: #25d366;
}

.tyc { color: var(--ty-text); }
.tyc a { transition: all .2s ease; }
.tyc .material-icons { font-size: inherit; line-height: 1; vertical-align: middle; }

/* ---- Hero ---- */
.tyc-hero {
  position: relative;
  margin-top: 88px;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ty-blue-dark);
}
.tyc-hero__bg,
.tyc-hero__bg img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.tyc-hero__bg img { object-fit: cover; object-position: 70% center; }
.tyc-hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 36, 64, .92) 0%, rgba(8, 36, 64, .78) 35%, rgba(8, 36, 64, .25) 70%, rgba(8, 36, 64, .15) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, 0) 40%, rgba(8, 36, 64, .55) 100%);
}
.tyc-hero__content { position: relative; z-index: 1; padding: 70px 0; max-width: 640px; }
.tyc-hero__title {
  color: #fff; font-weight: 700; font-size: 64px; line-height: 1.05; margin: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.tyc-hero__title span { display: block; font-size: 44px; font-weight: 500; margin-top: 6px; }
.tyc-hero__sub { color: rgba(255, 255, 255, .92); font-size: 20px; line-height: 1.5; margin: 18px 0 0; max-width: 460px; }
.tyc-hero__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- Quick links ---- */
.tyc-quick { background: #fff; border-bottom: 1px solid var(--ty-border); }
.tyc-quick__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.tyc-quick__item {
  display: flex; align-items: center; gap: 14px; padding: 22px 20px;
  color: var(--ty-text); border-left: 1px solid var(--ty-border); cursor: pointer; background: none; text-align: left;
}
.tyc-quick__item:first-child { border-left: 0; }
.tyc-quick__item:hover { background: var(--ty-blue-soft); color: var(--ty-text); }
.tyc-quick__icon {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--ty-blue-soft); color: var(--ty-blue); font-size: 24px;
}
.tyc-quick__item:nth-child(2) .tyc-quick__icon { background: #fff1e6; color: var(--ty-orange); }
.tyc-quick__item:nth-child(3) .tyc-quick__icon { background: #e8f8ee; color: #1f9d55; }
.tyc-quick__item:nth-child(4) .tyc-quick__icon { background: #fff1e6; color: var(--ty-orange); }
.tyc-quick__item strong { display: block; font-size: 15px; font-weight: 700; }
.tyc-quick__item small { display: block; font-size: 13px; color: var(--ty-muted); margin-top: 2px; }

/* ---- Section headings ---- */
.tyc-h2 { font-size: 32px; font-weight: 700; color: var(--ty-blue-dark); line-height: 1.2; margin: 0; }
.tyc-lead { color: var(--ty-muted); font-size: 16px; margin-top: 8px; }

/* ---- Office cards ---- */
.tyc-office {
  display: grid; grid-template-columns: 220px 1fr; gap: 0;
  background: var(--ty-blue-soft); border-radius: 16px; overflow: hidden; border: 1px solid #d9e6f2;
}
.tyc-office__map { position: relative; min-height: 220px; background: #cfdfee; }
.tyc-office__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.tyc-office__body { padding: 24px 26px; }
.tyc-office__title { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 700; color: var(--ty-blue); margin: 0 0 10px; }
.tyc-office__title .material-icons { color: var(--ty-orange); font-size: 24px; }
.tyc-office__addr { font-style: normal; font-size: 15px; line-height: 1.6; color: var(--ty-text); }
.tyc-office__addr strong { display: block; font-weight: 700; }
.tyc-office__phone { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; color: var(--ty-text); margin-top: 12px; }
.tyc-office__phone .material-icons { color: var(--ty-orange); font-size: 22px; }
.tyc-office__phone:hover { color: var(--ty-blue); }

.tyc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 8px; font-size: 14px; font-weight: 600; line-height: 1.2;
  border: 2px solid var(--ty-blue); color: var(--ty-blue); background: #fff; cursor: pointer;
}
.tyc-btn:hover { background: var(--ty-blue); color: #fff; }
.tyc-btn .material-icons { font-size: 18px; }
.tyc-btn.-light { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(255,255,255,.08); }
.tyc-btn.-light:hover { background: #fff; color: var(--ty-blue-dark); }
.tyc-btn.-orange { border-color: var(--ty-orange); background: var(--ty-orange); color: #fff; }
.tyc-btn.-orange:hover { border-color: var(--ty-orange-dark); background: var(--ty-orange-dark); color: #fff; }

/* ---- Team card ---- */
.tyc-team { background: var(--ty-blue-soft); border: 1px solid #d9e6f2; border-radius: 16px; padding: 26px 28px; }
.tyc-team__h { font-size: 22px; font-weight: 700; color: var(--ty-blue-dark); margin: 0; }
.tyc-team__p { color: var(--ty-muted); font-size: 14px; margin: 4px 0 0; }
.tyc-team__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin-top: 20px; }
.tyc-chan { display: flex; align-items: center; gap: 14px; color: var(--ty-text); }
.tyc-chan__icon { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ty-blue); color: #fff; font-size: 22px; }
.tyc-chan small { display: block; font-size: 13px; color: var(--ty-muted); }
.tyc-chan strong { display: block; font-size: 17px; font-weight: 700; word-break: break-all; }
.tyc-chan:hover strong { color: var(--ty-blue); }
.tyc-people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; padding-top: 22px; border-top: 1px solid #cddcea; }
.tyc-person { display: flex; flex-direction: column; gap: 8px; }
.tyc-person__name { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.tyc-person__name .material-icons { color: var(--ty-blue); font-size: 22px; }
.tyc-wa {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ty-text);
  background: #fff; border: 1px solid #cddcea; border-radius: 999px; padding: 6px 12px 6px 6px; white-space: nowrap;
}
.tyc-wa svg { width: 26px; height: 26px; flex: 0 0 26px; }
.tyc-wa:hover { border-color: var(--ty-whatsapp); color: #128c4a; background: #f0fbf4; }

/* ---- Inquiry form ---- */
.tyc-form { background: #fff; border: 1px solid var(--ty-border); border-radius: 18px; padding: 30px; box-shadow: 0 14px 40px rgba(12, 50, 80, .08); }
.tyc-form__head { display: flex; align-items: flex-start; gap: 16px; }
.tyc-form__icon { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ty-blue); color: #fff; font-size: 26px; }
.tyc-form__head h2 { font-size: 26px; }
.tyc-form__head p { color: var(--ty-muted); font-size: 14px; line-height: 1.6; margin: 6px 0 0; }
.tyc-field { margin-top: 16px; }
.tyc-field label { display: block; font-size: 14px; font-weight: 600; color: var(--ty-text); margin-bottom: 6px; }
.tyc-field label .req { color: var(--ty-orange); }
.tyc-field input, .tyc-field select, .tyc-field textarea {
  width: 100%; border: 1px solid #cfd8e3; border-radius: 10px; padding: 12px 14px; font-size: 15px; color: var(--ty-text);
  background: #fff; font-family: inherit; line-height: 1.4; transition: border-color .2s, box-shadow .2s;
}
.tyc-field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%235b6b80' viewBox='0 0 16 16'%3E%3Cpath d='M4.6 6 8 9.4 11.4 6l.9.9L8 11.2 3.7 6.9z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.tyc-field textarea { min-height: 140px; resize: vertical; }
.tyc-field input:focus, .tyc-field select:focus, .tyc-field textarea:focus { outline: none; border-color: var(--ty-blue); box-shadow: 0 0 0 3px rgba(2, 98, 174, .15); }
.tyc-field.is-invalid input, .tyc-field.is-invalid select, .tyc-field.is-invalid textarea { border-color: #d93025; }
.tyc-field__err { display: none; color: #d93025; font-size: 13px; margin-top: 5px; }
.tyc-field.is-invalid .tyc-field__err { display: block; }
.tyc-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.tyc-submit {
  width: 100%; margin-top: 22px; padding: 15px 20px; border-radius: 10px; border: 0; cursor: pointer;
  background: var(--ty-orange); color: #fff; font-size: 17px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: background .2s, transform .1s;
}
.tyc-submit:hover { background: var(--ty-orange-dark); }
.tyc-submit:disabled { opacity: .7; cursor: progress; }
.tyc-form__note { display: flex; align-items: center; gap: 8px; color: var(--ty-muted); font-size: 12.5px; margin-top: 14px; }
.tyc-form__note .material-icons { font-size: 16px; }
.tyc-alert { display: none; border-radius: 10px; padding: 14px 16px; font-size: 14.5px; line-height: 1.5; margin-top: 18px; }
.tyc-alert.is-visible { display: block; }
.tyc-alert.-success { background: #e8f8ee; color: #1b6b3a; border: 1px solid #b7e4c7; }
.tyc-alert.-error { background: #fdecec; color: #9b1c1c; border: 1px solid #f5c2c2; }
.tyc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

/* ---- Responsive ---- */
@media (max-width: 1199px) {
  .tyc-quick__item { padding: 18px 14px; }
}
@media (max-width: 991px) {
  .tyc-hero__title { font-size: 52px; }
  .tyc-hero__title span { font-size: 36px; }
  .tyc-quick__grid { grid-template-columns: repeat(2, 1fr); }
  .tyc-quick__item:nth-child(3) { border-left: 0; }
  .tyc-quick__item:nth-child(n+3) { border-top: 1px solid var(--ty-border); }
  .tyc-form { margin-top: 40px; }
}
@media (max-width: 767px) {
  .tyc-hero { margin-top: 57px; min-height: 400px; }
  .tyc-hero__content { padding: 56px 0; }
  .tyc-hero__title { font-size: 42px; }
  .tyc-hero__title span { font-size: 28px; }
  .tyc-hero__sub { font-size: 17px; }
  .tyc-h2 { font-size: 26px; }
  .tyc-office { grid-template-columns: 1fr; }
  .tyc-office__map { min-height: 190px; }
  .tyc-office__body { padding: 20px; }
  .tyc-team { padding: 22px 20px; }
  .tyc-team__grid, .tyc-people { grid-template-columns: 1fr; }
  .tyc-form { padding: 22px 18px; }
  .tyc-form__row { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .tyc-quick__grid { grid-template-columns: 1fr; }
  .tyc-quick__item { border-left: 0; border-top: 1px solid var(--ty-border); padding: 14px 10px; }
  .tyc-quick__item:first-child { border-top: 0; }
}
