/**
 * Trojantechno x SDC — partnership homepage & components (v1.5.0)
 */

html {
  overflow-x: clip;
}

body {
  overflow-x: clip;
}

/* Typography helpers */
.tt-eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-highlight, #1a7a62);
  margin: 0 0 0.5rem;
}

.tt-eyebrow--light {
  color: rgba(255, 255, 255, 0.88);
}

.tt-h2 {
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.75rem;
  color: var(--navy, #0f2744);
}

.tt-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted, #4a5568);
  margin: 0;
  max-width: 42rem;
}

.tt-section-head {
  margin-bottom: 2rem;
}

.tt-section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
}

/* Hero — full-bleed under fixed header; no letterbox gaps */
body.home main {
  padding-top: 0;
}

.tt-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  overflow: hidden;
  background: var(--navy, #0f2744);
  /* Fill the screen; photo sits under the fixed header (no white strip). */
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100svh;
  width: 100%;
  margin: 0;
  padding: 0;
}

.tt-hero__media,
.tt-hero__shade {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}

.tt-hero__media {
  z-index: 0;
  overflow: hidden;
  background: var(--navy, #0f2744);
}

.tt-hero__poster,
.tt-hero__video {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: scale(1.02);
  transform-origin: center center;
}

.tt-hero__poster {
  z-index: 0;
}

.tt-hero__video {
  z-index: 1;
}

.tt-hero__slide {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

.tt-hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}

/* Absolute fill beats global `img { height: auto }` letterboxing. */
.tt-hero__media img.tt-hero__img,
.tt-hero__slide .tt-hero__img {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: scale(1.02);
  transform-origin: center center;
}

.tt-hero__shade {
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(15, 39, 68, 0.28) 0%,
    rgba(15, 39, 68, 0.45) 42%,
    rgba(15, 39, 68, 0.72) 100%
  );
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .tt-hero__video {
    display: none !important;
  }

  .tt-hero__poster {
    z-index: 1;
  }
}

.tt-hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  box-sizing: border-box;
  /* Clear fixed header; keep content vertically centered in remaining space */
  padding: calc(var(--header-height-mobile, 64px) + 1.25rem) 1.75rem 4rem;
}

@media (min-width: 992px) {
  .tt-hero__inner {
    padding-top: calc(var(--header-height, 88px) + 2rem);
    padding-inline: 2rem;
    padding-bottom: 4.5rem;
  }
}

.tt-hero__inner .tt-eyebrow,
.tt-hero__title,
.tt-hero__text {
  max-width: min(40rem, 100%);
  width: 100%;
  padding-inline: 0.5rem;
  box-sizing: border-box;
}

.tt-hero__inner .tt-lockup {
  margin-bottom: 1.5rem;
}

.tt-hero__title {
  font-size: clamp(1.65rem, 5.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 1rem;
}

.tt-hero__text {
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 1.5rem;
  opacity: 0.95;
}

.tt-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 0;
}

.tt-hero__scroll {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  width: max-content;
  max-width: calc(100% - 2rem);
  margin: 0;
  padding: 0.55rem 1.15rem 0.65rem;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: rgba(15, 39, 68, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  /* Physical centering + nudge (avoids transform fight with chevron) */
  translate: -50% 0;
  animation: tt-hero-scroll-nudge 1.8s ease-in-out infinite;
}

.tt-hero__scroll:hover,
.tt-hero__scroll:focus-visible {
  color: #fff;
  background: rgba(15, 39, 68, 0.72);
  border-color: rgba(255, 255, 255, 0.7);
}

.tt-hero__scroll-chevron {
  display: block;
  width: 0.7rem;
  height: 0.7rem;
  /* Physical borders so rotate(45deg) points down in RTL and LTR */
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -0.15rem;
  animation: tt-hero-scroll-chevron 1.8s ease-in-out infinite;
}

@keyframes tt-hero-scroll-nudge {
  0%,
  100% {
    translate: -50% 0;
    opacity: 1;
  }
  50% {
    translate: -50% 7px;
    opacity: 0.82;
  }
}

@keyframes tt-hero-scroll-chevron {
  0%,
  100% {
    transform: rotate(45deg) translateY(0);
  }
  50% {
    transform: rotate(45deg) translateY(3px);
  }
}

.tt-btn-lg {
  min-height: 44px;
  padding: 0.75rem 1.35rem;
}

.tt-btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  background: transparent;
}

.tt-btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .tt-hero__slide {
    transition: none;
  }

  .tt-hero__media img.tt-hero__img,
  .tt-hero__slide .tt-hero__img,
  .tt-hero__poster,
  .tt-hero__video {
    transform: none;
  }

  .tt-hero__scroll {
    animation: none;
  }

  .tt-hero__scroll-chevron {
    animation: none;
  }
}

