﻿/* root */
:root {
  --blue: #001c38;
  --blue-mid: #003a66;
  --blue-light: #005a99;
  --red: #A80000;
  --red-hover: #7a0000;
  --white: #ffffff;
  --text-dark: #000000;
  --text-muted: #000000;
  --font: 'Montserrat', sans-serif;
  --header-h: 70px;
}

/* html */
html {
  scroll-behavior: smooth;
}

/* body */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--font);
  color: var(--text-dark);
  background: #fff;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  background: transparent;
  box-shadow: none;
  transition: background 0.35s cubic-bezier(.4, 0, .2, 1), box-shadow 0.35s cubic-bezier(.4, 0, .2, 1);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header.scrolled {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.header .inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 58px;
  width: auto;
  transition: height 0.35s cubic-bezier(.4, 0, .2, 1);
}

.header.scrolled .logo img {
  height: 44px;
}

/* Desktop nav */
.nav-desktop ul {
  display: flex;
  gap: 2.25rem;
}

.nav-desktop a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  padding-bottom: 3px;
  transition: color 0.25s;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--red);
  transition: width 0.3s ease;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--red);
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
.nav-mobile {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
  z-index: 999;
  padding: 1rem 2rem 1.5rem;
  transform: translateY(-105%);
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(.4, 0, .2, 1), visibility 0.35s;
}

.nav-mobile.open {
  transform: translateY(0);
  visibility: visible;
}

.nav-mobile ul {
  display: flex;
  flex-direction: column;
}

.nav-mobile a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  border-bottom: 1px solid #f0f0f0;
  transition: color 0.2s;
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--red);
}

/* HERO */
.hero {
  padding-top: var(--header-h);
  background: #fff;
  position: relative;
  overflow: hidden;        
}

/* Abstract wave*/
.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
  opacity: 0.5;
}

/* Static text block */
.hero-text {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem clamp(2rem, 4vw, 3rem);
  max-width: 760px;
  margin: 0 auto;
}

.hero-text h1 {
  font-size: clamp(2rem, 4.8vw, 3.25rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--blue);
  margin-bottom: 1rem;
  letter-spacing: -0.3px;
}

.hero-text h1 .red {
  color: var(--red);
}

.hero-text p {
  font-size: clamp(0.9rem, 1.8vw, 1.0625rem);
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.65;
  margin-bottom: 2rem;
}

/* CTA row */
.hero-btns {
  display: flex;
  gap: 0.875rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-start {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--red);
  color: #fff;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  border: 2px solid var(--red);
  transition: background 0.25s, border-color 0.25s;
}

.btn-start:hover,
.btn-start:focus-visible {
  background: var(--red-hover);
  border-color: var(--red-hover);
  color: #fff;
  outline: none;
}

.btn-ct {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  color: var(--blue);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  border: 2px solid var(--blue);
  transition: background 0.25s, color 0.25s;
}

.btn-ct:hover,
.btn-ct:focus-visible {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  outline: none;
}

/* CAROUSEL */
.carousel-wrap {
  position: relative;
  z-index: 1;
  padding: 0 1.5rem 3rem;
}

.carousel {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  /* Figma: 1759 × 600 */
  aspect-ratio: 1759 / 600;
  background: var(--blue);
}

/* Slides */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.75s ease;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Gradient overlay — exact Figma values */
.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(101deg,
      rgba(0, 28, 56, 0.70) 19.19%,
      rgba(0, 58, 102, 0.40) 33.82%,
      rgba(0, 90, 153, 0.00) 42.44%);
}

/* Caption */
.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: clamp(1rem, 3vw, 2.25rem) clamp(1.25rem, 4vw, 2.75rem);
  max-width: min(440px, 58%);
}

.slide-caption h2 {
  font-size: clamp(1rem, 2.6vw, 1.75rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.slide-caption p {
  font-size: clamp(0.72rem, 1.4vw, 0.9375rem);
  color: rgba(255, 255, 255, 0.87);
  line-height: 1.6;
  font-weight: 400;
}

/* Arrow */
.arrow-btn {
  position: absolute;
  right: clamp(0.75rem, 2.5vw, 1.5rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: var(--red);
  border: none;
  color: #fff;
  width: clamp(36px, 5vw, 52px);
  height: clamp(36px, 5vw, 52px);
  border-radius: 50%;
  font-size: clamp(0.95rem, 2vw, 1.35rem);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(168, 0, 0, 0.38);
  transition: background 0.25s, transform 0.25s;
}

.arrow-btn:hover,
.arrow-btn:focus-visible {
  background: var(--red-hover);
  transform: translateY(-50%) scale(1.09);
  outline: 3px solid rgba(168, 0, 0, 0.28);
  outline-offset: 2px;
}

/* Dots */
.dots {
  position: absolute;
  bottom: clamp(0.6rem, 2vw, 1.1rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 7px;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}

.dot.active {
  background: #fff;
  transform: scale(1.3);
}

.dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* ABOUT SECTION */
.container-about {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 3.5rem;
}

/* ── Section wrapper ── */
.about {
  background: #F9F9F9;
  overflow: hidden;
  position: relative;
}

/* Abstract background image — upper right */
.about-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.about-bg img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  opacity: 0.10;
}

/* Ensure content sits above the background */
.about-header,
.about-row1,
.about-gv {
  position: relative;
  z-index: 1;
}

/* ── Section title ── */
.section-header,
.about-header {
  text-align: center;
  padding: 5rem 1.5rem 3rem;
}

.section-title,
.about-header h2 {
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.section-title .red,
.about-header h2 .red {
  color: var(--red);
}

.section-divider,
.about-divider {
  width: 48px;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
  margin: 0 auto;
}

/* ── Row 1: badge/text + cards ── */
.about-row1 {
  padding: 0 0 4rem;
}

/* Left column */
.about-left {
  flex: 0 0 300px;
  max-width: 300px;
}

.about-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1.5px solid var(--blue);
  border-radius: 4px;
  padding: 0.3rem 0.65rem;
  margin-bottom: 3rem;
}

.about-left h3 {
  font-size: clamp(1.375rem, 2.8vw, 1.875rem);
  font-weight: 500;
  color: var(--blue);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.about-left p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  padding-bottom: 3rem;
}

/* 2×2 cards grid */
.about-cards {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.about-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem 1.375rem;
  box-shadow: 0 2px 14px rgba(0, 28, 56, 0.055);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  padding-bottom: 3rem;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 28, 56, 0.1);
}

.about-card-icon {
  margin-bottom: 0.875rem;
}

.about-card-icon i {
  font-size: 1.75rem;
  color: var(--red);
  display: block !important;
  visibility: visible !important;
}

.about-card h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.about-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ── Goal & Values grid ── */
.about-gv {
  padding: 0 2rem 5rem;
}

.container-about-gv {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;       
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3.5rem;
}

/* Each column stacks its children vertically */
.about-gv-left,
.about-gv-right {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  min-width: 0;           
}

/* Image wrap */
.about-img-wrap {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(0, 28, 56, 0.1);
  flex-shrink: 0;
}

.about-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* Goal & Values text — ONE clean definition, no duplicates */
.about-goal-text,
.about-values-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.about-goal-text h3,
.about-values-text h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.about-goal-text p,
.about-values-text p {
  font-size: clamp(0.875rem, 1.5vw, 0.9375rem);
  color: var(--text-muted);
  line-height: 1.8;
}

/* MEET THE TEAM */
.team {
  position: relative;
  overflow: hidden;
  background: radial-gradient(50% 50% at 50% 50%,
    rgba(180, 17, 13, 0.95) 0%,
    rgba(124, 16, 19, 0.95) 98.56%);
  padding: 3rem 1.5rem 1rem;
}

/* White grid */
.team-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.team-grid-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.08;
}

/* Header */
.team-header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 1.75rem;
}

