/* =====================================================================
   Yatra Techs — Contact page (/contact/)
   Loaded only by contact/index.html, after the shared yt-home.css.
   Every selector uses the yt-ct- prefix.
   ===================================================================== */

/* ---------- Hero (compact: no empty band below it) ---------- */
.yt-ct-hero { padding-bottom: clamp(56px, 6vw, 88px); }
.yt-ct-title { font-size: clamp(32px, 4.4vw, 62px); }
.yt-ct-visual { max-width: 560px; }
.yt-ct-visual .yt-hero-stage { aspect-ratio: 1 / 0.8; }
.yt-ct-links { position: absolute; inset: 0; width: 100%; height: 100%; }
.yt-ct-links path { stroke-width: 1.5; stroke-dasharray: 4 5; opacity: .75; vector-effect: non-scaling-stroke; }

/* centred with left/top + an offset on the inner card: the shared parallax script animates the layer's own transform */
.yt-ct-core { left: 32%; top: 50%; width: 36%; }
.yt-ct-core-card {
  transform: translateY(-50%);
  display: grid; justify-items: center; gap: 1cqw; padding: 3cqw 2.4cqw; border-radius: 3cqw; text-align: center;
  background: linear-gradient(160deg, rgba(240, 24, 131, .2), rgba(8, 123, 255, .16)), rgba(16, 24, 46, .92);
  border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 60px -20px rgba(240, 24, 131, .6);
}
.yt-ct-core-card .yt-logo-tile { width: 11cqw; height: 11cqw; padding: 1.2cqw; border-radius: 3cqw; }
.yt-ct-core-card b { font-family: var(--yt-font-head); font-size: 2.6cqw; color: #fff; }
.yt-ct-core-card small { font-size: 1.6cqw; color: var(--yt-muted); }
.yt-ct-node { width: 42%; }
.yt-ct-node .yt-fcard { padding: 2.4cqw; border-radius: 2.6cqw; }
.yt-ct-node .yt-fcard-head { margin-bottom: 0; gap: 1.8cqw; }
.yt-ct-node .yt-fcard-ico { width: 7cqw; height: 7cqw; border-radius: 2cqw; font-size: 2.8cqw; }
.yt-ct-node .yt-fcard-head b { font-size: 2.9cqw; }
.yt-ct-node .yt-fcard-head small { display: block; white-space: nowrap; font-size: 2.3cqw; }
.yt-ct-node--tl { left: 0; top: 4%; }
.yt-ct-node--tr { right: 0; top: 4%; }
.yt-ct-node--bl { left: 0; bottom: 6%; }
.yt-ct-node--br { right: 0; bottom: 6%; }
@media (max-width: 1079px) { .yt-ct-visual { max-width: 520px; } }

/* ---------- Introduction + form ---------- */
.yt-ct-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1080px) { .yt-ct-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr); gap: 72px; } .yt-ct-intro { position: sticky; top: calc(var(--yt-nav-h) + 32px); } }
.yt-ct-intro .yt-home-title { max-width: 14ch; }
.yt-ct-lead { margin-top: 20px; font-size: 17px; color: #E3E9F5; max-width: 48ch; }
.yt-ct-benefits { margin-top: 30px; display: grid; gap: 12px; }
.yt-ct-benefits li {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px;
  background: rgba(255, 255, 255, .03); border: 1px solid var(--yt-border);
  font-family: var(--yt-font-head); font-weight: 700; font-size: 15.5px; color: #fff;
}
.yt-ct-benefit-ico {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; font-size: 16px; color: #fff;
  background: var(--yt-grad-pink); box-shadow: 0 10px 24px -12px rgba(240, 24, 131, .8);
}
.yt-ct-benefit-ico--blue { background: var(--yt-grad-blue); box-shadow: 0 10px 24px -12px rgba(8, 123, 255, .8); }
.yt-ct-benefit-ico--purple { background: linear-gradient(135deg, #793DCE, #B23DCE); box-shadow: 0 10px 24px -12px rgba(121, 61, 206, .8); }

/* subtle decorative graphic under the benefits */
.yt-ct-art { position: relative; margin-top: 36px; height: 150px; border-radius: var(--yt-radius); overflow: hidden;
  background: radial-gradient(60% 90% at 20% 50%, rgba(240, 24, 131, .22), transparent 70%), radial-gradient(60% 90% at 85% 40%, rgba(8, 123, 255, .22), transparent 70%), rgba(255, 255, 255, .02);
  border: 1px solid var(--yt-border); }
.yt-ct-art-ring { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; border: 1px dashed rgba(255, 59, 157, .35); animation: yt-spin 40s linear infinite; }
.yt-ct-art-ring--2 { width: 200px; height: 200px; margin: -100px 0 0 -100px; border: 1px solid rgba(255, 255, 255, .07); animation: none; }
.yt-ct-art-plane { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 18px; display: grid; place-items: center; font-size: 22px; color: #fff; background: var(--yt-grad); box-shadow: 0 16px 36px -12px rgba(240, 24, 131, .8); }
.yt-ct-art-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--yt-pink); box-shadow: 0 0 12px var(--yt-pink); }
.yt-ct-art-dot.d1 { left: 18%; top: 30%; }
.yt-ct-art-dot.d2 { right: 16%; top: 62%; background: var(--yt-blue); box-shadow: 0 0 12px var(--yt-blue); }
.yt-ct-art-dot.d3 { left: 34%; bottom: 18%; width: 6px; height: 6px; background: var(--yt-purple); box-shadow: 0 0 10px var(--yt-purple); }
@media (max-width: 1079px) { .yt-ct-art { display: none; } }

/* form card */
.yt-ct-form-card {
  position: relative; padding: clamp(24px, 3.4vw, 44px); border-radius: var(--yt-radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent 40%), var(--yt-card);
  border: 1px solid var(--yt-border-2); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9);
}
.yt-ct-form-card::before { content: ""; position: absolute; left: 32px; right: 32px; top: -1px; height: 2px; border-radius: 2px; background: var(--yt-grad); }
.yt-ct-form-title { font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; }
.yt-ct-form-sub { margin-top: 8px; color: var(--yt-text-2); }
.yt-ct-form { margin-top: 26px; display: grid; gap: 18px; }
.yt-ct-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .yt-ct-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.yt-ct-field { display: grid; gap: 8px; align-content: start; }
.yt-ct-field label { font: 600 14px/1.3 var(--yt-font-head); color: #E3E9F5; }
.yt-ct-req { color: var(--yt-pink-2); }
.yt-ct-field input, .yt-ct-field select, .yt-ct-field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px;
  font: 500 15.5px/1.4 var(--yt-font-body); color: #fff;
  background: #0E1730; border: 1px solid rgba(255, 255, 255, .18);
  transition: border-color .2s, box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none;
}
.yt-ct-field textarea { min-height: 150px; resize: vertical; }
.yt-ct-field ::placeholder { color: #7F8CA6; opacity: 1; }
.yt-ct-field input:hover, .yt-ct-field select:hover, .yt-ct-field textarea:hover { border-color: rgba(255, 255, 255, .3); }
.yt-ct-field input:focus, .yt-ct-field select:focus, .yt-ct-field textarea:focus {
  outline: none; border-color: var(--yt-pink-2); background: #111B37; box-shadow: 0 0 0 4px rgba(240, 24, 131, .2);
}
.yt-ct-field [aria-invalid="true"] { border-color: #FF6B8B; box-shadow: 0 0 0 3px rgba(255, 107, 139, .16); }
.yt-ct-select { position: relative; }
.yt-ct-select select { padding-right: 44px; cursor: pointer; }
.yt-ct-select select:invalid, .yt-ct-select select.is-empty { color: #7F8CA6; }
.yt-ct-select option { color: #fff; background: #0E1730; }
.yt-ct-select i { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 12px; color: var(--yt-muted); pointer-events: none; }
.yt-ct-error { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; color: #FF8DA6; }
.yt-ct-error::before { content: "\f06a"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 12px; }
.yt-ct-error[hidden] { display: none; }

.yt-ct-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.yt-ct-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 4px; }
.yt-ct-submit { min-height: 54px; padding-inline: 30px; }
.yt-ct-submit[disabled] { opacity: .75; cursor: progress; transform: none; }
.yt-ct-submit.is-loading i { animation: yt-ct-fly 1s ease-in-out infinite; }
@keyframes yt-ct-fly { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(4px, -4px); } }
.yt-ct-note { font-size: 13px; color: var(--yt-muted); }
.yt-ct-note span { color: var(--yt-pink-2); }
@media (max-width: 639px) { .yt-ct-submit { width: 100%; justify-content: center; } }

/* success / error feedback */
.yt-ct-status { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: 16px; font-size: 15px; line-height: 1.55; outline: none; }
.yt-ct-status[hidden] { display: none; }
.yt-ct-status i { margin-top: 3px; font-size: 18px; }
.yt-ct-status strong { display: block; font-family: var(--yt-font-head); color: #fff; font-size: 16px; }
.yt-ct-status a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.yt-ct-status.is-success { background: rgba(41, 214, 150, .1); border: 1px solid rgba(41, 214, 150, .4); color: #C9F7E6; }
.yt-ct-status.is-success i { color: #3EE0A4; }
.yt-ct-status.is-error { background: rgba(255, 107, 139, .1); border: 1px solid rgba(255, 107, 139, .4); color: #FFD1DB; }
.yt-ct-status.is-error i { color: #FF8DA6; }

/* ---------- Contact information cards ---------- */
.yt-ct-cards { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .yt-ct-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
.yt-ct-card {
  --c: var(--yt-pink-2); --c-soft: rgba(240, 24, 131, .12);
  position: relative; padding: 32px 28px; border-radius: var(--yt-radius); overflow: hidden;
  background: var(--yt-card); border: 1px solid var(--yt-border);
  transition: transform .4s var(--yt-ease), border-color .3s, box-shadow .4s var(--yt-ease);
}
.yt-ct-card--blue { --c: #5AA8FF; --c-soft: rgba(8, 123, 255, .14); }
.yt-ct-card--purple { --c: #B89BFF; --c-soft: rgba(121, 61, 206, .18); }
.yt-ct-card::after { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--c); opacity: .7; }
.yt-ct-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--c) 45%, transparent); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .85); }
.yt-ct-card-num { position: absolute; right: 24px; top: 22px; font: 800 13px/1 var(--yt-font-head); letter-spacing: .08em; color: var(--yt-muted); }
.yt-ct-card-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 20px; color: var(--c); background: var(--c-soft); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); }
.yt-ct-card h3 { margin-top: 20px; font-size: 20px; font-weight: 800; }
.yt-ct-card address { margin-top: 12px; font-style: normal; font-size: 15.5px; line-height: 1.7; color: var(--yt-text-2); }
.yt-ct-links-list { margin-top: 12px; display: grid; gap: 10px; }
.yt-ct-links-list li { display: flex; align-items: center; gap: 10px; }
.yt-ct-links-list i { width: 16px; font-size: 13px; color: var(--c); }
.yt-ct-links-list a { color: #fff; font-weight: 600; font-size: 15.5px; overflow-wrap: anywhere; transition: color .2s; }
.yt-ct-links-list a:hover, .yt-ct-links-list a:focus-visible { color: var(--c); }
.yt-ct-hours { margin-top: 12px; display: grid; gap: 10px; }
.yt-ct-hours div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--yt-border-2); }
.yt-ct-hours div:last-child { border-bottom: 0; padding-bottom: 0; }
.yt-ct-hours dt { color: var(--yt-text-2); font-size: 15px; }
.yt-ct-hours dd { margin: 0; color: #fff; font-weight: 600; font-size: 15px; text-align: right; }
.yt-ct-hours dd.is-closed { color: #FF8DA6; }

/* follows the form section directly: a shorter top gap keeps the page compact */
.yt-ct-info { padding-top: clamp(64px, 7vw, 96px); }
/* the final CTA sits right after the cards: avoid a double gap */
.yt-ct-info + .yt-cta { padding-top: 0; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .yt-ct-art-ring, .yt-ct-submit.is-loading i { animation: none; }
}