/* Logo lockup */
.tt-lockup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.25rem;
}

.tt-lockup__sep {
  width: 1px;
  height: 3.25rem;
  background: rgba(255, 255, 255, 0.35);
}

.tt-lockup--light .tt-lockup__sep {
  background: rgba(15, 39, 68, 0.2);
}

.tt-lockup__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.tt-lockup__sdc-mark,
.tt-lockup__tt-mark {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 7.25rem;
  height: 7.25rem;
  padding: 0.55rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* Brand plate matched to --navy — tile just clips corners */
.tt-lockup__tt-mark {
  background: #0f2744;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0;
  overflow: hidden;
}

.tt-lockup__logo--tt,
.tt-lockup__logo--sdc {
  display: block;
  width: auto;
  height: auto;
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.tt-lockup__logo--tt {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tt-lockup--light .tt-lockup__sdc-mark,
.tt-lockup--light .tt-lockup__tt-mark {
  width: 7.25rem;
  height: 7.25rem;
  box-shadow: 0 4px 14px rgba(15, 39, 68, 0.08);
  padding: 0.55rem;
}

.tt-lockup--light .tt-lockup__sdc-mark {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(15, 39, 68, 0.08);
}

.tt-lockup--light .tt-lockup__tt-mark {
  /* Full brand mark already ships on navy — keep pad matched */
  background: #0f2744;
  border: 1px solid rgba(15, 39, 68, 0.18);
  padding: 0;
  overflow: hidden;
}

.tt-lockup--light .tt-lockup__logo--tt,
.tt-lockup--light .tt-lockup__logo--sdc {
  max-width: 7.25rem;
  max-height: 7.25rem;
}

@media (min-width: 768px) {
  .tt-lockup__sdc-mark,
  .tt-lockup__tt-mark {
    width: 8rem;
    height: 8rem;
  }

  .tt-lockup--light .tt-lockup__logo--tt,
  .tt-lockup--light .tt-lockup__logo--sdc {
    max-width: 8rem;
    max-height: 8rem;
  }
}

.tt-lockup__role {
  font-size: 0.8rem;
  opacity: 0.9;
  text-align: center;
}

/* Sectors */
.tt-sectors__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .tt-sectors__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tt-sector--wide {
    grid-column: 1 / -1;
  }
}

.tt-sector__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  background: var(--bg-card, #fff);
  box-shadow: 0 4px 24px rgba(15, 39, 68, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tt-sector__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(15, 39, 68, 0.12);
}

.tt-sector__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.tt-sector__media img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.tt-sector--wide .tt-sector__media {
  aspect-ratio: 21 / 9;
}

.tt-sector__body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.tt-sector__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.tt-sector__tagline {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted, #4a5568);
}

.tt-sector__points {
  margin: 0;
  padding: 0 1.1rem 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.tt-sector__more {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
  color: var(--accent-highlight, #1a7a62);
}

/* Collaboration */
.tt-collab__unified {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.5rem 1.35rem;
  background: #fff;
  border-radius: var(--radius-lg, 12px);
  box-shadow: 0 2px 16px rgba(15, 39, 68, 0.06);
}

.tt-collab__lockup {
  width: 100%;
  display: flex;
  justify-content: center;
}

.tt-collab__points {
  margin: 0;
  padding: 0 1.1rem 0 0;
  line-height: 1.7;
  width: 100%;
}

.tt-collab__grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .tt-collab__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.tt-role {
  background: #fff;
  border-radius: var(--radius-lg, 12px);
  padding: 1.35rem;
  box-shadow: 0 2px 16px rgba(15, 39, 68, 0.06);
}

.tt-role__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.tt-role__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.tt-role__sub {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted, #4a5568);
}

.tt-role__list {
  margin: 0;
  padding: 0 1.1rem 0 0;
  line-height: 1.65;
  font-size: 0.95rem;
}

.tt-collab__note {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted, #4a5568);
}

/* Gallery */
.tt-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tt-filter__btn {
  min-height: 44px;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 39, 68, 0.15);
  background: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

.tt-filter__btn.is-active {
  background: var(--navy, #0f2744);
  color: #fff;
  border-color: var(--navy, #0f2744);
}

.tt-gallery__group-title {
  font-size: 1.15rem;
  margin: 0 0 1rem;
}

.tt-gallery__grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .tt-gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tt-gallery__item {
  position: relative;
  display: block;
  border-radius: var(--radius-md, 8px);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.tt-gallery__item--feature {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.tt-gallery__item img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  transition: transform 0.35s ease;
}

.tt-gallery__item:hover img {
  transform: scale(1.03);
}

.tt-gallery__credit,
.tt-gallery__tag {
  position: absolute;
  font-size: 0.72rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(15, 39, 68, 0.75);
  color: #fff;
}

.tt-gallery__credit {
  inset-inline-start: 0.5rem;
  bottom: 0.5rem;
}

.tt-gallery__tag {
  top: 0.5rem;
  inset-inline-end: 0.5rem;
  background: var(--accent-highlight, #1a7a62);
}

.tt-gallery__badge img {
  max-width: 120px;
  height: auto;
}

/* Lightbox */
.tt-lightbox {
  padding: 0;
  border: none;
  max-width: min(96vw, 1100px);
  width: 100%;
  background: rgba(15, 39, 68, 0.96);
  color: #fff;
}

.tt-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.75);
}

html.tt-lb-open {
  overflow: hidden;
}

.tt-lightbox__figure {
  margin: 0;
  padding: 3rem 2.5rem 1.5rem;
}

.tt-lightbox__img {
  max-width: 100%;
  max-height: min(75vh, 800px);
  width: auto;
  height: auto;
  margin: 0 auto;
  display: block;
}

.tt-lightbox__caption {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 0.75rem;
  opacity: 0.9;
}

.tt-lightbox__close,
.tt-lightbox__nav {
  position: absolute;
  min-width: 44px;
  min-height: 44px;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 8px;
}

.tt-lightbox__close {
  top: 0.75rem;
  inset-inline-end: 0.75rem;
}

.tt-lightbox__nav--prev {
  top: 50%;
  inset-inline-start: 0.5rem;
  transform: translateY(-50%);
}

.tt-lightbox__nav--next {
  top: 50%;
  inset-inline-end: 0.5rem;
  transform: translateY(-50%);
}

/* Clients */
.tt-clients__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .tt-clients__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.tt-clients__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  background: #fff;
  border-radius: 8px;
  min-height: 72px;
}

.tt-clients__item--featured {
  min-height: 110px;
  padding: 1rem 0.85rem;
  box-shadow: 0 8px 22px rgba(15, 39, 68, 0.08);
}

@media (min-width: 640px) {
  .tt-clients__item--featured {
    min-height: 128px;
  }
}

.tt-clients__item img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.tt-clients__item--featured img {
  max-height: 88px;
}

@media (min-width: 640px) {
  .tt-clients__item--featured img {
    max-height: 104px;
  }
}

.tt-clients__list {
  margin-top: 1.25rem;
  font-size: 0.95rem;
}

.tt-clients__note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted, #4a5568);
}

.catalog-hero-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
}

/* Tech services */
.tt-tech__grid {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .tt-tech__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .tt-tech__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tt-tech__card {
  background: #fff;
  border-radius: var(--radius-lg, 12px);
  padding: 1.25rem;
  box-shadow: 0 2px 12px rgba(15, 39, 68, 0.06);
}

.tt-tech__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0.5rem 0 0.35rem;
}

.tt-tech__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted, #4a5568);
}

.tt-tech__more {
  margin-top: 1.25rem;
  font-size: 0.95rem;
}

/* Process steps */
.tt-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .tt-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tt-step {
  display: flex;
  gap: 1rem;
  background: #fff;
  border-radius: var(--radius-lg, 12px);
  padding: 1.15rem;
  box-shadow: 0 2px 12px rgba(15, 39, 68, 0.05);
}

.tt-step__num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--navy, #0f2744);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.tt-step__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.tt-step__text {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
  line-height: 1.6;
}

.tt-step__who {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-highlight, #1a7a62);
}

/* Own works */
.tt-own__grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .tt-own__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tt-own__item {
  position: relative;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.tt-own__item img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
}

/* Project request form — modern card */
.tt-request {
  background: linear-gradient(180deg, rgba(26, 122, 98, 0.06) 0%, rgba(15, 39, 68, 0.03) 48%, transparent 100%);
}

.tt-request__shell {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 39, 68, 0.08);
  box-shadow:
    0 24px 48px rgba(15, 39, 68, 0.08),
    0 2px 8px rgba(15, 39, 68, 0.04);
  background: #fff;
}

.tt-request__layout {
  gap: 0;
}

@media (min-width: 992px) {
  .tt-request__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.45fr);
    align-items: stretch;
  }

  /* RTL: column 1 = right (contact), column 2 = left (form). */
  .tt-request__aside {
    order: 1;
  }

  .tt-form--modern {
    order: 2;
  }
}

