/* ITTechnology/01-hero/style.css - Section-specific styles */

@keyframes cdBlk {
  from { transform: scale(.94); }
  to { transform: none; }
}

@keyframes cdPic {
  from { transform: translateY(16px); }
  to { transform: none; }
}

@keyframes cdFlt {
  from { transform: none; }
  to { transform: translateY(-8px); }
}

.pop {
  animation: pop .8s var(--ease) both;
}

/* 01 HERO SECTION */
.cdh {
  position: relative;
  overflow: hidden;
  min-height: clamp(500px, 38cqi, 640px);
  display: flex;
  background: radial-gradient(55% 85% at 0% 100%, rgba(206, 196, 234, .62), rgba(206, 196, 234, 0) 70%),
              radial-gradient(60% 90% at 100% 0%, rgba(237, 157, 33, .26), rgba(237, 157, 33, 0) 65%),
              linear-gradient(90deg, #F5EEF6 0%, #FBF6F0 48%, #FCF0E2 100%);
}

.cdh-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(92, 72, 156, .055) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(92, 72, 156, .055) 1px, transparent 1px);
  background-size: clamp(30px, 2.5cqi, 40px) clamp(30px, 2.5cqi, 40px);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .35));
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .35));
  pointer-events: none;
}

.cdh-bl {
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: 0;
  width: 14cqi;
  height: 12cqi;
  pointer-events: none;
  transform: scale(.62);
  transform-origin: 0 100%;
}

.cdh-bl i {
  position: absolute;
  display: block;
}

.cdh-bl .a {
  left: 0;
  bottom: 3.45cqi;
  width: 4.1cqi;
  height: 5.75cqi;
  background: rgba(206, 196, 234, .7);
}

