/* Page-only styles for /zoho-crm-goa/ (prefix zcg-). Shared look lives in etc.css + kit-*.css. TP-PROD-E.
   Hero: H4 sketch map of Goa with one sample buyer's visit weekend (route draws stop by stop) and a ticket-style card. */

.zcg-hero .hero__grid { grid-template-columns: 1fr 1fr; align-items: start; }

/* Trip map */
.zcg-trip { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 14px 14px 16px; box-shadow: var(--shadow); }
.zcg-trip__h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 2px 4px 10px; font: 700 13px/1.3 var(--font-ui); color: var(--ink); }
.zcg-trip__h span { font: 700 11px/1 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: #8A4B00; background: #FFF4E5; border-radius: 999px; padding: 5px 9px; }
.zcg-trip svg { display: block; width: 100%; height: auto; max-height: 430px; }
.zcg-land { fill: #fff; stroke: #B6C7D9; stroke-width: 1.5; }
.zcg-ghats { fill: none; stroke: #C7D9B8; stroke-width: 10; stroke-linecap: round; opacity: .8; }
.zcg-river { fill: none; stroke: #7FB0DD; stroke-width: 3.5; stroke-linecap: round; }
.zcg-rail { fill: none; stroke: #64748B; stroke-width: 2; stroke-dasharray: 9 4 2 4; }
.zcg-water text { font: italic 600 11px var(--font-ui); fill: #1B5A94; paint-order: stroke; stroke: #fff; stroke-width: 3px; }
.zcg-water .zcg-sea { font: 600 10.5px var(--font-ui); font-style: normal; fill: #475569; letter-spacing: .1em; text-transform: uppercase; stroke: none; }
.zcg-place circle { fill: #475569; }
.zcg-place text { font: 600 11.5px var(--font-ui); fill: #334155; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.zcg-place .zcg-railk { font-size: 10.5px; fill: #475569; }
.zcg-base { fill: none; stroke: #A9C4E0; stroke-width: 3; stroke-dasharray: 2 7; stroke-linecap: round; }
.zcg-leg { fill: none; stroke: #236EB4; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .9s cubic-bezier(.4, 0, .2, 1); }
.zcg-trip.is-ready .zcg-leg { stroke-dashoffset: 1; }
.zcg-trip.is-ready .zcg-leg.is-done { stroke-dashoffset: 0; }
.zcg-arrow { fill: none; stroke: #2B7A0B; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.zcg-stop__dot { fill: #fff; stroke: #236EB4; stroke-width: 3; transition: fill .25s, stroke .25s; }
.zcg-stop__halo { fill: rgba(35, 110, 180, .12); transform-box: fill-box; transform-origin: center; }
.zcg-stop text { font: 700 12.5px var(--font-ui); fill: #1B5A94; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.zcg-stop.is-past .zcg-stop__dot { fill: #236EB4; }
.zcg-stop.is-on .zcg-stop__dot { fill: #2B7A0B; stroke: #2B7A0B; }
.zcg-stop.is-on .zcg-stop__halo { fill: rgba(62, 169, 0, .3); animation: zcg-halo 2s ease-out infinite; }
.zcg-stop.is-on text { fill: #1E5A08; }
@keyframes zcg-halo { 0% { transform: scale(.75); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }
.zcg-scale { font: 500 10.5px var(--font-ui); fill: #475569; }

/* Step timeline under the map */
.zcg-steps { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.zcg-steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 13px; height: 2px; background: repeating-linear-gradient(90deg, #A9C4E0 0 6px, transparent 6px 11px); }
.zcg-steps li { position: relative; display: flex; justify-content: center; }
.zcg-steps button { position: relative; display: grid; justify-items: center; gap: 2px; min-height: 58px; min-width: 44px; padding: 0 2px 4px; border: 0; background: none; cursor: pointer; font: 700 12.5px/1.2 var(--font-ui); color: var(--ink); text-align: center; }
.zcg-steps button::before { content: ""; width: 14px; height: 14px; margin: 6px 0 4px; border-radius: 50%; background: #fff; border: 3px solid #A9C4E0; transition: background .2s, border-color .2s, transform .2s; }
.zcg-steps button small { font: 500 11.5px/1.2 var(--font-ui); color: var(--muted); }
.zcg-steps button.is-past::before { border-color: #236EB4; background: #236EB4; }
.zcg-steps button[aria-pressed="true"]::before { border-color: #2B7A0B; background: #2B7A0B; transform: scale(1.25); }
.zcg-steps button[aria-pressed="true"] b { color: #1E5A08; }
.zcg-steps button:focus-visible, .zcg-play:focus-visible { outline: 3px solid #93C5FD; outline-offset: 2px; border-radius: 6px; }

/* Ticket-style record card */
.zcg-pass { position: relative; margin-top: 8px; background: #F4F8FC; border: 1px solid #D6E3F0; border-radius: 14px; padding: 16px 18px 10px; }
.zcg-pass::before, .zcg-pass::after { content: ""; position: absolute; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: #fff; border: 1px solid #D6E3F0; }
.zcg-pass::before { left: -9px; clip-path: inset(0 0 0 50%); }
.zcg-pass::after { right: -9px; clip-path: inset(0 50% 0 0); }
.zcg-card + .zcg-card { margin-top: 14px; padding-top: 14px; border-top: 1px dashed #C3D4E6; }
.zcg-trip.is-ready .zcg-card { display: none; }
.zcg-trip.is-ready .zcg-card.is-on { display: block; margin-top: 0; padding-top: 0; border-top: 0; animation: zcg-in .35s ease both; }
@keyframes zcg-in { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.zcg-card__k { margin: 0 0 4px; font: 700 11.5px/1.2 var(--font-ui); letter-spacing: .07em; text-transform: uppercase; color: #2B7A0B; }
.zcg-card__t { margin: 0 0 10px; font: 700 16.5px/1.35 var(--font); color: var(--ink); }
.zcg-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 0; }
.zcg-card dt { font: 700 10.5px/1.2 var(--font-ui); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.zcg-card dd { margin: 3px 0 0; font: 500 13.5px/1.4 var(--font-ui); color: var(--text); }
.zcg-pass__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; padding-top: 8px; border-top: 1px dashed #C3D4E6; font: 500 12.5px/1.4 var(--font-ui); color: var(--muted); }
.zcg-play { flex: none; min-height: 34px; padding: 4px 14px; border: 1px solid #236EB4; border-radius: 999px; background: #fff; font: 700 12.5px var(--font-ui); color: #1B5A94; cursor: pointer; }
.zcg-play[aria-pressed="true"] { background: #236EB4; color: #fff; }

/* Fit flips */
.zcg-flips { grid-template-columns: repeat(3, 1fr); }
.zcg-flip__k { display: inline-block; font: 700 11px/1 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: #8A4B00; background: #FFF4E5; border-radius: 999px; padding: 5px 9px; }
.zcg-flip__s { font: 600 13px/1.45 var(--font-ui); color: var(--blue-d); }
.zcg-flip__steps { display: grid; gap: 7px; margin-top: 8px; font: 500 13.5px/1.45 var(--font-ui); }
.zcg-flip__steps > span { display: flex; gap: 8px; align-items: baseline; }
.zcg-flip__steps i { font-style: normal; flex: none; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; font: 700 11px/20px var(--font-ui); text-align: center; }

/* Chat inside the sample window */
.zcg-chat { display: grid; gap: 9px; padding: 8px 10px; border-radius: 12px; background: #F3EFE7; }
.zcg-chat p { margin: 0; max-width: 80%; padding: 9px 12px; border-radius: 14px; font: 500 14px/1.45 var(--font-ui); box-shadow: 0 1px 1px rgba(15, 23, 42, .06); }
.zcg-chat small { display: block; margin-top: 3px; font-size: 11.5px; color: var(--muted); }
.zcg-chat__in { background: #fff; color: var(--ink); justify-self: start; border-top-left-radius: 4px; }
.zcg-chat__out { background: #DCF3CF; color: var(--ink); justify-self: end; border-top-right-radius: 4px; }
.zcg-chat__note { justify-self: stretch; max-width: none !important; background: #fff !important; border: 1px dashed #A9C4E0; color: var(--blue-d) !important; font-size: 13px !important; box-shadow: none !important; }

/* Split layout with a sticky head */
.zcg-split { display: grid; grid-template-columns: .92fr 1.08fr; gap: 48px; align-items: start; }
.zcg-split .sec__head { position: sticky; top: 100px; margin-bottom: 0; }
.zcg-ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; font: 500 15px/1.4 var(--font-ui); color: var(--ink); }
.zcg-ticks li { position: relative; padding-left: 30px; }
.zcg-ticks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 6px; background: var(--blue-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%231B5A94' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.zcg-note { margin: 16px 0 0; font: 500 13.5px/1.55 var(--font-ui); color: var(--muted); }

/* Season chooser */
.zcg-season { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.zcg-season__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.zcg-season__tabs button { position: relative; display: grid; gap: 3px; min-height: 64px; padding: 14px 16px; border: 0; border-right: 1px solid var(--line); background: #F9FAFB; cursor: pointer; text-align: left; font: 700 14.5px/1.2 var(--font-ui); color: var(--ink); }
.zcg-season__tabs button:last-child { border-right: 0; }
.zcg-season__tabs button small { font: 600 12px/1.2 var(--font-ui); color: var(--muted); }
.zcg-season__tabs button[aria-selected="true"] { background: #fff; color: var(--blue-d); }
.zcg-season__tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; background: var(--brand); }
.zcg-season__tabs button:focus-visible { outline: 3px solid #93C5FD; outline-offset: -3px; }
.zcg-season__panel { display: grid; grid-template-columns: 1fr 1fr .9fr; gap: 0; }
.zcg-season__panel > div { padding: 22px 24px; border-right: 1px solid var(--line); }
.zcg-season__panel > div:last-child { border-right: 0; }
.zcg-season__panel h3 { margin: 0 0 8px; font-size: 16px; }
.zcg-season__panel p { margin: 0; font-size: 15px; line-height: 1.55; }
.zcg-season__set { background: var(--green-bg); }
.zcg-season__set h3 { color: #1E5A08; }
.zcg-season__panel:not([hidden]) > div { animation: zcg-up .35s ease both; }
.zcg-season__panel:not([hidden]) > div:nth-child(2) { animation-delay: .06s; }
.zcg-season__panel:not([hidden]) > div:nth-child(3) { animation-delay: .12s; }
@keyframes zcg-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Integrations */
.zcg-int { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.zcg-int__g { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; position: relative; }
.zcg-int__g::before { content: ""; position: absolute; left: 20px; top: 0; width: 44px; height: 4px; border-radius: 0 0 4px 4px; background: var(--blue); }
.zcg-int__g:nth-child(2)::before { background: var(--green); }
.zcg-int__g:nth-child(3)::before { background: #F97316; }
.zcg-int__g h3 { font-size: 18px; margin: 6px 0 12px; }
.zcg-int__g ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.zcg-int__g li { font-size: 15px; line-height: 1.45; padding-bottom: 11px; border-bottom: 1px solid #F1F5F9; }
.zcg-int__g li:last-child { border-bottom: 0; padding-bottom: 0; }
.zcg-int__g li b { color: var(--ink); }
.zcg-tag { display: inline-block; vertical-align: middle; font: 700 10.5px/1 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; border-radius: 4px; padding: 5px 7px; }
.zcg-tag--native { background: var(--green-bg); color: var(--green-d); }
.zcg-tag--market { background: var(--blue-bg); color: var(--blue-d); }
.zcg-tag--custom { background: #FFF4E5; color: #8A4B00; }

/* Migration lanes */
.zcg-lanes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.zcg-lane { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 20px 16px; border-left: 4px solid var(--green); }
.zcg-lane--shape { border-left-color: var(--blue); }
.zcg-lane--stay { border-left-color: #94A3B8; }
.zcg-lane h3 { font-size: 17px; margin: 0 0 10px; }
.zcg-lane ul { margin: 0; padding-left: 18px; display: grid; gap: 7px; font-size: 15px; line-height: 1.45; }

/* Area band (S6): keep the map and cards light inside the dark band */
.k-band .map, .k-band .area { color: var(--text); }
.k-band .area h3 { color: var(--ink); }
.k-band .area p, .k-band .area dd { color: var(--text); }
.k-band .area a { color: var(--blue); }
.k-band .arealist button { color: var(--ink); }
.zcg-amap text { font: 600 12px/1 var(--font-ui); fill: #1E293B; }
.zcg-amap .lbl { font: 500 10.5px/1 var(--font-ui); fill: #475569; }
.zcg-ariver { fill: none; stroke: #9CC3E6; stroke-width: 4; stroke-linecap: round; }
.zcg-bandnote { margin: 22px 0 0; font: 500 14.5px/1.5 var(--font-ui); }

@media (max-width: 1080px) {
  .zcg-hero .hero__grid, .zcg-split { grid-template-columns: 1fr; gap: 28px; }
  .zcg-split .sec__head { position: static; }
  .zcg-flips, .zcg-int { grid-template-columns: 1fr 1fr; }
  .zcg-season__panel { grid-template-columns: 1fr 1fr; }
  .zcg-season__set { grid-column: 1 / -1; border-top: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .zcg-flips, .zcg-int, .zcg-lanes { grid-template-columns: 1fr; }
  .zcg-card dl { grid-template-columns: 1fr; }
  .zcg-steps button { font-size: 11.5px; }
  .zcg-steps button small { font-size: 10.5px; }
  .zcg-chat p { max-width: 92%; }
  .zcg-season__tabs { grid-template-columns: 1fr 1fr; }
  .zcg-season__tabs button:nth-child(2) { border-right: 0; }
  .zcg-season__tabs button:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .zcg-season__panel { grid-template-columns: 1fr; }
  .zcg-season__panel > div { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px; }
  .zcg-season__panel > div:last-child { border-bottom: 0; }
  .zcg-pass__foot { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .zcg-stop.is-on .zcg-stop__halo, .zcg-trip.is-ready .zcg-card.is-on, .zcg-season__panel:not([hidden]) > div { animation: none; }
  .zcg-leg, .zcg-steps button::before { transition: none; }
}