.tt-request__aside {
  padding: 1.75rem 1.5rem;
  background: linear-gradient(165deg, #0f2744 0%, #163a5c 55%, #1a4a6e 100%);
  color: rgba(255, 255, 255, 0.92);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tt-request__aside-kicker {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(79, 195, 247, 0.95);
}

.tt-request__aside .tt-info__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

.tt-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.tt-contact-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.tt-contact-list__icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  font-size: 1rem;
}

.tt-contact-list__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.92rem;
  line-height: 1.55;
}

.tt-contact-list__body strong {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.85;
}

.tt-contact-list__body a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tt-request__wa {
  margin-top: auto;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.tt-request__wa:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.tt-form--modern {
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 1.75rem 1.5rem 2rem;
  background: #fff;
}

@media (min-width: 992px) {
  .tt-form--modern {
    padding: 2rem 2.25rem 2.25rem;
  }
}

.tt-form--modern .form-group {
  margin-bottom: 0;
}

.tt-form--modern .form-group label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy, #0f2744);
  margin-bottom: 0.4rem;
}

.tt-form--modern .form-group input,
.tt-form--modern .form-group textarea,
.tt-form--modern .form-group select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 39, 68, 0.12);
  background: #f8fafc;
  color: var(--text-main, #1a202c);
  font-family: inherit;
  font-size: 0.95rem;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.tt-form--modern .form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230f2744' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 0.85rem center;
  padding-inline-start: 0.85rem;
  padding-inline-end: 2rem;
}

