/* ==========================================================================
   TOURISM — the sections built for the Tourism & Hospitality page
   Loaded after sector-detail.css, only by page-tourism-and-hospitality.php.

   Everything here is scoped to .sd--tour or prefixed .tr-, so nothing leaks
   into the other sector pages that share sector-detail.css. The rest of the
   page (facts, edge cards, strategic panels, gallery, companies, CTA) stays
   on the shared .sd-* system untouched — only the hero and the "Global
   Stage" band are page-specific, both because the brief asked for a more
   cinematic opening than the shared full-bleed hero gives.

   01  Hero — six-frame arc collage over centred type
   02  Global Stage — a dark spotlight band for the 2025/26 headlines
   03  Incentives — a tilting, spotlit bento grid (tourism.js drives the tilt)
   04  Responsive
   ========================================================================== */

/* 01 ── HERO ─────────────────────────────────────────────────────────── */
/* Same shape as the Why Telangana page's collage hero: six frames in an arc,
   each dropped by its own --dy, sitting over centred type on a light ground.
   Ported rather than shared from why.css (that file isn't loaded here), so
   the class names are this page's own .tr- prefix. */

.tr-hero{
  --tr-cw:clamp(20px,4.2vw,70px);
  position:relative;overflow:hidden;isolation:isolate;
  display:flex;flex-direction:column;justify-content:center;align-items:stretch;
  padding-top:calc(var(--hdr-h) + var(--util-h,0px) + clamp(1.8rem,5vw,3.6rem));
  padding-bottom:clamp(2.6rem,6vw,4.8rem);
  background:
    radial-gradient(116% 74% at 50% -16%,color-mix(in srgb,var(--sd-accent) 10%,transparent),transparent 60%),
    radial-gradient(60% 46% at 5% 4%,color-mix(in srgb,var(--lg-lime) 14%,transparent),transparent 62%),
    radial-gradient(56% 44% at 96% 2%,color-mix(in srgb,var(--lg-blue) 12%,transparent),transparent 62%),
    var(--paper-2);
}
.tr-hero__aura{
  position:absolute;left:50%;top:-18%;translate:-50% 0;z-index:0;
  width:min(1500px,120%);aspect-ratio:2/1;pointer-events:none;
  background:radial-gradient(50% 50% at 50% 50%,rgba(255,255,255,.9),transparent 70%);
}
.tr-hero__rule{
  position:absolute;inset:auto 0 0;z-index:0;height:1px;pointer-events:none;
  background:linear-gradient(90deg,transparent,var(--line-3),transparent);
}

/* ---- the arc ------------------------------------------------------------ */
.tr-coll{
  position:relative;z-index:3;
  width:min(1380px,calc(100% - clamp(1.5rem,4vw,3.2rem)));
  margin-inline:auto;margin-bottom:clamp(1.4rem,3.4vw,2.6rem);
  display:grid;grid-template-columns:repeat(6,minmax(0,1fr));
  gap:clamp(.5rem,1.1vw,1.05rem);
  align-items:start;
}
.tr-coll__c{
  margin:0;margin-top:calc(var(--dy) * var(--tr-cw));
  aspect-ratio:4/5;overflow:hidden;
  border-radius:clamp(10px,1.1vw,18px);
  background:var(--paper-3);
  box-shadow:0 1px 2px rgba(6,16,52,.06),0 16px 38px color-mix(in srgb,var(--sd-accent) 16%,transparent);
  transition:transform .6s var(--e-out),box-shadow .6s var(--e-out);
}
.tr-coll__c img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .8s var(--e-out)}
.tr-coll__c:hover{transform:translateY(-10px);box-shadow:0 2px 4px rgba(6,16,52,.07),0 26px 58px color-mix(in srgb,var(--sd-accent) 22%,transparent)}
.tr-coll__c:hover img{transform:scale(1.06)}