.team-header h2 {
  font-size: clamp(1.2rem, 2.8vw, 1.875rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.9rem;
}

.team-divider {
  width: 48px;
  height: 4px;
  background: #fff;
  border-radius: 2px;
  margin: 0 auto 0.875rem;
}

.team-subheader {
  font-size: clamp(0.75rem, 1.5vw, 0.9375rem);
  font-weight: 400;
  color: #fff;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Deck wrapper ── */
.team-deck-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0.5rem 0 2.15rem;
  gap: 2rem;
}

/* Arrows — vertically centered to deck */
.team-arrow {
  flex-shrink: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.5rem);
  cursor: pointer;
  padding: 0.5rem 0.6rem;
  transition: opacity 0.2s;
  z-index: 10;
  line-height: 1;
  align-self: center;
}

.team-arrow:hover,
.team-arrow:focus-visible {
  opacity: 0.6;
  outline: none;
}

/* ── Deck stage ── */
.team-deck {
  position: relative;
  flex: 1;
  max-width: 780px;
  height: clamp(380px, 44vw, 500px); 
  overflow: visible;
}

/* ── Base card ── */
.team-card {
  position: absolute;
  top: 0;
  left: 50%;
  background: #fff;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
  height: auto;
  max-height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1),
              opacity   0.5s cubic-bezier(.4,0,.2,1),
              box-shadow 0.5s ease;
  will-change: transform, opacity;
}

/* ── ACTIVE card ── */
.team-card.tc-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 5;
  width: 42%;             
  transform: translateX(-50%) rotate(0deg) scale(1);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45),
              0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ── PEEK LEFT ── */
.team-card.tc-peek1 {
  opacity: 1;
  pointer-events: none;
  z-index: 3;
  width: 42%;             
  transform: translateX(-108%) rotate(-4deg) scale(0.78);
  transform-origin: center center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  filter: brightness(0.72);
  overflow: hidden;
}

/* ── PEEK RIGHT ── */
.team-card.tc-peek2 {
  opacity: 1;
  pointer-events: none;
  z-index: 3;
  width: 42%;              
  transform: translateX(8%) rotate(4deg) scale(0.78);
  transform-origin: center center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  filter: brightness(0.72);
  overflow: hidden;
}

/* ── Hidden card ── */
.team-card.tc-peek3 {
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  width: 42%;              /* same width */
  transform: translateX(-50%) scale(0.92);
}

/* ── Card image — padded, not edge-to-edge ── */
.team-card-img {
  flex: 0 0 56%;
  width: 100%;
  overflow: hidden;
  /* padding creates space around photo */
  padding: 0.75rem 0.75rem 0;
  box-sizing: border-box;
}

.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 14px;  
}

/* ── Card body ── */
.team-card-body {
  flex: 0 0 auto;
  padding: 0.75rem 1.15rem 1.45rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  background: #fff;
  min-height: 0;
}

.team-card-quote-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.25rem;
}

/* Faded quote mark */
.team-card-quote-bg {
  position: absolute;
  right: 0.7rem;
  top: 21%;
  transform: translateY(-50%);
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  color: rgba(120, 128, 138, 0.16);
  line-height: 0.8;
  pointer-events: none;
  user-select: none;
  display: block;
  z-index: 0;
}

.team-card-name {
  font-size: clamp(0.9rem, 1.8vw, 1.2rem);
  font-weight: 700;
  color: #001c38;
  margin-top: 0.1rem;
  margin-bottom: 0.2rem;
  position: relative;
  z-index: 1;
}

.team-card-position {
font-size: clamp(0.75rem, 1.35vw, 1rem);
  font-weight: 400;
  color: black;
  margin-bottom: 0.7rem;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.team-card-quote {
  font-size: clamp(0.68rem, 1.2vw, 0.9rem);
  font-weight: 400;
  color: black;
  line-height: 1.35;
  position: relative;
  z-index: 1;
}

/* ── Dots ── */
.team-dots {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 0;
}

.team-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D9D9D9;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}

.team-dot.active {
  background: #fff;
  transform: scale(1.25);
}

.team-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* PRODUCTS SECTION */
.products {
  position: relative;
  background: #fff;
  overflow: hidden;
  padding: 0 0 5rem;
}

.products::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 45%;
  background: url("../assets/images/hero/abstract-3.png") lightgray 50% / cover no-repeat;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

.products-header {
  position: relative;
  z-index: 1;
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.products-showcase {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0 auto;
  max-width: 1100px;
  padding: 0 2rem;
}

.products-media {
  position: relative;
  margin: 0;
  background: #b4b4b4;
  border-radius: 12px;
  overflow: hidden;
}

.products-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  background: #b4b4b4;
}

.products-caption {
  position: absolute;
  right: 0.75rem;
  bottom: 0.45rem;
  margin: 0;
  font-size: clamp(0.45rem, 0.8vw, 0.62rem);
  color: rgba(255, 255, 255, 0.85);
  text-align: right;
}

.products-caption a {
  color: #f58a8a;
}

.products-tabs {
  margin-top: 3.35rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
}

.products-tab {
  position: relative;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-align: left;
  transition: transform 0.22s ease;
}

.products-tab:focus-visible {
  outline: 2px solid #A80000;
  outline-offset: 3px;
}

.products-tab-media {
  display: block;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
}

.products-tab-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