.tt-form--modern .form-group input:hover,
.tt-form--modern .form-group textarea:hover,
.tt-form--modern .form-group select:hover {
  border-color: rgba(26, 122, 98, 0.35);
}

.tt-form--modern .form-group input:focus,
.tt-form--modern .form-group textarea:focus,
.tt-form--modern .form-group select:focus {
  outline: none;
  border-color: var(--accent-highlight, #1a7a62);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26, 122, 98, 0.18);
}

.tt-form__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .tt-form__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tt-form__full {
  grid-column: 1 / -1;
}

.tt-req {
  color: #c0392b;
}

.tt-form__hint {
  font-size: 0.85rem;
  color: var(--text-muted, #4a5568);
  margin: 0.35rem 0 0;
}

.tt-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.tt-form__status {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.5;
}

.contact-form-message.is-success,
.tt-form__status.is-success {
  color: #065f46;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.contact-form-message.is-error,
.tt-form__status.is-error {
  color: #991b1b;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.28);
}

.tt-file-drop {
  position: relative;
  border: 1.5px dashed rgba(15, 39, 68, 0.2);
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.tt-file-drop.is-dragover {
  border-color: var(--accent-highlight, #1a7a62);
  background: rgba(26, 122, 98, 0.06);
  box-shadow: 0 0 0 3px rgba(26, 122, 98, 0.12);
}

.tt-file-drop__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tt-file-drop__inner {
  position: relative;
  z-index: 1;
  padding: 1.25rem 1rem;
  text-align: center;
  pointer-events: none;
}

.tt-file-drop__btn {
  pointer-events: auto;
  margin-top: 0.5rem;
}

.tt-file-drop__icon {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 39, 68, 0.1);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.tt-file-drop__title {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy, #0f2744);
}

.tt-file-drop__list {
  list-style: none;
  margin: 0;
  padding: 0 1rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted, #4a5568);
}

.tt-file-drop__list li {
  padding: 0.35rem 0;
  border-top: 1px solid rgba(15, 39, 68, 0.08);
}

.tt-form__actions {
  margin-top: 1.25rem;
  grid-column: 1 / -1;
}

.tt-form__submit {
  min-height: 3rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(15, 39, 68, 0.18);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease;
}

.tt-form__submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 39, 68, 0.22);
}

.tt-form__submit.is-loading {
  opacity: 0.88;
  cursor: wait;
}

.tt-form__alt {
  text-align: center;
  margin-top: 0.85rem;
}

.tt-form__fallback {
  margin: 0.75rem 0;
}

.tt-form__alt {
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.tt-figcredit {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted, #4a5568);
  margin-top: 0.35rem;
}

.tt-figcredit--overlay {
  position: absolute;
  bottom: 0.5rem;
  inset-inline-start: 0.5rem;
  margin: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.service-block-media {
  position: relative;
}

/* CTA band */
.tt-cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 2rem;
  background: var(--navy, #0f2744);
  color: #fff;
  border-radius: var(--radius-lg, 12px);
}

.tt-cta-band__inner .tt-h2,
.tt-cta-band__inner .tt-lead {
  color: inherit;
}

.tt-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Footer partner role */
.footer-partner-role {
  display: block;
  font-size: 0.75rem;
  opacity: 0.85;
}

@media (max-width: 360px) {
  .tt-hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .tt-filter__btn {
    font-size: 0.82rem;
    padding-inline: 0.65rem;
  }
}