/* ---- the type ------------------------------------------------------------ */
.tr-hero__in{position:relative;z-index:3;width:var(--shell);margin-inline:auto}
.tr-hero__txt{display:grid;gap:clamp(.8rem,1.8vw,1.3rem);justify-items:center;text-align:center}

.tr-hero__badge{
  display:inline-flex;align-items:center;gap:.6rem;
  padding:.5rem 1.05rem .5rem .5rem;border-radius:var(--r-pill);
  border:1px solid var(--line);background:rgba(255,255,255,.78);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  font-family:var(--f-head);font-size:.72rem;font-weight:700;letter-spacing:.02em;
  color:var(--ink-2);box-shadow:0 8px 22px rgba(10,12,43,.06);
}
.tr-hero__badge i{
  width:20px;height:20px;border-radius:50%;background:var(--g-heat-blue);
  display:grid;place-items:center;flex:0 0 auto;
}
.tr-hero__badge i::after{
  content:"";width:6px;height:6px;border-radius:50%;background:#fff;
  animation:pulseDot 2.4s ease-in-out infinite;
}

.tr-hero__h{
  font-family:var(--f-head);font-weight:700;color:var(--ink);
  font-size:clamp(2.2rem,5.2vw,4.8rem);line-height:1.05;letter-spacing:-.038em;
  max-width:20ch;
}
.tr-hero__h em{
  font-style:normal;
  background:linear-gradient(98deg,#0483CE 0%,#2D308F 34%,var(--sd-accent) 58%,var(--lg-green) 100%);
  -webkit-background-clip:text;background-clip:text;
  color:transparent;-webkit-text-fill-color:transparent;
}
.tr-hero__p{
  color:var(--ink-2);max-width:70ch;text-wrap:pretty;
  font-size:clamp(.98rem,.4vw + .9rem,1.1rem);line-height:1.68;
}
.tr-hero__cta{display:flex;gap:.85rem;flex-wrap:wrap;justify-content:center;padding-top:.3rem}
.tr-hero__cta svg{width:16px;height:16px}

/* ---- narrower screens drop frames from the outside in -------------------- */
@media (max-width:980px){
  .tr-coll{grid-template-columns:repeat(4,minmax(0,1fr))}
  .tr-coll__c:nth-child(1),.tr-coll__c:nth-child(6){display:none}
}
@media (max-width:620px){
  .tr-hero{--tr-cw:clamp(14px,4vw,26px)}
  .tr-coll{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}
  .tr-coll__c:nth-child(2){display:none}
}

/* 02 ── GLOBAL STAGE ─────────────────────────────────────────────────── */

.tr-spot{
  position:relative;overflow:hidden;isolation:isolate;
  padding-block:clamp(3.6rem,7vw,6.2rem);
  background:#F2F3F6;
}
.tr-spot__grid{
  position:absolute;inset:0;z-index:0;pointer-events:none;
  background-image:linear-gradient(90deg,rgba(10,12,43,.045) 1px,transparent 1px);
  background-size:calc(100% / 6) 100%;
  mask-image:radial-gradient(75% 75% at 50% 40%,#000,transparent);
  -webkit-mask-image:radial-gradient(75% 75% at 50% 40%,#000,transparent);
}
.tr-spot__in{position:relative;z-index:1}
.tr-spot__lede{max-width:62ch;color:var(--ink-2);line-height:1.65;margin-top:.7rem}

.tr-spot__row{
  display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(1.4rem,3vw,2rem);
  margin-top:clamp(2.4rem,5vw,3.4rem);
}
.tr-spot__item{
  background:#fff;border-radius:20px;overflow:hidden;
  box-shadow:0 1px 2px rgba(6,16,52,.05),0 18px 38px rgba(6,16,52,.09);
  transition:transform .5s var(--e-out),box-shadow .5s var(--e-out);
}
.tr-spot__item:hover{transform:translateY(-6px);box-shadow:0 2px 4px rgba(6,16,52,.06),0 26px 50px rgba(6,16,52,.14)}
.tr-spot__img{margin:0;aspect-ratio:4/3;overflow:hidden;background:var(--paper-3)}
.tr-spot__img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .8s var(--e-out)}
.tr-spot__item:hover .tr-spot__img img{transform:scale(1.06)}
.tr-spot__body{padding:clamp(1.3rem,2.4vw,1.7rem)}
.tr-spot__n{
  display:block;font-family:var(--f-head);font-weight:700;color:var(--ink);
  font-size:clamp(1.15rem,1.6vw,1.35rem);letter-spacing:-.02em;margin-bottom:.5rem;
}
.tr-spot__p{color:var(--ink-3);font-size:.92rem;line-height:1.6}

/* 03 ── INCENTIVES ───────────────────────────────────────────────────── */
/* A bento grid rather than another card row, so it reads differently from
   the Edge and Global Stage sections above it. Each tile tilts toward the
   pointer and carries a cursor-lit spotlight (tourism.js writes --mx/--my/
   --rx/--ry); resting state is flat and fully visible, so nothing depends on
   the script to be readable. */

.tr-inc{
  position:relative;overflow:hidden;isolation:isolate;
  padding-block:clamp(3.6rem,7vw,6.2rem);
  background:
    radial-gradient(52% 60% at 92% 6%,color-mix(in srgb,var(--sd-accent) 12%,transparent),transparent 66%),
    radial-gradient(46% 52% at 4% 98%,color-mix(in srgb,var(--lg-lime) 14%,transparent),transparent 64%),
    var(--paper);
}
.tr-inc__lede{max-width:62ch;color:var(--ink-2);line-height:1.65;margin-top:.7rem}

.tr-inc__grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:clamp(1rem,2.2vw,1.4rem);
  margin-top:clamp(2.4rem,5vw,3.4rem);
  perspective:1400px;
}
.tr-inc__card{
  --mx:50%;--my:50%;--rx:0deg;--ry:0deg;
  position:relative;isolation:isolate;overflow:hidden;
  grid-column:span 1;
  border-radius:22px;padding:clamp(1.3rem,2.2vw,1.6rem);
  background:rgba(255,255,255,.86);
  border:1px solid var(--line);
  box-shadow:0 1px 2px rgba(6,16,52,.05),0 18px 34px rgba(6,16,52,.07);
  transform:perspective(1400px) rotateX(var(--ry)) rotateY(var(--rx));
  transition:transform .35s var(--e-out),box-shadow .35s var(--e-out),border-color .35s;
  will-change:transform;
}
.tr-inc__card:hover{
  box-shadow:0 4px 10px rgba(6,16,52,.06),0 30px 54px rgba(6,16,52,.14);
  border-color:color-mix(in srgb,var(--sd-accent) 28%,var(--line));
}
/* the cursor-lit glow, painted only where the pointer is */
.tr-inc__card::before{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  opacity:0;transition:opacity .4s;
  background:radial-gradient(280px circle at var(--mx) var(--my),
    color-mix(in srgb,var(--sd-accent) 16%,transparent),transparent 62%);
}
.tr-inc__card:hover::before{opacity:1}

.tr-inc__num{
  position:absolute;top:1.1rem;right:1.3rem;z-index:1;
  font-family:var(--f-head);font-size:.72rem;font-weight:700;letter-spacing:.06em;
  color:var(--ink-4);font-variant-numeric:tabular-nums;
}
.tr-inc__ic{
  position:relative;z-index:1;display:grid;place-items:center;
  width:46px;height:46px;border-radius:14px;margin-bottom:1.05rem;
  background:color-mix(in srgb,var(--sd-accent) 11%,transparent);
  color:var(--sd-accent);
}
.tr-inc__ic svg{width:22px;height:22px}
.tr-inc__t{
  position:relative;z-index:1;
  font-family:var(--f-head);font-weight:700;color:var(--ink);
  font-size:1.05rem;letter-spacing:-.015em;margin-bottom:.45rem;
}
.tr-inc__p{position:relative;z-index:1;color:var(--ink-3);font-size:.88rem;line-height:1.58}

/* the lead tile: wider, and its own big number rather than an icon */
.tr-inc__card--lg{
  grid-column:span 2;
  display:flex;flex-direction:column;justify-content:center;
  background:linear-gradient(135deg,var(--lg-navy) 0%,#0742B8 46%,var(--sd-accent) 100%);
  border-color:transparent;
}
.tr-inc__card--lg::before{
  background:radial-gradient(320px circle at var(--mx) var(--my),rgba(255,255,255,.22),transparent 62%);
}
.tr-inc__card--lg .tr-inc__num{color:rgba(255,255,255,.55)}
.tr-inc__stat{
  position:relative;z-index:1;display:flex;align-items:baseline;gap:.6rem;margin-bottom:.6rem;
}
.tr-inc__stat b{
  font-family:var(--f-head);font-weight:700;color:#fff;
  font-size:clamp(2.4rem,4vw,3.2rem);line-height:1;letter-spacing:-.03em;
}
.tr-inc__stat span{font-family:var(--f-head);font-size:.92rem;color:rgba(255,255,255,.8)}
.tr-inc__card--lg .tr-inc__t{color:#fff;font-size:1.2rem}
.tr-inc__card--lg .tr-inc__p{color:rgba(255,255,255,.82)}

/* 03b ── INVESTMENT OPPORTUNITIES (interactive explorer) ─────────────── */

.tr-opp{
  position:relative;overflow:hidden;isolation:isolate;
  padding-block:clamp(3.5rem,7vw,6rem);
  background:
    radial-gradient(60% 50% at 100% 0%,color-mix(in srgb,var(--sd-accent) 9%,transparent),transparent 70%),
    var(--paper);
}
.tr-opp__aura{position:absolute;z-index:-1;border-radius:50%;filter:blur(70px);pointer-events:none;opacity:.55}
.tr-opp__aura--a{width:380px;height:380px;left:-120px;top:30%;background:color-mix(in srgb,var(--lg-lime) 30%,transparent)}
.tr-opp__aura--b{width:420px;height:420px;right:-140px;bottom:-60px;background:color-mix(in srgb,var(--lg-blue) 22%,transparent)}
.tr-opp .sec-head__t{max-width:68ch}
.tr-opp__lede{margin:0;color:var(--ink-2);font-size:clamp(1rem,1.25vw,1.12rem);line-height:1.65}

.tr-opp__stage{
  display:grid;grid-template-columns:minmax(260px,.82fr) minmax(0,2fr);
  gap:clamp(1rem,2.4vw,2rem);margin-top:clamp(1.8rem,3.5vw,3rem);align-items:stretch;
}

/* tab list */
.tr-opp__list{position:relative;display:flex;flex-direction:column;gap:.35rem;padding:.5rem;
  background:#fff;border:1px solid var(--line);border-radius:calc(var(--r-lg) + 4px);
  box-shadow:0 14px 36px rgba(6,16,52,.06)}
.tr-opp__pill{
  position:absolute;left:.5rem;right:.5rem;top:0;height:0;z-index:0;border-radius:var(--r-lg);
  background:linear-gradient(100deg,var(--sd-accent),var(--lg-navy));
  box-shadow:0 10px 24px color-mix(in srgb,var(--sd-accent) 35%,transparent);
  transition:transform .55s var(--e-out),height .55s var(--e-out);
  will-change:transform;
}
.tr-opp__tab{
  position:relative;z-index:1;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:.8rem;
  width:100%;padding:.85rem 1rem;border:0;border-radius:var(--r-lg);background:transparent;cursor:pointer;
  text-align:left;color:var(--ink-2);font:inherit;overflow:hidden;
  transition:color .35s var(--e-out);
}
.tr-opp__ti{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;
  background:color-mix(in srgb,var(--sd-accent) 8%,transparent);color:var(--sd-accent);
  transition:background .35s var(--e-out),color .35s var(--e-out),transform .45s var(--e-out)}
.tr-opp__ti svg{width:18px;height:18px}
.tr-opp__tt{font-family:var(--f-head);font-size:.95rem;font-weight:500;line-height:1.25}
.tr-opp__tab:hover .tr-opp__ti{transform:scale(1.08) rotate(-4deg)}
.tr-opp__tab:hover:not(.is-on){color:var(--sd-accent)}
.tr-opp__tab.is-on{color:#fff}
.tr-opp__tab.is-on .tr-opp__ti{background:rgba(255,255,255,.18);color:#fff}
.tr-opp__tab:focus-visible{outline:2px solid var(--lg-blue);outline-offset:2px}

/* viewer */
.tr-opp__view{position:relative;min-height:clamp(420px,46vw,540px);border-radius:calc(var(--r-lg) + 6px);overflow:hidden;
  background:var(--lg-navy);box-shadow:0 28px 60px rgba(6,16,52,.22);isolation:isolate;
  --mx:50%;--my:50%}
.tr-opp__view::after{content:"";position:absolute;inset:0;z-index:4;pointer-events:none;
  background:radial-gradient(420px circle at var(--mx) var(--my),rgba(255,255,255,.14),transparent 60%);
  opacity:0;transition:opacity .4s}
.tr-opp__view:hover::after{opacity:1}
.tr-opp__panel{position:absolute;inset:0;display:flex;align-items:flex-end;
  opacity:0;visibility:hidden;transition:opacity .7s var(--e-out),visibility 0s linear .7s}
.tr-opp__panel.is-on{opacity:1;visibility:visible;transition:opacity .7s var(--e-out),visibility 0s}
.tr-opp__img{position:absolute;inset:0;margin:0;overflow:hidden;z-index:0}
.tr-opp__img img{width:100%;height:100%;object-fit:cover;display:block;
  transform:scale(1.12) translate(var(--px,0),var(--py,0));transition:transform 1.6s var(--e-out)}
.tr-opp__panel.is-on .tr-opp__img img{transform:scale(1.02) translate(var(--px,0),var(--py,0))}
.tr-opp__img::after{content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(6,16,52,.15) 0%,rgba(6,16,52,.35) 40%,rgba(6,16,52,.92) 100%),
    linear-gradient(100deg,color-mix(in srgb,var(--sd-accent) 55%,transparent),transparent 60%)}
.tr-opp__body{position:relative;z-index:2;width:100%;max-width:640px;padding:clamp(1.4rem,3vw,2.6rem);color:#fff;
  display:flex;flex-direction:column;align-items:flex-start;gap:.7rem}
.tr-opp__body>*{transform:translateY(18px);opacity:0;transition:transform .7s var(--e-out),opacity .7s var(--e-out)}
.tr-opp__panel.is-on .tr-opp__body>*{transform:none;opacity:1}
.tr-opp__panel.is-on .tr-opp__body>:nth-child(1){transition-delay:.12s}
.tr-opp__panel.is-on .tr-opp__body>:nth-child(2){transition-delay:.18s}
.tr-opp__panel.is-on .tr-opp__body>:nth-child(3){transition-delay:.24s}
.tr-opp__panel.is-on .tr-opp__body>:nth-child(4){transition-delay:.3s}
.tr-opp__panel.is-on .tr-opp__body>:nth-child(5){transition-delay:.36s}
.tr-opp__ic{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;
  background:rgba(255,255,255,.14);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,.28);color:var(--lg-lime)}
.tr-opp__ic svg{width:26px;height:26px}
.tr-opp__t{margin:0;color:#fff;font-size:clamp(1.6rem,3vw,2.4rem);line-height:1.1;letter-spacing:-.03em}
.tr-opp__p{margin:0;color:rgba(255,255,255,.9);font-size:clamp(1rem,1.3vw,1.15rem);line-height:1.55;max-width:46ch}
.tr-opp__chips{list-style:none;margin:.3rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.45rem}
.tr-opp__chips li{padding:.38rem .8rem;border-radius:999px;font-size:.8rem;font-weight:500;color:#fff;
  backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.tr-opp__cta{display:inline-flex;align-items:center;gap:.6rem;margin-top:.6rem;padding:.75rem 1.25rem;border-radius:999px;
  background:#fff;color:var(--lg-navy);font-family:var(--f-head);font-size:.9rem;font-weight:500;text-decoration:none;
  transition:background .25s var(--e-out),color .25s var(--e-out),gap .25s var(--e-out)}
.tr-opp__cta svg{width:16px;height:16px}
.tr-opp__cta:hover,.tr-opp__cta:focus-visible{background:var(--lg-lime);color:var(--ink);gap:.85rem}
.tr-opp__cta:focus-visible{outline:2px solid #fff;outline-offset:3px}

.tr-opp__ctl{position:absolute;z-index:5;top:clamp(.8rem,2vw,1.4rem);left:clamp(.8rem,2vw,1.4rem);
  display:flex;align-items:center;gap:.5rem}
.tr-opp__cnt{margin-right:.3rem;padding:.4rem .8rem;border-radius:999px;color:#fff;font-family:var(--f-head);font-size:.78rem;
  background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.28);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.tr-opp__cnt b{font-weight:600}
.tr-opp__cnt span{opacity:.7}
.tr-opp__arr{display:grid;place-items:center;width:38px;height:38px;padding:0;border:0;border-radius:50%;cursor:pointer;
  background:#fff;color:var(--ink);box-shadow:0 6px 16px rgba(6,16,52,.22);
  transition:transform .2s var(--e-out),background .2s var(--e-out),color .2s var(--e-out)}
.tr-opp__arr svg{width:16px;height:16px}
.tr-opp__arr:hover{background:var(--lg-lime);transform:scale(1.08)}
.tr-opp__arr:active{transform:scale(.94)}
.tr-opp__arr:focus-visible{outline:2px solid #fff;outline-offset:2px}


@media (max-width:960px){
  .tr-opp__stage{grid-template-columns:1fr}
  .tr-opp__list{flex-direction:row;overflow-x:auto;gap:.35rem;padding:.4rem;scroll-snap-type:x proximity;
    scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .tr-opp__list::-webkit-scrollbar{display:none}
  .tr-opp__pill{left:0;right:auto;top:.4rem;bottom:.4rem;height:auto}
  .tr-opp__tab{flex:none;width:auto;grid-template-columns:auto 1fr;padding:.65rem .95rem;scroll-snap-align:center}
  .tr-opp__tt{white-space:nowrap;font-size:.88rem}
}
@media (max-width:640px){
  .tr-opp__view{min-height:520px}
  .tr-opp__ti{width:30px;height:30px}
}
@media (prefers-reduced-motion:reduce){
  .tr-opp__pill,.tr-opp__panel,.tr-opp__img img,.tr-opp__body>*{transition:none}
}

/* 04 ── RESPONSIVE ───────────────────────────────────────────────────── */

@media (max-width:960px){
  .tr-spot__row{grid-template-columns:1fr 1fr}
  .tr-inc__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tr-inc__card--lg{grid-column:span 2}
}
@media (max-width:640px){
  .tr-spot__row{grid-template-columns:1fr}
  .tr-inc__grid{grid-template-columns:1fr}
  .tr-inc__card--lg{grid-column:span 1}
}
@media (hover:none){
  .tr-inc__card{transform:none !important}
}