/* Label — bottom-left, stacked, muted by default */
.products-tab-label {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  right: 2.6rem;
  display: block;
  z-index: 2;
  color: #B8B8B8;
  font-family: var(--font);
  font-size: clamp(0.82rem, 1.05vw, 1.05rem);
  font-weight: 700;
  font-style: normal;
  line-height: 1.25;
  text-align: left;
  overflow-wrap: anywhere;
}

.products-tab-label--digital {
  overflow-wrap: normal;
  word-break: normal;
}

/* Arrow circle — bottom-right corner, moderate size */
.products-tab-arrow {
  position: absolute;
  right: 0.45rem;
  bottom: 0.45rem;
  width: clamp(32px, 3vw, 40px);
  height: clamp(32px, 3vw, 40px);
  border-radius: 50%;
  border: none;
  background: #C46A6A;
  color: #B8B8B8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(0.8rem, 1.1vw, 1.05rem);
  z-index: 3;
  padding: 0;
  transition: background 0.2s, color 0.2s;
}

/* Active tab */
.products-tab.is-active .products-tab-arrow {
  background: #A80000;
  color: #fff;
}

.products-tab.is-active .products-tab-label {
  color: #fff;
}

/* Hover */
.products-tab:hover .products-tab-arrow {
  background: #A80000;
  color: #fff;
}

.products-tab:hover .products-tab-label {
  color: #fff;
}

/* Hover */
.products-tab:hover .products-tab-arrow {
  background: #A80000;
  color: #fff;
}

.products-tab:hover .products-tab-label {
  color: #fff;
}

.products-panel {
  margin: 2rem auto 0;
  max-width: 860px;
  text-align: center;
  padding: 1.5rem 1.5rem 0;
}

.products-tab:hover {
  transform: translateY(-4px);
}

.products-tab:hover .products-tab-arrow {
  background: #A80000;
  color: #fff;
}

.products-tab:hover .products-tab-label {
  color: #fff;
}

.products-panel-title {
  margin-bottom: 0.95rem;
}

.products-panel-title .red {
  color: var(--red);
}

.products-panel-divider {
  margin-bottom: 1.4rem;
}

.products-panel-subheader {
  max-width: 760px;
  color: #2e3239;
  margin-inline: auto;
}

/* ── Products Card Carousel ── */
.products-carousel {
  position: relative;
  margin: 4rem auto 0;
  max-width: 980px;
  min-height: clamp(360px, 42vw, 500px);
}

.products-carousel-stage {
  position: relative;
  height: clamp(360px, 42vw, 500px);
}

.products-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: 35%;
  height: auto;
  background: #F9F9F9;
  border-radius: 22px;
  transform: translateX(-50%) scale(0.98);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(.4,0,.2,1),
              opacity   0.45s cubic-bezier(.4,0,.2,1),
              filter    0.45s ease;
}

.products-card.pc-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 4;
  transform: translateX(-50%) scale(1);
  filter: none;
}

.products-card.pc-left {
  opacity: 1;
  z-index: 2;
  transform: translateX(-116%) rotate(-3deg) scale(0.82);
  filter: brightness(0.88);
}

.products-card.pc-right {
  opacity: 1;
  z-index: 2;
  transform: translateX(16%) rotate(3deg) scale(0.82);
  filter: brightness(0.88);
}

.products-card.pc-hidden {
  opacity: 0;
  z-index: 1;
}

/* Icons */
.products-card-icons {
  position: relative;
  flex: 0 0 22%;
  min-height: 108px;
  padding: 0.55rem 1.35rem 0;
}

.products-card-icon-left {
  position: absolute;
  bottom: 0.45rem;
  left: 1.35rem;
  color: #A80000;
  font-size: clamp(2.32rem, 3.2vw, 3.14rem);
  line-height: 1;
  display: block;
}

.products-card-icon-right {
  position: absolute;
  bottom: 0.45rem;
  right: 1.05rem;
  color: #A80000;
  opacity: 0.1;
  font-size: clamp(3.66rem, 5.35vw, 5.42rem);
  line-height: 1;
  display: block;
}

/* Content */
.products-card-content {
  flex: 0 0 auto;
  padding: 1.65rem 1.5rem 0.25rem;
  text-align: left;
}

.products-card-title-row {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 1.05rem;
}

.products-card-number {
  display: none;
}

.products-card-title {
  color: #001C38;
  font-family: var(--font);
  font-size: clamp(0.91rem, 1.24vw, 1.13rem);
  font-weight: 700;
  line-height: 1.22;
  margin: 0;
}

.products-card-desc {
  color: #000;
  font-family: var(--font);
  font-size: clamp(0.66rem, 0.78vw, 0.76rem);
  line-height: 1.42;
  font-weight: 400;
  margin: 0;
  margin-bottom: 1.55rem;
}

/* Image */
.products-card-media {
  flex: 0 0 auto;
  aspect-ratio: 111 / 77;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: 0 0 16px 16px;
}

.products-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0 0 16px 16px;
}

/* Arrows  */
.products-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 0.5rem 0.6rem;
  cursor: pointer;
  z-index: 5;
  line-height: 1;
  color: #A80000;
  font-size: clamp(1rem, 2vw, 1.5rem);
  transition: opacity 0.2s;
}

.products-arrow:hover { opacity: 0.65; }

.products-arrow--prev { left: -6.2%; }
.products-arrow--next { right: -6.2%; }

.products-arrow i {
  font-size: clamp(1rem, 2vw, 1.5rem);
}

/* Dots */
.products-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.products-carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: #C46A6A;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, width 0.2s, height 0.2s;
}

.products-carousel-dot.active {
  width: 13px;
  height: 13px;
  background: #A80000;
}

/* ── Medical & Laboratory layout ── */
.products-medical {
  width: 100%;
  margin-top: 3rem;
  padding: 0;
  text-align: left;
}

.products-tech {
  width: 100%;
  margin-top: 3rem;
  padding: 0;
  text-align: center;
}

.products-digital {
  width: 100%;
  margin-top: 3.5rem;
  padding: 0;
}
.digital-wrapper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.digital-card {
  background: #F9F9F9;
  border-radius: 17px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 28, 56, 0.08);
  min-width: 0;
  aspect-ratio: 373 / 480;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.digital-card:hover,
.digital-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 28, 56, 0.1);
  outline: none;
}

.digital-card-media {
  position: relative;
  aspect-ratio: 364 / 274;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
}

.digital-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.digital-card-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #A80000;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
}

.digital-card-body {
  position: relative;
  flex: 1;
  padding: 0.85rem 0.85rem 2rem;
  overflow: hidden;
}