.cdh-bl .b {
  left: 0;
  bottom: 0;
  width: 4.1cqi;
  height: 3.45cqi;
  background: linear-gradient(180deg, #B9A9E2, #8C79C6);
}

.cdh-bl .c {
  left: 4.1cqi;
  bottom: 0;
  width: 3.9cqi;
  height: 5.6cqi;
  background: linear-gradient(180deg, rgba(237, 157, 33, .42), rgba(206, 196, 234, .75));
}

.cdh-bl .d {
  left: 8cqi;
  bottom: 0;
  width: 4.9cqi;
  height: 3.45cqi;
  background: rgba(206, 196, 234, .62);
}

.cdh-bl .e {
  left: 8cqi;
  bottom: 5.6cqi;
  width: 1.65cqi;
  height: 1.75cqi;
  background: rgba(237, 157, 33, .35);
}

.cdh-in {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(18px, 2cqi, 28px) var(--pad) clamp(56px, 6cqi, 92px);
}

.ith {
  min-height: clamp(480px, 33.4cqi, 620px);
}

.ith .cdh-main {
  flex: 1;
  display: grid;
  grid-template-columns: max-content 1px minmax(0, 18cqi);
  grid-template-areas: "eb eb eb" "h1 dv s" "ct ct ct";
  column-gap: clamp(20px, 2.5cqi, 36px);
  align-items: center;
  align-content: center;
  justify-content: start;
  max-width: none;
  padding-top: 0;
}

.cdh-eb {
  grid-area: eb;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(14px, 1.15cqi, 17px);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.cdh-eb::before {
  content: "";
  width: clamp(18px, 1.5cqi, 22px);
  height: clamp(18px, 1.5cqi, 22px);
  border-radius: 4px;
  background: linear-gradient(165deg, #ED9D21, #E87A26);
  flex: none;
}

.cdh-h1 {
  grid-area: h1;
  font-family: var(--fd);
  font-weight: 700;
  font-size: clamp(36px, 3.2cqi, 47px);
  line-height: 1.02;
  letter-spacing: -.036em;
  margin-top: clamp(22px, 2.4cqi, 34px);
}

.cdh-h1 .l {
  display: block;
}

.cdh-h1 .p {
  color: var(--purple);
}

.cdh-div {
  grid-area: dv;
  align-self: center;
  width: 1px;
  height: clamp(90px, 7.6cqi, 120px);
  background: rgba(0, 0, 0, .18);
  margin-top: clamp(22px, 2.4cqi, 34px);
}

.cdh-h2 {
  grid-area: s;
  font-family: var(--fs);
  font-weight: 400;
  font-size: clamp(16px, 1.3cqi, 19px);
  line-height: 1.5;
  color: rgba(0, 0, 0, .82);
  text-wrap: balance;
  margin-top: clamp(22px, 2.4cqi, 34px);
}

.cdh-ctas {
  grid-area: ct;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 2.4cqi, 34px);
}

.cdh-ctas .btn {
  min-height: 48px;
  padding: 0 20px;
  font-size: 15px;
}

.cdh-ctas .btn-ghost {
  background: rgba(255, 255, 255, .4);
}

.cdh-ctas .btn-ghost:hover {
  background: #000;
  color: var(--paper);
}

/* IT Hero composition on the right */
.ith-comp {
  position: absolute;
  z-index: 1;
  right: .8cqi;
  top: 50%;
  width: 36cqi;
  max-width: 640px;
  aspect-ratio: 1.2;
  transform: translateY(-50%);
}

.ith-bd {
  position: absolute;
  z-index: 1;
  left: 32.7%;
  top: 14.2%;
  width: 41.5%;
  height: 52%;
  border-radius: clamp(22px, 2.4cqi, 36px);
  background: linear-gradient(165deg, #A693DD 0%, #7F69C6 45%, #5C489C 100%);
  box-shadow: 0 40px 70px -42px rgba(60, 40, 120, .55);
  animation: cdBlk 1.1s var(--ease) both;
}

.ith-bd::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(150deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 50%);
}

.ith-or {
  position: absolute;
  z-index: 2;
  left: 53.9%;
  top: 4.9%;
  width: 26.9%;
  height: 28.6%;
  border-radius: clamp(18px, 2cqi, 30px);
  background: linear-gradient(160deg, #F5B653 0%, #ED9D21 55%, #E8861E 100%);
  box-shadow: 0 26px 44px -30px rgba(200, 110, 20, .55);
  animation: cdBlk 1.2s var(--ease) .08s both;
  transition: transform .6s var(--ease);
}

.ith-pic {
  position: absolute;
  z-index: 3;
  left: 14.2%;
  top: 32.9%;
  width: 77.2%;
  height: auto;
  pointer-events: none;
  animation: cdPic 1.2s var(--ease) both;
}

.iq {
  position: absolute;
  z-index: 2;
  display: block;
  aspect-ratio: 1;
  border-radius: clamp(4px, .55cqi, 8px);
  animation: cdFlt 7s ease-in-out infinite alternate;
}

.iq.lv { background: rgba(196, 168, 236, .7); }
.iq.lv2 { background: rgba(214, 198, 244, .55); mix-blend-mode: multiply; }
.iq.olv { background: linear-gradient(155deg, #ABA34B, #878232); }
.iq.olv2 { background: linear-gradient(155deg, #B7AF55, #878232); }
.iq.pch { background: rgba(248, 214, 170, .5); }
.iq.org { background: linear-gradient(165deg, #ED9D21, #E87A26); }
.iq.gh { background: rgba(255, 255, 255, .45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 14px 26px -18px rgba(0, 0, 0, .12); }

.ith-t {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  aspect-ratio: 1.09;
  border-radius: clamp(10px, 1.2cqi, 18px);
  background: #FFFDF8;
  color: var(--purple);
  box-shadow: 0 24px 36px -22px rgba(60, 40, 20, .38), inset 0 0 0 1px rgba(255, 255, 255, .8);
  animation: cdFlt 6s ease-in-out infinite alternate;
}

.ith-t .ic {
  width: 50%;
  height: auto;
  aspect-ratio: 1;
  stroke-width: 1.6;
}

.ith-t.t1 { left: 57.5%; top: 10.6%; width: 14.1%; animation-delay: .6s; }
.ith-t.t2 { left: 22.4%; top: 34%; width: 13.8%; background: linear-gradient(160deg, #937BD8, #6C56B4); color: #FBFAF2; box-shadow: 0 24px 36px -22px rgba(60, 40, 120, .55), inset 0 0 0 1px rgba(255, 255, 255, .18); animation-delay: 1.4s; }
.ith-t.t3 { left: 72.6%; top: 46%; width: 14.3%; animation-delay: 2.2s; }

.ith-comp:hover .ith-or {
  transform: translate(4px, -4px);
}

/* RESPONSIVE */
@container page (max-width: 1100px) {
  .ith .cdh-main {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "eb" "h1" "s" "ct";
    max-width: calc(100% - 44cqi);
  }
  .ith .cdh-div { display: none; }
  .ith .cdh-h2 { margin-top: 20px; }
  .ith .cdh-h1 { font-size: clamp(34px, 4.2cqi, 46px); }
  .ith .cdh-h1 .l { display: inline; }
  .ith-comp { width: 42cqi; }
}

@media (max-width: 1100px) {
  .ith .cdh-main {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "eb" "h1" "s" "ct";
    max-width: calc(100% - 44cqi);
  }
  .ith .cdh-div { display: none; }
  .ith .cdh-h2 { margin-top: 20px; }
  .ith .cdh-h1 { font-size: clamp(34px, 4.2cqi, 46px); }
  .ith .cdh-h1 .l { display: inline; }
  .ith-comp { width: 42cqi; }
}

@container page (max-width: 640px) {
  .ith { display: block; min-height: 0; }
  .ith .cdh-in { padding-bottom: 10px; }
  .ith .cdh-main { max-width: none; padding-top: 28px; }
  .ith .cdh-h1 { font-size: clamp(30px, 8.6cqi, 38px); margin-top: 18px; }
  .ith .cdh-eb { font-size: 13px; gap: 10px; }
  .ith .cdh-eb::before { width: 16px; height: 16px; }
  .ith .cdh-ctas .btn { flex: 1 1 auto; }
  .ith-comp { position: relative; right: auto; top: auto; transform: none; width: auto; max-width: 440px; margin: 8px var(--pad) 30px; }
  .cdh-bl { width: 30cqi; height: 26cqi; transform: scale(.8); }
}

@media (max-width: 640px) {
  .ith { display: block; min-height: 0; }
  .ith .cdh-in { padding-bottom: 10px; }
  .ith .cdh-main { max-width: none; padding-top: 28px; }
  .ith .cdh-h1 { font-size: clamp(30px, 8.6vw, 38px); margin-top: 18px; }
  .ith .cdh-eb { font-size: 13px; gap: 10px; }
  .ith .cdh-eb::before { width: 16px; height: 16px; }
  .ith .cdh-ctas .btn { flex: 1 1 auto; }
  .ith-comp { position: relative; right: auto; top: auto; transform: none; width: auto; max-width: 440px; margin: 8px var(--pad) 30px; }
  .cdh-bl { width: 30vw; height: 26vw; transform: scale(.8); }
}
