/* TEICO homepage redesign (2026-11-21). Prefix th-. Content unchanged; new presentation. */
.th { --th-navy: #060A26; --th-navy2: #0D1440; --th-blue: #0057AD; --th-sky: #0285FE; --th-yellow: #FBDA0C; --th-ink: #151515; --th-text: #3A3F4E; --th-muted: #5D6474; --th-line: #E3E7EF; --th-soft: #F4F6FA;
  font-size: 16px; line-height: 1.65; color: var(--th-text); position: relative; }
.th *, .th *::before, .th *::after { box-sizing: border-box; }
.th img { max-width: 100%; }
.th-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.th-eyebrow { margin: 0 0 12px; font-size: 13px; line-height: 1.3; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--th-sky); }
.th-h2 { margin: 0 0 16px; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.15; font-weight: 700; color: var(--th-ink); letter-spacing: -.01em; }
.th-h2--sm { font-size: clamp(26px, 2.6vw, 34px); }
.th-lead { margin: 0; font-size: 17px; line-height: 1.7; color: var(--th-text); max-width: 760px; }
.th-head { margin-bottom: 40px; }
.th-head--center { text-align: center; }
.th-head--center .th-lead { margin: 0 auto; }
.th-head--light .th-h2 { color: #fff; }
.th-head--light .th-lead { color: #C3CCE4; }
.th-head--light .th-eyebrow { color: var(--th-yellow); }
.th-split { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 44px; }
.th-split .th-head { margin-bottom: 0; }
.th-split > .th-btn { flex-shrink: 0; }

.th-ico { width: 18px; height: 18px; flex-shrink: 0; transition: transform .25s ease; }
.th-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-size: 15px; font-weight: 700; line-height: 1.2; text-decoration: none; border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s; cursor: pointer; }
.th-btn:hover .th-ico { transform: translate(2px, -2px); }
.th-btn--yellow { background: var(--th-yellow); color: var(--th-navy); }
.th-btn--yellow:hover { background: #fff; }
.th-btn--blue { background: var(--th-blue); color: #fff; }
.th-btn--blue:hover { background: var(--th-navy); }
.th-btn--outline { border-color: var(--th-blue); color: var(--th-blue); background: transparent; }
.th-btn--outline:hover { background: var(--th-blue); color: #fff; }
.th-btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.th-btn--ghost:hover { border-color: var(--th-yellow); color: var(--th-yellow); }

/* ---------------- brochure */
.th-brochure { padding: 72px 0; background: linear-gradient(120deg, rgba(6,10,38,.94) 0%, rgba(0,47,110,.86) 100%), url('/background/engineered-slope-road.png') center/cover no-repeat; overflow: hidden; }
.th-brochure__card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 48px; padding: 48px 56px; border-radius: 28px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(6px); }
.th-brochure .th-h2 { color: #fff; margin-bottom: 28px; max-width: 620px; }
.th-brochure .th-eyebrow { color: var(--th-yellow); }
.th-brochure__media { position: relative; display: flex; justify-content: center; }
.th-brochure__media::before { content: ""; position: absolute; inset: 12% 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(2,133,254,.55), rgba(2,133,254,0)); filter: blur(10px); }
.th-brochure__media img { position: relative; width: 100%; max-width: 400px; height: auto; transform: rotate(-4deg); filter: drop-shadow(0 24px 40px rgba(0,0,0,.45)); transition: transform .4s ease; }
.th-brochure__card:hover .th-brochure__media img { transform: rotate(0deg) translateY(-6px); }

/* ---------------- about + history (existing carousel, restyled) */
.th-about { background: radial-gradient(900px 500px at 10% 0%, #E7F0FF 0%, rgba(231,240,255,0) 60%), radial-gradient(800px 500px at 100% 40%, #FFF7CC 0%, rgba(255,247,204,0) 55%), #fff !important; }
.th-about > .wrapper > p:first-child { font-size: 13px !important; letter-spacing: .14em; text-transform: uppercase; color: #0285FE; }
.th-about > .wrapper > h2 { font-size: clamp(30px, 3.4vw, 44px) !important; line-height: 1.15; margin-bottom: 14px; }
.th-about > .wrapper > p:nth-of-type(2) { font-size: 17px !important; line-height: 1.7; max-width: 860px; margin: 0 auto; color: #3A3F4E; }
.th-about [data-slot="carousel"] h3 { font-size: clamp(26px, 2.6vw, 34px) !important; }
.th-about [data-slot="carousel-item"] > div { background: #fff; border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(6,10,38,.25); border: 1px solid #E3E7EF; overflow: visible; padding: 28px; }
.th-about [data-slot="carousel-item"] img { border-radius: 18px; box-shadow: 12px 12px 0 0 #FBDA0C !important; }
.th-about [data-slot="carousel-item"] p { font-size: 17px !important; line-height: 1.7; color: #3A3F4E; }
.th-about [data-slot="carousel-previous"], .th-about [data-slot="carousel-next"] { background: #fff; }

/* ---------------- group of companies */
.th-group { padding: 88px 0; background: radial-gradient(700px 400px at 0% 0%, rgba(2,133,254,.25), rgba(2,133,254,0) 70%), linear-gradient(180deg, #060A26 0%, #0D1440 100%); }
.th-group__top { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: center; margin-bottom: 48px; }
.th-group__brand { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 28px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); padding: 36px; }
.th-group__brand img { width: auto; height: 100%; max-height: 150px; }
.th-group .th-eyebrow { color: var(--th-yellow); }
.th-group .th-h2 { color: #fff; }
.th-group .th-lead { color: #C3CCE4; }
.th-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.th-logo { display: flex; align-items: center; justify-content: center; height: 96px; padding: 18px 22px; border-radius: 16px; background: #fff; transition: transform .25s, box-shadow .25s; }
.th-logo img { max-width: 100%; height: auto; object-fit: contain; }
.th-logo:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -12px rgba(0,0,0,.5); }

/* ---------------- sustainability */
.th-sustain { padding: 110px 0; background: linear-gradient(90deg, rgba(6,10,38,.92) 0%, rgba(6,10,38,.72) 45%, rgba(6,10,38,.15) 100%), url('/background/forest.png') center/cover no-repeat; }
.th-sustain__card { max-width: 640px; }
.th-sustain .th-eyebrow { color: #7BE0A8; }
.th-sustain .th-h2 { color: #fff; }
.th-sustain .th-lead { color: #DCE3F2; }
.th-sustain__pts { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.th-sustain__pts li { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.4; }
.th-sustain__pts img { width: 36px; height: 36px; filter: brightness(0) invert(1); }

/* ---------------- sectors */
.th-sectors { padding: 96px 0; background: #fff; }
.th-sectors__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.th-sector { position: relative; height: 460px; border-radius: 24px; overflow: hidden; background: #0D1440; isolation: isolate; outline: none; }
.th-sector__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s ease; }
.th-sector::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,10,38,0) 30%, rgba(6,10,38,.92) 100%); transition: background .4s; }
.th-sector__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; color: #fff; }
.th-sector__num { display: block; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--th-yellow); margin-bottom: 8px; }
.th-sector__title { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 700; color: #fff; }
.th-sector__text { margin: 0; max-height: 0; opacity: 0; overflow: hidden; font-size: 15px; line-height: 1.6; color: #DCE3F2; transition: max-height .45s ease, opacity .35s ease, margin .35s ease; }
.th-sector__link { position: absolute; inset: 0; z-index: 2; }
.th-sector__link .th-ico { position: absolute; right: 22px; top: 22px; width: 44px; height: 44px; padding: 12px; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(6px); transition: background .25s, color .25s, transform .25s; }
.th-sector:hover .th-sector__img, .th-sector:focus-within .th-sector__img { transform: scale(1.07); }
.th-sector:hover::after, .th-sector:focus-within::after { background: linear-gradient(180deg, rgba(0,47,110,.25) 0%, rgba(6,10,38,.95) 75%); }
.th-sector:hover .th-sector__text, .th-sector:focus-within .th-sector__text { max-height: 160px; opacity: 1; margin-top: 10px; }
.th-sector:hover .th-sector__link .th-ico, .th-sector:focus-within .th-sector__link .th-ico { background: var(--th-yellow); color: var(--th-navy); transform: rotate(0deg) scale(1.05); }

/* ---------------- events (TRB, Geotechnical Frontiers) */
.th-events { padding: 96px 0; background: radial-gradient(800px 420px at 100% 0%, rgba(251,218,12,.18), rgba(251,218,12,0) 65%), radial-gradient(900px 500px at 0% 100%, rgba(2,133,254,.35), rgba(2,133,254,0) 65%), #060A26; }
.th-events__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.th-event { border-radius: 24px; overflow: hidden; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); transition: transform .3s, border-color .3s; }
.th-event:hover { transform: translateY(-4px); border-color: rgba(251,218,12,.5); }
.th-event__media { position: relative; aspect-ratio: 1730 / 785; background: #000; }
.th-event__media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.th-event__body { padding: 26px 28px 30px; color: #C3CCE4; }
.th-event__title { margin: 0 0 8px; font-size: clamp(22px, 2vw, 28px); line-height: 1.2; font-weight: 800; color: #fff; letter-spacing: .01em; }
.th-event__sub { margin: 0 0 12px; font-size: 15px; font-weight: 500; color: var(--th-yellow); }
.th-event__sub span { font-weight: 700; }
.th-event__body p { margin: 0; font-size: 16px; line-height: 1.65; }

/* poster videos with a play button */
.th-player { position: relative; }
.th-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; border: 0; padding: 0; cursor: pointer; background: linear-gradient(180deg, rgba(6,10,38,0) 40%, rgba(6,10,38,.55) 100%); color: #fff; font: inherit; font-size: 15px; font-weight: 700; }
.th-play svg { width: 64px; height: 64px; padding: 20px 18px 20px 22px; border-radius: 50%; background: var(--th-yellow); color: var(--th-navy); box-shadow: 0 0 0 10px rgba(251,218,12,.25); transition: transform .25s, box-shadow .25s; }
.th-play span { position: absolute; left: -9999px; }
.th-play:hover svg, .th-play:focus-visible svg { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(251,218,12,.2); }
.th-player.is-playing .th-play { display: none; }

/* ---------------- what makes Teico unique */
.th-unique { padding: 100px 0; background: radial-gradient(900px 500px at 50% 0%, rgba(2,133,254,.28), rgba(2,133,254,0) 65%), linear-gradient(180deg, #060A26, #0A1238); }
.th-unique__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.th-uq { border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.12); transition: border-color .3s, transform .3s; outline: none; }
.th-uq:hover, .th-uq:focus-visible { border-color: rgba(2,133,254,.7); transform: translateY(-4px); }
.th-uq__vis { background: radial-gradient(600px 300px at 50% 20%, #14205A, #0B1235); border-bottom: 1px solid rgba(255,255,255,.08); }
.th-uq__vis img { display: block; width: 100%; height: auto; aspect-ratio: 480 / 300; }
.th-uq__body { padding: 24px 28px 28px; }
.th-uq__titlerow { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.th-uq__icon { width: 44px; height: 44px; flex-shrink: 0; }
.th-uq h3 { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 700; color: #fff; }
.th-uq p { margin: 0; font-size: 16px; line-height: 1.65; color: #C3CCE4; }

/* ---------------- partners */
.th-partners { padding: 80px 0; background: var(--th-soft); }
.th-partners__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.th-partners__text .th-lead { margin-bottom: 26px; font-size: 16px; }
.th-partners__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.th-partner { display: flex; align-items: center; justify-content: center; height: 112px; padding: 20px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--th-line); transition: box-shadow .25s, transform .25s; }
.th-partner img { max-width: 100%; height: auto; object-fit: contain; }
.th-partner:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -18px rgba(6,10,38,.35); }

/* ---------------- services */
.th-services { padding: 96px 0; background: #fff; }
.th-services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.th-svc { position: relative; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--th-line); transition: transform .3s, box-shadow .3s, border-color .3s; }
.th-svc:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(6,10,38,.4); border-color: transparent; }
.th-svc__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--th-soft); }
.th-svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.th-svc:hover .th-svc__media img { transform: scale(1.06); }
.th-svc__num { position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(6,10,38,.75); color: var(--th-yellow); font-size: 13px; font-weight: 700; letter-spacing: .1em; backdrop-filter: blur(4px); }
.th-svc__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.th-svc h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.3; font-weight: 700; color: var(--th-ink); }
.th-svc p { margin: 0 0 18px; font-size: 15px; line-height: 1.65; color: var(--th-muted); }
.th-svc__link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--th-blue); text-decoration: none; }
.th-svc__link::after { content: ""; position: absolute; inset: 0; }
.th-svc:hover .th-svc__link .th-ico { transform: translate(3px, -3px); }

/* ---------------- spotlight + projects (existing components, light polish) */
.th-spot h2, .th-projects h2 { font-size: clamp(30px, 3.4vw, 44px) !important; line-height: 1.15 !important; }
.th-spot .wrapper > p:first-child, .th-projects .wrapper > p:first-child { font-size: 13px !important; letter-spacing: .14em; text-transform: uppercase; }
.th-spot { background: radial-gradient(900px 500px at 50% 0%, #1E2A66 0%, rgba(30,42,102,0) 70%), #0B1030 !important; }

.th-spot .wrapper > p:last-child, .th-projects .wrapper > p:last-child { font-size: 17px !important; line-height: 1.7 !important; max-width: 860px; margin-left: auto; margin-right: auto; }

/* ---------------- Construck + Project Suite */
.th-construck { padding: 96px 0 104px; background: radial-gradient(900px 520px at 100% 0%, rgba(251,218,12,.14), rgba(251,218,12,0) 60%), radial-gradient(1000px 600px at 0% 100%, rgba(2,133,254,.3), rgba(2,133,254,0) 60%), #060A26; color: #C3CCE4; }
.th-cs__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 72px; }
.th-cs__card { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 34px 36px; border-radius: 24px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.th-cs__card h3 { margin: 0; font-size: 24px; line-height: 1.25; font-weight: 700; color: #fff; }
.th-cs__card p { margin: 0 0 6px; font-size: 16px; line-height: 1.7; }
.th-cs__card p a { color: var(--th-yellow); font-weight: 600; }
.th-cs__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: auto; }
.th-cs__logo { display: inline-flex; align-items: center; height: 48px; padding: 8px 16px; border-radius: 12px; background: #fff; }
.th-cs__logo img { height: 34px; width: auto; }
.th-suite { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; padding-top: 64px; border-top: 1px solid rgba(255,255,255,.1); }
.th-suite .th-eyebrow { color: var(--th-yellow); }
.th-suite .th-h2 { color: #fff; }
.th-suite .th-lead { color: #C3CCE4; font-size: 16px; }
.th-steps { list-style: none; margin: 28px 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; counter-reset: s; }
.th-steps li { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 14px 16px; border-radius: 14px; background: rgba(2,133,254,.12); border: 1px solid rgba(2,133,254,.35); }
.th-steps li:not(:last-child)::after { content: ""; position: absolute; right: -9px; top: 50%; width: 8px; height: 2px; background: var(--th-yellow); }
.th-step__n { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--th-yellow); }
.th-steps strong { font-size: 16px; color: #fff; }
.th-step__t { font-size: 13px; line-height: 1.45; color: #AEB9D8; }
.th-bens { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.th-bens li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.6; }
.th-bens li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #39C27A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.th-bens strong { display: block; color: #fff; font-size: 16px; }
.th-video { position: relative; border-radius: 22px; overflow: hidden; background: #000; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); aspect-ratio: 16 / 9; }
.th-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.th-video__cap { margin: 14px 0 22px; font-size: 14px; color: #AEB9D8; }
.th-suite__note { margin: 18px 0 0; font-size: 14px; color: #AEB9D8; }

/* ---------------- responsive */
@media (max-width: 1100px) {
  .th-sectors__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .th-sector { height: 380px; }
  .th-services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .th-suite { grid-template-columns: 1fr; }
  .th-partners__in { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .th-wrap { padding: 0 20px; }
  .th-split { flex-direction: column; align-items: flex-start; }
  .th-brochure__card { grid-template-columns: 1fr; padding: 32px 26px; gap: 28px; }
  .th-brochure__media img { max-width: 300px; }
  .th-group__top { grid-template-columns: 1fr; gap: 24px; }
  .th-group__brand { width: 140px; padding: 24px; border-radius: 20px; }
  .th-events__grid, .th-unique__grid, .th-cs__cards { grid-template-columns: 1fr; }
  .th-sustain__pts { grid-template-columns: 1fr; }
  .th-sustain__pts li { flex-direction: row; align-items: center; }
  .th-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .th-steps li:not(:last-child)::after { display: none; }
}
@media (max-width: 640px) {
  .th-wrap { padding: 0 16px; }
  .th-brochure, .th-group, .th-sectors, .th-events, .th-unique, .th-partners, .th-services, .th-construck { padding: 60px 0; }
  .th-sustain { padding: 72px 0; }
  .th-lead { font-size: 16px; }
  .th-sectors__grid, .th-services__grid { grid-template-columns: 1fr; }
  .th-sector { height: 320px; }
  .th-sector__text { max-height: 160px; opacity: 1; margin-top: 8px; }
  .th-partners__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .th-partner { height: 92px; }
  .th-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .th-logo { height: 80px; padding: 14px; }
  .th-bens { grid-template-columns: 1fr; }
  .th-cs__card { padding: 26px 22px; }
  .th-about [data-slot="carousel-item"] > div { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .th *, .th *::before, .th *::after { transition: none !important; }
}

/* About Us: the quote block kept under Trusted Partners */
.th-partners > .wrapper { margin-top: 44px; }
.th-partners > .wrapper > div { border-color: #E3E7EF !important; background: #fff; border-radius: 24px !important; }
.th-partners > .wrapper p { font-size: 20px !important; line-height: 1.65 !important; color: #3A3F4E !important; }
.th-partners > .wrapper img { border-radius: 18px; }
@media (max-width: 640px) { .th-partners > .wrapper p { font-size: 17px !important; } }