.digital-card-body h4 {
  color: #001C38;
  font-family: var(--font);
  font-size: clamp(0.8rem, 1.1vw, 1.05rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.95rem;
  max-width: 100%;
}

.digital-card-mark {
  position: absolute;
  right: -1rem;
  bottom: -0.8rem;
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  color: rgba(168, 0, 0, 0.12);
  font-size: 3.5rem;
}

.tech-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.tech-card {
  background: #F9F9F9;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 28, 56, 0.08);
  padding: 0 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  min-height: 178px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tech-card:hover,
.tech-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 28, 56, 0.1);
  outline: none;
}

.tech-icon {
  width: 113px;
  height: 113px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #A80000;
  font-size: 3.28rem;
  margin-top: -6px;
}

.tech-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #001C38;
  margin: 0 0 0.8rem;
}

.tech-card p {
  font-size: 0.9rem;
  font-weight: 400;
  color: #000;
  margin: 0 0 0.1rem;
  line-height: 1.45;
}

.medical-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.medical-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 2.5rem;
  justify-items: stretch;
}

.medical-item--reverse {
  grid-template-columns: 1fr 1fr;
}

.medical-media {
  width: 100%;
  max-width: 735px;
  justify-self: stretch;
}

.medical-item--reverse .medical-media { order: 2; }
.medical-item--reverse .medical-copy  { order: 1; }

.medical-media img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 6px 28px rgba(0, 28, 56, 0.1);
  display: block;
}

.medical-copy {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.medical-heading {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 700;
  color: #001C38;
  margin: 0 0 0.15rem;
  line-height: 1.25;
}

.medical-lead {
  font-size: clamp(0.78rem, 1.1vw, 0.9rem);
  color: #000;
  margin: 0;
  line-height: 1.6;
}

.medical-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.medical-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-family: var(--font);
  font-size: clamp(0.75rem, 1.05vw, 0.875rem);
  font-weight: 400;
  color: #000;
  line-height: 1.5;
}

.medical-list i {
  color: #A80000;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* OUR CLIENTS SECTION */
.clients {
  background: #F9F9F9;
  padding: 0 0 5rem;
}

.clients-header {
  padding-bottom: 2.2rem;
}

.clients-subheader {
  margin-top: 0.9rem;
  color: #2e3239;
  font-size: clamp(0.82rem, 1.3vw, 0.95rem);
  line-height: 1.55;
}

.clients-grid {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.client-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 5px 8px 12.1px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  aspect-ratio: 31 / 36;
  min-height: 356px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.client-card:hover,
.client-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 28, 56, 0.1);
  outline: none;
}

.client-card-media {
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  aspect-ratio: 62 / 33;
  border-radius: 22px 22px 0 0;
  border: 1px solid #FFF;
  overflow: visible;
  margin-bottom: 1.2rem;
}

.client-card-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 62 / 33;
  object-fit: cover;
  display: block;
}

.client-card-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 56%;
  background:
    radial-gradient(120% 120% at 8% 100%,
      rgba(168, 0, 0, 0.28) 0%,
      rgba(168, 0, 0, 0.20) 44%,
      rgba(168, 0, 0, 0.00) 100%),
    linear-gradient(180deg,
      rgba(168, 0, 0, 0.00) 0%,
      rgba(168, 0, 0, 0.09) 45%,
      rgba(168, 0, 0, 0.18) 100%);
  pointer-events: none;
}

.client-card-icon {
  position: absolute;
  left: 1rem;
  bottom: 0;
  transform: translateY(50%);
  width: clamp(63px, 7vw, 84px); /* +5% */
  height: clamp(63px, 7vw, 84px); /* +5% */
  border-radius: 50%;
  background: #A80000;
  border: 3px solid #fff;
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 3;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.client-card-icon i {
  font-size: clamp(1.47rem, 2.36vw, 2.15rem); /* +5% */
  line-height: 1;
}

.client-card-body {
  flex: 1;
  padding: clamp(2.2rem, 3vw, 2.7rem) 1rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.client-card h3 {
  color: #001C38;
  font-size: clamp(0.98rem, 1.47vw, 1.42rem);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 0.5rem;
}

.client-card p {
  color: #000;
  font-size: clamp(0.84rem, 1.02vw, 0.98rem);
  line-height: 1.38;
  margin: -0.45rem 0 0;
}


/* OUR PARTNERS SECTION */
.partners {
  background: #fff;
  padding: 0 0 5rem;
  overflow: hidden;
}

.partners-marquee {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 1.9rem auto 0;
  padding: 0 2rem;
  overflow: hidden;
}

.partners-marquee::before,
.partners-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(36px, 8vw, 120px);
  z-index: 2;
  pointer-events: none;
}

.partners-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.partners-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.partners-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: partners-scroll 28s linear infinite;
  will-change: transform;
}

.partners-row {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(2.2rem, 4vw, 4rem);
  margin: 0;
  padding: 0 clamp(2.2rem, 4vw, 4rem) 0 0;
}

.partners-logo-item {
  width: clamp(165px, 20vw, 261px);
  height: clamp(38px, 4.6vw, 61px);
  aspect-ratio: 261 / 61;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.partners-logo-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

@keyframes partners-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}


/* GALLERY */
.gallery {
  background: #F9F9F9;
  padding: 0 0 5rem;
}

.gallery-header {
  padding: 5rem 1.5rem 3rem;
}

.gallery-subheader {
  margin-top: 0.9rem;
  color: #2e3239;
  font-size: clamp(0.82rem, 1.3vw, 0.95rem);
  line-height: 1.55;
}

.gallery-showcase {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Feature image ── */
.gallery-feature {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  margin: 0 auto;
}

.gallery-feature.is-swapping img,
.gallery-feature.is-swapping .gallery-feature-copy {
  animation: gallery-fade-in 0.34s ease;
}

.gallery-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Gradient */
.gallery-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.70) 0%,
    rgba(0, 0, 0, 0.00) 50%
  );
  pointer-events: none;
}

.gallery-feature-copy {
  position: absolute;
  left: clamp(0.85rem, 2.5vw, 1.4rem);
  right: clamp(0.85rem, 2.5vw, 1.4rem);
  bottom: clamp(0.85rem, 2.5vw, 1.4rem);
  z-index: 2;
  color: #fff;
}

.gallery-feature-copy h3 {
  font-size: clamp(0.95rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.2rem;
}

.gallery-feature-copy p {
  font-size: clamp(0.82rem, 1.6vw, 1.1rem);
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
}

/* ── Thumbs row ── */
.gallery-thumbs-wrap {
  margin-top: clamp(0.6rem, 1.5vw, 1rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.35rem;
  overflow: visible; 
}

/* Arrows */
/* Arrows */
.gallery-nav {
  width: clamp(36px, 4.2vw, 48px);
  height: clamp(36px, 4.2vw, 48px);
  border-radius: 50%;
  border: none;
  background: #A80000;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease;
  position: relative;
  z-index: 10; /* Increased z-index to ensure it's above thumbnails */
  --shift: 0px;
  transform: translateX(var(--shift));
}

.gallery-nav--prev { --shift: calc(clamp(36px, 4.2vw, 48px) * -0.4); }
.gallery-nav--next { --shift: calc(clamp(36px, 4.2vw, 48px) * 0.4); }

.gallery-nav i {
  font-size: clamp(0.9rem, 1.4vw, 1.15rem);
}

.gallery-nav:hover,
.gallery-nav:focus-visible {
  transform: translateX(var(--shift)) scale(1.07);
  background: #8f0000;
  outline: none;
}

/* ── Thumb grid ── */
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.6rem, 1.5vw, 1rem);
  overflow: visible;
  width: calc(100% + clamp(60px, 6vw, 92px));
  margin: 0 calc(-1 * clamp(30px, 3vw, 46px));
}

.gallery-thumbs.is-shifting-next {
  animation: gallery-shift-next 0.26s ease;
}

.gallery-thumbs.is-shifting-prev {
  animation: gallery-shift-prev 0.26s ease;
}

/* ── Individual thumb ── */
.gallery-thumb {
  position: relative;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  aspect-ratio: 148 / 120;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-thumb.is-hidden {
  display: none;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: transparent;
  transition: background 0.25s ease;
}

/* Active */
.gallery-thumb.is-active {
  transform: scale(1.08);
  z-index: 5;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.gallery-thumb.is-active::after {
  background: transparent;
}

.gallery-thumb:hover::after,
.gallery-thumb:focus-visible::after {
  background: rgba(0, 0, 0, 0.60);
}

.gallery-thumb.is-active:hover::after,
.gallery-thumb.is-active:focus-visible::after {
  background: rgba(0, 0, 0, 0.60);
}

/* Active Hover */
.gallery-thumb.is-active:hover,
.gallery-thumb.is-active:focus-visible {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}

/* ── Thumb text labels ── */
.gallery-thumb-category {
  display: none;
}

/* Arrow badge */
.gallery-thumb-arrow {
  display: none;
}

.gallery-thumb-title {
  position: absolute;
  z-index: 2;
  left: 1.25rem;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  color: #fff;
  font-size: clamp(0.6rem, 1.1vw, 0.9rem);
  font-weight: 700;
  line-height: 1.2;
  padding: 0.45rem 0.6rem;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.gallery-thumb .gallery-thumb-title {
  opacity: 0;
}

.gallery-thumb:hover .gallery-thumb-title,
.gallery-thumb:focus-visible .gallery-thumb-title {
  opacity: 1;
}

.gallery-thumb.is-active .gallery-thumb-title {
  opacity: 0;
}

/* Active thumb  */
.gallery-thumb.is-active .gallery-thumb-title {
  opacity: 0;
}

.gallery-thumb.is-active:hover .gallery-thumb-title {
  opacity: 1;
}

@keyframes gallery-fade-in {
  from { opacity: 0.45; transform: scale(1.01); }
  to   { opacity: 1;    transform: scale(1);    }
}

@keyframes gallery-shift-next {
  from { transform: translateX(14px); opacity: 0.82; }
  to   { transform: translateX(0);    opacity: 1;    }
}

@keyframes gallery-shift-prev {
  from { transform: translateX(-14px); opacity: 0.82; }
  to   { transform: translateX(0);     opacity: 1;    }
}


/* CONTACT US SECTION */
.contact {
  position: relative;
  overflow: hidden;
  background: radial-gradient(50% 50% at 50% 50%,
    rgba(180, 17, 13, 0.95) 0%,
    rgba(124, 16, 19, 0.95) 98.56%);
  padding: clamp(4rem, 7vh, 5.5rem) 1.5rem clamp(5.6rem, 9.6vh, 8rem);
}

.contact-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.contact-grid-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.contact-container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  background: #F9F9F9;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: -2px 8px 12.1px 0 rgba(0, 0, 0, 0.15);
  min-height: min(580px, 75vh);
}

/* Left side: Contact Info */
.contact-info {
  flex: 0 0 50%;
  background: #FFF;
  padding: clamp(2.5rem, 5vh, 3.5rem) clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.contact-info h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  font-weight: 700;
  color: #000;
  margin-top: clamp(1.2rem, 2.5vh, 2rem);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.contact-info-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  font-weight: 400;
  color: #000;
  line-height: 1.4;
  margin-bottom: 2.5rem;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 4vh, 2.5rem);
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-info-icon {
  width: clamp(48px, 5vw, 58px);
  height: clamp(48px, 5vw, 58px);
  background: #A80000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  box-shadow: 0 4px 10px rgba(168, 0, 0, 0.2);
}

.contact-info-text h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  font-weight: 700;
  color: #000;
  margin-bottom: 0.2rem;
}

.contact-info-text p {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.75rem, 0.95vw, 0.9rem);
  font-weight: 400;
  color: #000;
  line-height: 1.4;
}

/* Right side: Form */
.contact-form-wrap {
  flex: 0 0 50%;
  padding: clamp(2.5rem, 5vh, 3.5rem) clamp(2rem, 4vw, 3.5rem);
  background: #F9F9F9;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.contact-form-wrap h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 700;
  color: #000;
  margin-bottom: 1.1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-form-status {
  display: none;
  border-radius: 11px;
  padding: 0.72rem 0.9rem;
  font-size: 0.85rem;
  line-height: 1.45;
  font-weight: 500;
  border: 1px solid transparent;
}

.contact-form-status.is-visible {
  display: block;
}

.contact-form-status.is-error {
  background: #fff1f1;
  border-color: #f3bbbb;
  color: #7f1111;
}

.contact-form-status.is-success {
  background: #eefaf1;
  border-color: #b8e2c2;
  color: #196a2f;
}

.contact-form-status.is-info {
  background: #eef5ff;
  border-color: #bfd4f3;
  color: #1a4f8d;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.8rem, 0.95vw, 0.9rem);
  font-weight: 700;
  color: #000;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 11px;
  border: 2px solid #F5F5F5;
  background: #FFF;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #8D8D8D;
  font-weight: 400;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #A80000;
  box-shadow: 0 0 0 4px rgba(168, 0, 0, 0.08);
}

.form-group input.is-invalid,
.form-group textarea.is-invalid {
  border-color: #c81f1f;
  box-shadow: 0 0 0 4px rgba(200, 31, 31, 0.08);
}

.form-error {
  display: none;
  color: #a80000;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}

.form-error.is-visible {
  display: block;
}

.contact-submit {
  width: 100%;
  height: clamp(44px, 4.5vw, 52px);
  background: #A80000;
  color: #FFF;
  border: none;
  border-radius: 11px;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  margin-top: 0.5rem;
}

.contact-submit:hover,
.contact-submit:focus-visible {
  background: #8F0000;
  transform: translateY(-2px);
  outline: none;
}

.contact-submit:active {
  transform: translateY(0);
}


/* FOOTER */
.footer {
  background: #fff;
  padding: clamp(2rem, 6vw, 3.5rem) 0 2rem;
  margin-top: 0.25rem;
}

.footer-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-about {
  grid-column: 1 / 2;
}

.footer-logo {
  margin-bottom: 2rem;
  display: inline-block;
  max-width: 200px;
}

.footer-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-column-title {
  font-size: clamp(0.84rem, 1.3vw, 0.98rem);
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.footer-column-text {
  font-size: clamp(0.72rem, 0.95vw, 0.82rem);
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  font-size: clamp(0.72rem, 0.95vw, 0.82rem);
  color: var(--text-muted);
  transition: color 0.25s ease;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--red);
  outline: none;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.footer-contact-item i {
  font-size: 1.1rem;
  color: var(--red);
  min-width: 20px;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.footer-contact-text {
  font-size: clamp(0.72rem, 0.95vw, 0.82rem);
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.footer-contact-text a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s ease;
  cursor: pointer;
  pointer-events: auto;
}

.footer-contact-text a:hover,
.footer-contact-text a:focus-visible {
  color: var(--red);
  text-decoration: none;
  outline: none;
}

.address-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.address-link:hover,
.address-link:focus-visible {
  color: var(--red);
  text-decoration: none;
  outline: none;
}

.footer-contact-text-item {
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.footer-contact-item:hover .footer-contact-text-item,
.footer-contact-item:focus-within .footer-contact-text-item {
  color: var(--red);
}

.footer-contact-item:hover .footer-contact-text a,
.footer-contact-item:focus-within .footer-contact-text a {
  color: var(--red);
}

.footer-contact-text a:focus-visible {
  outline: none;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: #e5e5e5;
  border: none;
  margin: clamp(0.6rem, 1.5vw, 1rem) 0;
}

.footer-copyright {
  text-align: left;
}

.footer-copyright p {
  font-size: clamp(0.7rem, 0.9vw, 0.8rem);
  color: #55556F;
  margin: 0;
  line-height: 1.5;
}



/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--red);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.back-to-top:hover {
  background: var(--red-hover);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}


/* RESPONSIVE LAYOUT */
@media (max-width: 1024px) {
  .carousel {
    aspect-ratio: 16 / 7;
  }
  .products-tabs {
    gap: 0.7rem;
  }
  .products-arrow--prev {
    left: -1.5%;
  }
  .products-arrow--next {
    right: -1.5%;
  }

  .clients-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partners-track {
    animation-duration: 24s;
  }

  .gallery-showcase {
    max-width: 880px;
  }
}
@media (max-width: 768px) {
  .contact {
    padding: clamp(3.25rem, 6vh, 4.25rem) 1.25rem clamp(4.4rem, 8vh, 5.7rem);
  }

  .products-medical {
    margin-top: 2rem;
  }

  .products-tech {
    margin-top: 2rem;
  }

  .products-digital {
    margin-top: 2.5rem;
  }

  .digital-wrapper {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    max-width: 460px;
    margin: 0 auto;
  }

  .digital-card {
    max-width: 100%;
    aspect-ratio: 373 / 410;
  }

  .digital-card-body {
    padding: 0.95rem 1rem 1.25rem;
  }

  .digital-card-body h4 {
    font-size: clamp(1.05rem, 4.2vw, 1.25rem);
    line-height: 1.2;
  }

  .digital-card-badge {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
  }

  .digital-card-mark {
    right: -0.8rem;
    bottom: -0.5rem;
    width: 114px;
    height: 114px;
    font-size: 3.35rem;
  }

  .contact-card {
    flex-direction: column;
    border-radius: 24px;
    min-height: unset;
  }

  .contact-info {
    flex: unset;
    border-radius: 24px 24px 0 0;
    padding: 2.5rem 1.5rem;
  }

  .contact-info h3 {
    margin-top: 0;
  }

  .contact-form-wrap {
    padding: 2.5rem 1.5rem;
  }

  .contact-info-items {
    gap: 1.5rem;
  }

  .gallery-thumb.is-active {
    transform: scale(1.06);
  }

  .gallery-thumb.is-active:hover,
  .gallery-thumb.is-active:focus-visible {
    transform: scale(1.08) translateY(-2px);
  }
}
@media (max-width: 768px) {
  .medical-item,
  .medical-item--reverse {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .medical-item .medical-media       { order: 1; }
  .medical-item .medical-copy        { order: 2; }
  .medical-item--reverse .medical-media { order: 1; }
  .medical-item--reverse .medical-copy  { order: 2; }
}
@media (max-width: 768px) {
  /* Nav */
  .nav-desktop {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  /* Carousel */
  .carousel {
    aspect-ratio: 4 / 3;
    border-radius: 14px;
  }
  .slide-caption {
    max-width: 72%;
  }

  /* About row 1 — stack */
  .container-about {
    flex-direction: column;
    gap: 2rem;
  }
  .about-left {
    flex: unset;
    max-width: 100%;
  }
  .about-left p {
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .about-cards {
    width: 100%;
  }

  .products-showcase {
    padding: 0 1.25rem;
  }
  .clients-grid {
    padding: 0 1.25rem;
    gap: 1.1rem;
  }

  .partners {
    padding-bottom: 4rem;
  }

  .partners-marquee {
    margin-top: 1.55rem;
    padding: 0 1.25rem;
  }

  .partners-row {
    gap: clamp(1.65rem, 5vw, 2.4rem);
    padding-right: clamp(1.65rem, 5vw, 2.4rem);
  }

  .partners-logo-item {
    width: clamp(140px, 32vw, 190px);
    height: clamp(34px, 7.2vw, 48px);
  }

  .partners-track {
    animation-duration: 20s;
  }

  .gallery-showcase {
    max-width: 720px;
    padding: 0 1rem;
  }

  .gallery-header {
    padding: 4rem 1.5rem 2.5rem;
  }

  .gallery-feature {
    width: min(100%, calc((100vh - 290px) * (16 / 9)));
    aspect-ratio: 16 / 9;
  }

  .gallery-thumbs-wrap {
    margin-top: clamp(0.5rem, 1.2vw, 0.8rem);
  }

  .gallery-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.5rem, 1.2vw, 0.8rem);
    width: calc(100% + clamp(40px, 5.2vw, 64px));
    margin: 0 calc(-1 * clamp(20px, 2.6vw, 32px));
  }
  .gallery-thumb {
    aspect-ratio: 128 / 120;
  }

  .gallery-feature-copy h3 {
    font-size: clamp(1rem, 3.2vw, 1.5rem);
  }

  .gallery-feature-copy p {
    font-size: clamp(0.85rem, 2.5vw, 1.1rem);
  }

  .client-card {
    border-radius: 16px;
    min-height: 332px;
  }

  .client-card-media {
    border-radius: 16px 16px 0 0;
    margin-bottom: 1rem;
  }

  .client-card h3 {
    font-size: clamp(1rem, 2.8vw, 1.3rem);
  }

  .client-card p {
    font-size: clamp(0.82rem, 1.9vw, 0.98rem);
  }

  .products-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .products-carousel {
    margin-top: 3rem;
    min-height: clamp(320px, 90vw, 500px);
  }

  .products-carousel-stage {
    height: clamp(320px, 90vw, 500px);
  }

  .products-card { width: 64%; }
  .products-arrow--prev { left: 0; }
  .products-arrow--next { right: 0; }
  .products-card-title { font-size: clamp(0.84rem, 2.2vw, 0.98rem); }

.products-tab-label {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  right: 3rem;
  z-index: 2;
  color: #B8B8B8;
  font-family: var(--font);
  font-size: clamp(0.78rem, 1vw, 1rem);
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
}

/* Arrow circle */
.products-tab-arrow {
  position: absolute;
  right: 0.45rem;
  bottom: 0.45rem;
  width: clamp(56px, 5.5vw, 70px);
  height: clamp(56px, 5.5vw, 70px);
  border-radius: 50%;
  border: none;
  background: #C46A6A;
  color: #B8B8B8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.25rem, 1.9vw, 1.65rem);
  z-index: 3;
  padding: 0;
  transition: background 0.2s, color 0.2s;
}

  .products-panel {
    margin-top: 2.85rem;
  }


  /* @media (max-width: 768px) */
  .products-tab-label {
    font-size: clamp(0.7rem, 1.7vw, 0.9rem);
    bottom: 0.65rem;
    left: 0.65rem;
    right: 2.8rem;
  }

  .products-tab-arrow {
    width: clamp(34px, 4.5vw, 42px);
    height: clamp(34px, 4.5vw, 42px);
    font-size: 0.95rem;
    right: 0.4rem;
    bottom: 0.4rem;
  }

  /* @media (max-width: 480px) */
    .products-tab-label {
    left: 0.6rem;
    right: 2.6rem;
    bottom: 0.6rem;
    font-size: 0.75rem;
    font-family: var(--font);
  }

  .products-tab-arrow {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
    right: 0.4rem;
    bottom: 0.4rem;
  }

  /* Goal & Values */
  .container-about-gv {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1.25rem;
  }
  .about-gv {
    padding: 0 0 3.5rem;
  }
  .about-gv-left,
  .about-gv-right {
    gap: 2rem;
  }

  /* Mobile reading order */
  .about-gv-left {
    order: 1;
    gap: 2rem;
  }
  .about-gv-right {
    order: 2;
    gap: 2rem;
  }

  /* Left column orders */
  .about-gv-left .about-values-text { order: 1; }
  .about-gv-left .about-img-wrap    { order: 2; }

  /* Right column orders*/
  .about-gv-right .about-goal-text  { order: 1; }
  .about-gv-right .about-img-wrap   { order: 2; }

  @media (max-width: 480px) {
    .carousel {
      aspect-ratio: 1 / 1;
      border-radius: 10px;
    }
    .slide-caption {
      max-width: 88%;
    }
    .carousel-wrap {
      padding: 0 0.75rem 2rem;
    }
    .about-gv {
      padding: 0 0 2.5rem;
    }
    .container-about-gv {
      padding: 0 1rem;
    }
  }
}
@media (max-width: 768px) {

    .footer {
    padding: clamp(2rem, 6vw, 3.5rem) 0 1.5rem;
    margin-top: 0.25rem;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: clamp(1.5rem, 4vw, 2.5rem);
  }

  .footer-about {
    grid-column: 1 / 2;
  }

  .footer-copyright {
    text-align: left;
  }

  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }

  .back-to-top:hover {
    transform: translateY(-2px);
  }
}

@media (max-width: 560px) {
  .products-card {
    width: 90%;
  }

  .products-card-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
}
@media (max-width: 480px) {
  .contact {
    padding: 2.75rem 1rem 3.6rem;
  }

  .products-medical {
    margin-top: 1.5rem;
  }

  .medical-wrapper {
    gap: 2.25rem;
  }

  .products-tech {
    margin-top: 1.5rem;
  }

  .products-digital {
    margin-top: 2rem;
  }

  .digital-wrapper {
    grid-template-columns: 1fr;
    gap: 0.95rem;
    max-width: 100%;
  }

  .digital-card {
    aspect-ratio: 373 / 390;
  }

  .digital-card-body {
    padding: 0.9rem 0.95rem 1.35rem;
  }

  .digital-card-body h4 {
    font-size: clamp(1rem, 4.8vw, 1.16rem);
  }

  .digital-card-badge {
    top: 0.65rem;
    right: 0.65rem;
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }

  .digital-card-mark {
    right: -0.65rem;
    bottom: -0.35rem;
    width: 108px;
    height: 108px;
    font-size: 3.2rem;
  }

  .contact-card {
    border-radius: 16px;
  }

  .contact-info {
    border-radius: 16px 16px 0 0;
    padding: 2rem 1.25rem;
  }

  .contact-form-wrap {
    padding: 2rem 1.25rem;
  }

  .contact-info-icon {
    width: 52px;
    height: 52px;
  }

  .gallery-thumb.is-active {
    transform: scale(1.04);
  }

  .gallery-thumb.is-active:hover,
  .gallery-thumb.is-active:focus-visible {
    transform: scale(1.06) translateY(-2px);
  }
}
@media (max-width: 480px) {
  .clients {
    padding-bottom: 3.5rem;
  }

  .clients-header {
    padding-bottom: 1.45rem;
  }

  .partners {
    padding-bottom: 3.5rem;
  }

  .partners-marquee {
    margin-top: 1.3rem;
    padding: 0 1rem;
  }

  .partners-marquee::before,
  .partners-marquee::after {
    width: 44px;
  }

  .partners-row {
    gap: 1.4rem;
    padding-right: 1.4rem;
  }

  .partners-logo-item {
    width: 132px;
    height: 32px;
  }

  .partners-track {
    animation-duration: 16s;
  }

  .gallery {
    padding-bottom: 3.5rem;
  }

  .gallery-header {
    padding: 3.5rem 1rem 2rem;
  }

  .gallery-showcase {
    max-width: 100%;
    padding: 0 0.75rem;
  }

  .gallery-thumbs-wrap {
    margin-top: clamp(0.4rem, 1vw, 0.6rem);
    gap: 0.25rem;
  }

  .gallery-nav {
    width: 34px;
    height: 34px;

    transform: none;
  }

  .gallery-nav--prev { margin-left: 12px; }
  .gallery-nav--next { margin-right: 12px; }

  .gallery-nav i {
    font-size: 0.85rem;
  }

  .gallery-nav:hover,
  .gallery-nav:focus-visible {
    transform: scale(1.07);
    background: #8f0000;
    outline: none;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.4rem, 1vw, 0.6rem);
    width: calc(100% + clamp(24px, 4vw, 40px));
    margin: 0 calc(-1 * clamp(12px, 2vw, 20px));
  }
  .gallery-thumb {
    aspect-ratio: 120 / 120;
  }

  .gallery-thumb-title {
    display: none;
  }

  .clients-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
    gap: 1.1rem;
    max-width: 420px;
    margin: 0 auto;
  }

  .client-card {
  border-radius: 16px;
  aspect-ratio: auto;
  min-height: 0;
  }

  .client-card-media {
  border-radius: 16px 16px 0 0;
  margin-bottom: 0.9rem;
  }

  .client-card-icon {
    left: 0.85rem;
    width: 68px;
    height: 68px;
    transform: translateY(40%);
  }

  .client-card-icon i {
    font-size: 1.3rem;
  }

  .client-card-body {
    padding: 1.25rem 1rem 1.2rem;
    gap: 0.55rem;
  }

  .client-card h3 {
    font-size: clamp(1.05rem, 4.6vw, 1.22rem);
    line-height: 1.12;
  }

  .client-card p {
    font-size: clamp(0.9rem, 3.4vw, 1rem);
    line-height: 1.42;
    margin: 0;
  }

  .products-showcase {
    padding: 0 1rem;
  }

  .products-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .products-tab-label {
    left: 0.9rem;
    right: 3.15rem;
    bottom: 0.85rem;
    font-size: 0.92rem;
    line-height: 1.25;
  }

  .products-tab-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }

  .products-panel {
    padding: 1.25rem 1rem 1.05rem;
    margin-top: 1.5rem;
  }

  .products-carousel {
    margin-top: 1.55rem;
    min-height: clamp(250px, 88vw, 345px);
  }

  .products-carousel-stage {
    height: clamp(250px, 88vw, 345px);
  }

  .products-card { width: 68%; }

  .products-card-icons {
    flex: 0 0 auto;
    min-height: 58px;
    padding: 0.2rem 1rem 0;
  }

  .products-card.pc-left {
    transform: translateX(-84%) rotate(-2.8deg) scale(0.72);
  }

  .products-card.pc-right {
    transform: translateX(-16%) rotate(2.8deg) scale(0.72);
  }

  .products-card-content {
    padding: 0.78rem 1rem 0.2rem;
  }

  .products-card-icon-left,
  .products-card-icon-right {
    bottom: 0.08rem;
  }

  .products-card-icon-left { font-size: 1.45rem; }
  .products-card-icon-right { font-size: 2.9rem; }

  .products-card.pc-active,
  .products-card.pc-left,
  .products-card.pc-right {
    top: -4px;
  }

  .products-carousel-dots {
    margin-top: 1.60rem;
  }
  
  .team-deck-wrap {
    max-width: 390px;
    padding: 0.5rem 1.6rem 1.1rem;
    gap: 0;
  }

  .team-dots {
    margin-top: 0.1rem;
  }

  .team-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.35rem;
    padding: 0.25rem;
  }

  #teamPrev {
    left: 0.15rem;
  }

  #teamNext {
    right: 0.15rem;
  }

  .team-deck {
    width: 100%;
    height: clamp(370px, 112vw, 450px);
  }

  .team-card.tc-active { width: 78%; }
  .team-card.tc-peek1  { width: 64%; transform: translateX(-100%) rotate(-4deg) scale(0.79); }
  .team-card.tc-peek2  { width: 64%; transform: translateX(0%) rotate(4deg) scale(0.79); }

  .team-card-img {
    flex: 0 0 47%;
    padding: 0.6rem 0.6rem 0;
  }

  .team-card-body {
    padding: 0.8rem 1rem 1.45rem;
  }

  .team-card-name {
    font-size: clamp(0.95rem, 5vw, 1.2rem);
    line-height: 1.08;
    margin-bottom: 0.3rem;
  }

  .team-card-position {
    font-size: clamp(0.72rem, 3.3vw, 0.9rem);
    line-height: 1.2;
    margin-bottom: 0.8rem;
  }

  .team-card-quote {
    font-size: clamp(0.72rem, 3.4vw, 0.9rem);
    line-height: 1.42;
  }

  .team-card-quote-bg {
    top: 29%;
    right: 0.55rem;
    font-size: clamp(2.5rem, 11vw, 3.6rem);
  }

  .footer {
    padding: clamp(1.5rem, 5vw, 2.5rem) 0 1.25rem;
    margin-top: 0.25rem;
  }

  .footer-container {
    padding: 0 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 4vw, 2rem);
  }

  .footer-about {
    grid-column: 1;
  }

  .footer-logo {
    margin-bottom: 1.5rem;
    max-width: 160px;
  }

  .footer-column-title {
    font-size: 0.88rem;
    margin-bottom: 0.75rem;
  }

  .footer-column-text {
    font-size: 0.76rem;
  }

  .footer-nav ul {
    gap: 0.6rem;
  }

  .footer-nav a {
    font-size: 0.76rem;
  }

  .footer-divider {
    margin: clamp(0.5rem, 1.2vw, 0.8rem) 0;
    height: 1px;
  }

  .footer-copyright {
    text-align: left;
  }

  .footer-copyright p {
    font-size: 0.7rem;
  }

  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    bottom: max(1rem, env(safe-area-inset-bottom));
    right: max(1rem, env(safe-area-inset-right));
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .back-to-top:hover {
    transform: translateY(-2px);
  }
}
