/* ============================================================
   MAJU CONNECT SDN BHD - CORPORATE SITE STYLES
   Theme follows the existing index.html direction: red, black,
   white, strong image hero, clean enterprise layout.
   ============================================================ */

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

.section {
  padding: 76px 0;
  background: #fff;
}

.section-alt {
  padding: 76px 0;
  background: #f4f4f4;
}

.section-dark {
  padding: 76px 0;
  background: var(--black);
  color: #fff;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--red);
}

.section-head {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-head.center {
  text-align: center;
  margin: 0 auto 44px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 850;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.85;
}

.section-dark .section-head h2,
.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-dark .section-head p,
.section-dark p {
  color: rgba(255,255,255,0.62);
}

/* ===== HOME HERO ===== */
.enterprise-hero {
  position: relative;
  min-height: 82vh;
  padding-top: 70px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}

.enterprise-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/home-hero-integrated.webp");
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  animation: slowHeroMove 14s ease-in-out infinite alternate;
}

@keyframes slowHeroMove {
  from { transform: scale(1.03); }
  to { transform: scale(1.08); }
}

.enterprise-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(0,0,0,0.78), rgba(0,0,0,0.48) 55%, rgba(0,0,0,0.22)),
    linear-gradient(0deg, rgba(0,0,0,0.55), transparent 45%);
}

.enterprise-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 82px 0 150px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(227,6,19,0.88);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 24px;
}

.enterprise-hero h1 {
  color: #fff;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}

.enterprise-hero p {
  max-width: 620px;
  color: rgba(255,255,255,0.82);
  font-size: 1.06rem;
  line-height: 1.85;
  margin-bottom: 34px;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-on-dark {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.48);
}

.btn-on-dark:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  color: #fff;
  transform: translateY(-2px);
}

.hero-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  background: rgba(0,0,0,0.62);
  border-top: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
}

.hero-strip-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hero-stat {
  min-height: 92px;
  padding: 18px 22px;
  border-right: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-stat:last-child { border-right: 0; }

/* Clickable figures in the homepage strip (link to Track Record / Projects). */
.hero-stat-link { color: inherit; transition: background var(--t-med); }
.hero-stat-link:hover,
.hero-stat-link:focus-visible { background: rgba(227,6,19,0.18); }
.hero-stat-link:hover span[aria-hidden="true"] { color: var(--red-light); }

.hero-stat strong {
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
}

.hero-stat span {
  color: rgba(255,255,255,0.58);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 7px;
}

/* ===== REUSABLE CONTENT ===== */
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 58px;
  align-items: center;
}

.intro-text {
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.9;
}

.proof-panel {
  background: var(--black);
  color: #fff;
  border-radius: 4px;
  padding: 34px;
  position: relative;
  overflow: hidden;
}

.proof-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--red);
}

.proof-panel h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.proof-list {
  display: grid;
  gap: 12px;
}

.proof-list li {
  display: flex;
  gap: 10px;
  color: rgba(255,255,255,0.72);
  font-size: 0.92rem;
}

.proof-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 10px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card-grid.five {
  grid-template-columns: repeat(5, 1fr);
}

.capability-card,
.solution-card,
.industry-card,
.project-card,
.blog-card,
.gallery-card,
.value-card-new {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}

.capability-card:hover,
.solution-card:hover,
.industry-card:hover,
.project-card:hover,
.blog-card:hover,
.gallery-card:hover,
.value-card-new:hover {
  transform: translateY(-4px);
  border-color: rgba(227,6,19,0.26);
  box-shadow: var(--shadow-md);
}

.capability-card {
  padding: 28px 22px;
  min-height: 230px;
}

.capability-card:hover {
  transform: translateY(-3px);
}

.capability-icon,
.solution-icon,
.industry-icon,
.blog-icon {
  width: 46px;
  height: 46px;
  border-radius: 4px;
  background: var(--red-pale);
  border: 1px solid var(--border-red);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.capability-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--r-md);
  background: rgba(227,6,19,0.06);
}

.capability-icon svg {
  width: 40px;
  height: 40px;
  color: var(--red);
  stroke-width: 1.9;
}

.capability-card:hover .capability-icon {
  background: rgba(227,6,19,0.09);
  border-color: rgba(227,6,19,0.24);
}

.capability-card h3,
.solution-card h3,
.industry-card h3,
.project-card h3,
.blog-card h3,
.value-card-new h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.capability-card p,
.solution-card p,
.industry-card p,
.project-card p,
.blog-card p,
.value-card-new p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.feature-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--text-body);
  font-size: 0.86rem;
}

.feature-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 9px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.solution-card {
  padding: 30px;
}

.solution-grid > .solution-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.solution-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
}

.solution-meta span,
.project-meta span,
.blog-meta span,
.gallery-caption span,
.brand-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 100px;
  background: var(--red-pale);
  color: var(--red-dark);
  border: 1px solid var(--border-red);
  padding: 5px 11px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

/* ===== DELIVERY PROCESS ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.process-step {
  position: relative;
  padding: 30px 26px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  border-radius: var(--r-lg);
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 44px;
  right: -19px;
  z-index: 2;
  width: 18px;
  height: 1px;
  background: var(--red);
}

.process-step > span {
  display: block;
  margin-bottom: 24px;
  color: var(--red);
  font-family: "Outfit", sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
}

.process-step h3 { margin-bottom: 12px; color: #fff; font-size: 1.1rem; }
.process-step p { color: rgba(255,255,255,0.62); font-size: 0.88rem; line-height: 1.75; }

.why-item-new {
  padding: 26px 22px;
  border-right: 1px solid var(--border);
  background: #fff;
}

.why-item-new:last-child { border-right: 0; }

.why-item-new strong {
  display: block;
  font-family: "Outfit", sans-serif;
  color: rgba(227,6,19,0.28);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 14px;
}

.why-item-new h3 {
  font-size: 0.96rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.why-item-new p {
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.industry-card {
  padding: 24px 18px;
  text-align: center;
}

.industry-icon { margin: 0 auto 16px; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.project-card {
  padding: 26px;
  border-left: 4px solid var(--red);
}

.project-meta,
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-card {
  overflow: hidden;
  cursor: pointer;
}

/* js/gallery.js sets --gallery-img on each album to the album's first
   photo. The hero.webp layer underneath is only a fallback. */
.gallery-image {
  aspect-ratio: 4 / 3;
  background-image:
    linear-gradient(0deg, rgba(0,0,0,0.42), rgba(0,0,0,0.05)),
    var(--gallery-img, none),
    url("../images/hero.webp");
  background-size: cover;
  background-position: center;
}


.gallery-caption {
  padding: 18px;
}

.gallery-caption h3 {
  font-size: 0.95rem;
  margin: 8px 0 5px;
}

.gallery-caption p {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

/* ===== PARTNERS & CLIENTS MARQUEE ===== */
.partner-marquee-section {
  padding: 96px 0 104px;
  overflow: hidden;
  background: #f2f4f7;
}

.partner-marquee-intro {
  max-width: 900px;
  margin: 0 auto 54px;
  text-align: center;
}

.partner-marquee-intro h2 {
  margin: 10px 0 14px;
  color: var(--text-primary);
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 850;
  letter-spacing: -0.035em;
}

.partner-marquee-intro p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.marquee-row + .marquee-row { margin-top: 42px; }

.marquee-label {
  margin-bottom: 16px;
  color: var(--red-dark);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.marquee-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 6px 0 10px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.marquee-track-left { animation: marquee-left 40s linear infinite; }
.marquee-track-right { animation: marquee-right 44s linear infinite; }

.marquee-group {
  display: flex;
  gap: 22px;
  padding-right: 22px;
}

.marquee-logo-card {
  display: flex;
  flex: 0 0 200px;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 110px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid #e0e4e9;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(17,24,39,0.035);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.marquee-logo-card img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 145px;
  max-height: 62px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.66;
  transition: filter 180ms ease, opacity 180ms ease;
}

.marquee-logo-card:hover,
.marquee-logo-card:focus-visible {
  border-color: rgba(227,6,19,0.25);
  box-shadow: 0 8px 22px rgba(17,24,39,0.08);
  outline: 3px solid rgba(227,6,19,0.18);
  outline-offset: 2px;
  transform: translateY(-3px);
}

.marquee-logo-card:hover img,
.marquee-logo-card:focus-visible img {
  filter: grayscale(0);
  opacity: 1;
}

.marquee-viewport:hover .marquee-track,
.marquee-viewport:focus-within .marquee-track {
  animation-play-state: paused;
}

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

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

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.blog-card {
  padding: 26px;
}

.read-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--red);
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 0.88rem;
}

/* ===== INNER PAGES ===== */
.inner-hero {
  padding: 140px 0 82px;
  background:
    linear-gradient(105deg, rgba(17,17,17,0.9), rgba(17,17,17,0.65)),
    url("../images/hero.webp");
  background-size: cover;
  background-position: center 34%;
  border-bottom: 5px solid var(--red);
}

/* Projects, Track Record and Gallery heroes: one photo per page (set in
   --hero-img below), shown on the right; the left fades to dark so the
   headline stays readable. */
.inner-hero--photo {
  background:
    linear-gradient(90deg, rgba(10,12,18,0.94) 0%, rgba(10,12,18,0.7) 38%, rgba(10,12,18,0.05) 70%),
    var(--hero-img) right var(--hero-pos-y, center) / cover no-repeat,
    #0a0c12;
}

.inner-hero--projects { --hero-img: url("../images/hero/projects-tapak.webp"); --hero-pos-y: 12%; }
.inner-hero--track-record { --hero-img: url("../images/hero/track-record-serahan.webp"); }
.inner-hero--gallery { --hero-img: url("../images/hero/gallery-kamera.webp"); }

@media (max-width: 640px) {
  .inner-hero--photo {
    background:
      linear-gradient(180deg, rgba(10,12,18,0.5) 0%, rgba(10,12,18,0.85) 55%, rgba(10,12,18,0.95) 100%),
      var(--hero-img) 80% center / cover no-repeat,
      #0a0c12;
  }
}

/* Contact page hero: Kuantan coastline with a location pin on the right.
   The left side stays dark sky and sea so the headline is readable. */
.inner-hero--pantai {
  background:
    linear-gradient(90deg, rgba(8,18,36,0.9) 0%, rgba(8,18,36,0.6) 40%, rgba(8,18,36,0) 68%),
    url("../images/hero/contact-pantai.webp") right 45% / cover no-repeat,
    #08132a;
}

@media (max-width: 640px) {
  .inner-hero--pantai {
    background:
      linear-gradient(180deg, rgba(8,18,36,0.45) 0%, rgba(8,18,36,0.85) 60%, rgba(8,18,36,0.95) 100%),
      url("../images/hero/contact-pantai.webp") 78% 45% / cover no-repeat,
      #08132a;
  }
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.58);
  font-size: 0.82rem;
  font-weight: 700;
}

.breadcrumb a { color: #fff; }

.inner-hero h1 {
  max-width: 760px;
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.55rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.inner-hero p {
  max-width: 680px;
  color: rgba(255,255,255,0.72);
  font-size: 1.02rem;
  line-height: 1.8;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: start;
}

.info-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px;
}

.info-panel.dark {
  background: var(--black);
  color: #fff;
}

.info-panel.dark h3 { color: #fff; }
.info-panel.dark p { color: rgba(255,255,255,0.62); }

.info-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.info-row:last-child { border-bottom: 0; }
.info-row strong { color: var(--text-primary); }

.value-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.value-card-new {
  padding: 24px;
}

/* ===== PROJECTS ===== */
.project-path-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-path-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  min-height: 230px;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--border);
  border-bottom: 4px solid transparent;
  border-radius: var(--r-lg);
  transition: var(--t-med);
}

.project-path-card:hover {
  border-bottom-color: var(--red);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.project-path-number {
  color: var(--red);
  font-family: "Outfit", sans-serif;
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1;
}

.project-path-card h3 { margin-bottom: 12px; font-size: 1.3rem; }
.project-path-card p { margin-bottom: 22px; color: var(--text-muted); line-height: 1.75; }
.project-path-card strong { color: var(--red); font-size: 0.88rem; }

/* ===== PROJECTS OVERVIEW: FIGURES ===== */
.project-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.project-stat {
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: var(--r-lg);
}

.project-stat strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text-primary);
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  line-height: 1.1;
}

.project-stat span { color: var(--text-muted); font-size: 0.88rem; }

/* ===== PROJECTS OVERVIEW: CASE STUDIES ===== */
.case-study-list { display: grid; gap: 28px; }

.case-study {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}

.case-study:nth-child(even) .case-study-media { order: 2; }

.case-study-media {
  display: block;
  min-height: 300px;
  background: #111;
}

.case-study-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--t-med);
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}

.case-study-media:hover img { opacity: 0.9; }

.case-study-body { padding: 32px 34px; }

.case-study-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.case-study-meta span {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--red-pale);
  color: var(--red-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.case-study-body h3 { margin-bottom: 18px; font-size: 1.3rem; line-height: 1.35; }

.case-study-points { display: grid; gap: 14px; margin-bottom: 24px; }

.case-study-points dt {
  margin-bottom: 4px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-study-points dd { margin: 0; color: var(--text-muted); line-height: 1.7; }

.case-study-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ===== TRACK RECORD: PHOTO LINK ===== */
.project-photo-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--red-pale);
  color: var(--red-dark);
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
  vertical-align: middle;
}

.project-photo-link:hover,
.project-photo-link:focus-visible { background: var(--red); color: #fff; }

@media (max-width: 960px) {
  .project-stats { grid-template-columns: repeat(2, 1fr); }
  .case-study { grid-template-columns: 1fr; }
  .case-study:nth-child(even) .case-study-media { order: 0; }
  .case-study-media { min-height: 0; aspect-ratio: 16 / 10; }
}

@media (max-width: 640px) {
  .project-stats { gap: 10px; }
  .project-stat { padding: 16px; }
  .case-study-body { padding: 24px 20px; }
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-body);
  border-radius: 4px;
  padding: 9px 14px;
  font-size: 0.82rem;
  font-weight: 800;
  transition: var(--t-fast);
}

.filter-btn:hover,
.filter-btn.active {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.filter-btn:focus-visible,
.gallery-card:focus-visible,
.lightbox-close:focus-visible,
.btn:focus-visible {
  outline: 3px solid rgba(227,6,19,0.34);
  outline-offset: 3px;
}

.project-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
}

.project-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.project-table th,
.project-table td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.project-table th {
  background: var(--black);
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-table tr:last-child td { border-bottom: 0; }
.project-table td:first-child { font-weight: 800; color: var(--text-primary); }

/* ===== GALLERY LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.86);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open { display: flex; }

.lightbox-panel {
  width: min(920px, 100%);
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}

.lightbox-image {
  aspect-ratio: 16 / 9;
  background-image: url("../images/hero.webp");
  background-size: cover;
  background-position: center;
}

/* When an album has real photos, show them on a dark background
   instead of the placeholder hero image. */
.lightbox.has-photo .lightbox-image { background: #111; }

.lightbox-image { position: relative; }

.lightbox-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible { background: var(--red, #d71920); }

.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

.lightbox-counter {
  position: absolute;
  bottom: 10px;
  right: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.gallery-empty {
  padding: 28px;
  border: 1px dashed var(--border, #d9d9d9);
  border-radius: 4px;
  text-align: center;
  color: var(--text-muted);
}

.gallery-empty a { color: var(--red, #d71920); font-weight: 700; }

/* Discourage saving gallery photos (no drag, no long-press menu on phones). */
.gallery-image,
.lightbox-image img {
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

/* Make sure the hidden attribute always wins over display rules. */
.gallery-card[hidden],
.filter-bar[hidden],
.filter-btn[hidden],
.gallery-empty[hidden],
.lightbox-nav[hidden],
.lightbox-counter[hidden],
.lightbox-image img[hidden] { display: none !important; }

.lightbox-body {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
}

.lightbox-body h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.lightbox-body p {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.lightbox-close {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: var(--black);
  color: #fff;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ===== CONTACT ===== */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 46px;
}

.contact-stack {
  display: grid;
  gap: 16px;
}

.contact-card {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.contact-layout > *, .contact-card > *, .form-field { min-width: 0; }
.contact-card a { overflow-wrap: anywhere; }
.contact-card .capability-icon { flex-shrink: 0; }
.contact-fields { border: 0; padding: 0; margin: 0; min-inline-size: 0; }
.form-help { margin-bottom: 18px; color: var(--text-muted); font-size: 0.84rem; }
.contact-fields:disabled { opacity: 0.7; }
.contact-fields:disabled button { cursor: wait; }
.form-error { color: #b00010; margin-bottom: 16px; }
.form-error:empty { display: none; }

.contact-card h3 {
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.contact-card p,
.contact-card a {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.contact-card a {
  color: var(--red);
  font-weight: 800;
}

.contact-form-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 34px;
  box-shadow: var(--shadow-sm);
}

label {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-body);
}

input,
select,
textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  background: #fafafa;
  color: var(--text-primary);
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  padding: 12px 14px;
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(227,6,19,0.08);
}

textarea {
  min-height: 142px;
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}

.form-field.full { grid-column: 1 / -1; }

.consent-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.consent-line input {
  width: auto;
  margin-top: 4px;
}

.map-placeholder {
  min-height: 230px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(17,17,17,0.9), rgba(227,6,19,0.72)),
    url("../images/hero.webp");
  background-size: cover;
  background-position: center;
  color: #fff;
  border-radius: 4px;
  text-align: center;
  padding: 24px;
}

.map-placeholder h3 { color: #fff; margin-bottom: 6px; }
.map-placeholder p { color: rgba(255,255,255,0.75); font-size: 0.9rem; }

.form-success {
  display: none;
  margin-top: 16px;
  padding: 16px;
  border-radius: 4px;
  border: 1px solid rgba(16,185,129,0.28);
  background: rgba(16,185,129,0.07);
  color: #047857;
  font-weight: 800;
}

.form-success.show { display: block; }

/* ===== LEGACY ===== */
.legacy-panel {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 90px 20px;
  background: var(--black);
}

.legacy-card {
  max-width: 560px;
  background: #fff;
  border-radius: 4px;
  padding: 34px;
  text-align: center;
}

.legacy-card img {
  height: 66px;
  margin: 0 auto 18px;
}

.legacy-card h1 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.legacy-card p {
  color: var(--text-muted);
  margin-bottom: 22px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1120px) {
  .card-grid.five,
  .industry-grid,
  .why-grid,
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2)::after { display: none; }

  .marquee-logo-card {
    flex-basis: 172px;
    width: 172px;
    height: 100px;
    padding: 21px;
  }

  .marquee-group { gap: 18px; padding-right: 18px; }
  .marquee-track-left { animation-duration: 44s; }
  .marquee-track-right { animation-duration: 48s; }

  .why-item-new {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 960px) {
  .enterprise-hero-content { padding-bottom: 220px; }

  .intro-grid,
  .split-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .solution-grid,
  .project-grid,
  .gallery-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-strip-inner {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 20px;
  }

  .hero-stat {
    border-right: 0;
    border-top: 1px solid rgba(255,255,255,0.12);
  }

}

@media (max-width: 640px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-step::after { display: none; }
  .partner-marquee-section { padding: 72px 0 78px; }
  .partner-marquee-intro { margin-bottom: 42px; padding: 0 20px; }
  .marquee-row + .marquee-row { margin-top: 34px; }
  .marquee-logo-card {
    flex-basis: 150px;
    width: 150px;
    height: 94px;
    padding: 18px;
  }
  .marquee-logo-card img { max-width: 116px; max-height: 54px; }
  .marquee-group { gap: 14px; padding-right: 14px; }
  .marquee-track-left { animation-duration: 50s; }
  .marquee-track-right { animation-duration: 54s; }
  .marquee-viewport {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  }
  .solution-grid > .solution-card:last-child:nth-child(odd) { grid-column: auto; }
  .project-path-grid { grid-template-columns: 1fr; }
  .project-path-card { min-height: auto; padding: 26px; }
  .enterprise-hero {
    min-height: 760px;
    flex-direction: column;
    align-items: stretch;
  }

  .enterprise-hero-content {
    padding: 68px 0 40px;
  }

  .hero-strip { position: relative; margin-top: auto; }
  .contact-form-panel { padding: 24px 20px; }
  .lightbox { padding: 16px; }
  .lightbox-panel { max-height: calc(100dvh - 32px); overflow-y: auto; }

  .hero-actions,
  .inline-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .inline-actions .btn {
    width: 100%;
  }

  .hero-strip-inner,
  .card-grid,
  .card-grid.five,
  .solution-grid,
  .project-grid,
  .gallery-grid,
  .blog-grid,
  .industry-grid,
  .why-grid,
  .value-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .inner-hero {
    padding: 124px 0 64px;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-viewport {
    overflow-x: auto;
    scrollbar-width: thin;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .marquee-track {
    animation: none;
    transform: none;
    will-change: auto;
  }

  .marquee-group[aria-hidden="true"],
  .client-marquee-group .marquee-logo-card[aria-hidden="true"] {
    display: none;
  }
}

/* ===== HOMEPAGE 2026 REFINEMENT ===== */
.home-why .intro-text + .intro-text { margin-top: 14px; }

.capability-showcase-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
}

.capability-showcase-card {
  grid-column: span 2;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(15, 27, 45, 0.045);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.capability-showcase-card:nth-child(4) { grid-column: 2 / span 2; }

.capability-showcase-card:hover,
.capability-showcase-card:focus-visible {
  border-color: rgba(227, 6, 19, 0.38);
  box-shadow: 0 16px 38px rgba(15, 27, 45, 0.11);
  outline: none;
  transform: translateY(-5px);
}

.capability-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e9edf2;
}

.capability-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.capability-showcase-card:hover .capability-media img,
.capability-showcase-card:focus-visible .capability-media img { transform: scale(1.035); }

.capability-body { position: relative; padding: 34px 26px 26px; }

.capability-body .capability-icon {
  position: absolute;
  top: -29px;
  left: 24px;
  margin: 0;
  background: #fff5f5;
  box-shadow: 0 5px 16px rgba(15, 27, 45, 0.12);
}

.capability-body h3 {
  min-height: 52px;
  margin: 10px 0 10px;
  color: #0f1b2d;
  font-size: 1.08rem;
  line-height: 1.45;
}

.capability-body p {
  min-height: 94px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.72;
}

.card-link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-top: 18px;
  color: var(--red);
  font-family: "Outfit", sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
}

.industries-band {
  padding: 82px 0;
  overflow: hidden;
  background: #0f1b2d;
  color: #fff;
}

.industries-heading {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 40px;
}

.industries-heading .section-kicker { margin: 0; color: #ff666f; }
.industries-heading h2 { max-width: 760px; color: #fff; font-size: clamp(1.75rem, 3.4vw, 2.65rem); line-height: 1.17; }

.industries-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.industry-item {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  padding: 25px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.industry-item:last-child { border-right: 0; }
.industry-item svg { width: 34px; height: 34px; color: #ff404a; stroke-width: 1.8; }
.industry-item span { color: #fff; font-family: "Outfit", sans-serif; font-size: 0.95rem; font-weight: 700; line-height: 1.45; }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.work-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(15, 27, 45, 0.05);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.work-card:hover { transform: translateY(-4px); border-color: rgba(227, 6, 19, 0.3); box-shadow: 0 15px 34px rgba(15, 27, 45, 0.1); }

.work-visual {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  gap: 22px;
  justify-content: flex-end;
  padding: 28px;
  background: linear-gradient(135deg, #0e1b2e 0%, #24344c 70%, #9d101b 180%);
}

.work-card:nth-child(2) .work-visual { background: linear-gradient(135deg, #111d30 0%, #273c51 70%, #ba101b 170%); }
.work-card:nth-child(3) .work-visual { background: linear-gradient(135deg, #121a28 0%, #344050 70%, #a30b15 180%); }
.work-visual svg { width: 46px; height: 46px; color: #ff424d; stroke-width: 1.7; }
.work-visual span { color: rgba(255,255,255,0.88); font-family: "Outfit", sans-serif; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.work-body { padding: 26px; }
.work-body h3 { margin: 2px 0 10px; color: #0f1b2d; font-size: 1.12rem; line-height: 1.45; }
.work-body p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.72; }
.work-actions { margin-top: 32px; }

.client-logo-static { display: flex; flex-wrap: wrap; gap: 22px; }
.client-note { margin-top: 14px; color: #7b8490; font-size: 0.78rem; }

.insights-head {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
}

.insights-head > div { max-width: 760px; }
.insights-head .btn { flex-shrink: 0; margin-bottom: 8px; }
.insights-layout { display: grid; grid-template-columns: 1.18fr 0.82fr; gap: 24px; }

.insight-feature,
.insight-compact {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(15, 27, 45, 0.05);
}

.insight-visual {
  position: relative;
  display: flex;
  min-height: 250px;
  flex-direction: column;
  gap: 18px;
  justify-content: flex-end;
  padding: 0;
  background: #0d192a;
}

.insight-visual::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(8,16,28,0.82)); }
.insight-visual img { width: 100%; min-height: 250px; object-fit: cover; }
.insight-visual > span { position: absolute; bottom: 24px; left: 28px; z-index: 1; color: #fff; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.insight-content { padding: 30px; }
.insight-content h3 { margin: 12px 0; color: #0f1b2d; font-size: 1.48rem; line-height: 1.35; }
.insight-content p, .insight-compact p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }
.insight-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--text-muted); font-size: 0.76rem; }
.insight-meta span { color: var(--red); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.insight-meta time::before { content: "•"; margin-right: 10px; color: #c0c5cc; }
.insight-side { display: grid; gap: 24px; }
.insight-compact { display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: start; padding: 26px; }
.compact-media { width: 96px; height: 116px; overflow: hidden; border-radius: 10px; background: #f1f3f6; }
.compact-media img { width: 100%; height: 100%; object-fit: cover; }
.insight-compact h3 { margin: 10px 0 8px; color: #0f1b2d; font-size: 1.06rem; line-height: 1.4; }

@media (max-width: 1120px) {
  .capability-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capability-showcase-card { grid-column: auto; }
  .capability-showcase-card:nth-child(4) { grid-column: auto; }
  .capability-showcase-card:last-child { grid-column: 1 / -1; max-width: calc(50% - 12px); width: 100%; justify-self: center; }
  .industries-list { grid-template-columns: repeat(3, 1fr); }
  .industry-item:nth-child(3) { border-right: 0; }
  .industry-item:nth-child(-n+3) { border-bottom: 1px solid rgba(255,255,255,0.16); }
  .insights-layout { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-card { display: grid; grid-template-columns: 0.85fr 1.15fr; }
  .work-visual { min-height: 100%; }
  .industries-heading { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 640px) {
  .capability-showcase-grid { grid-template-columns: 1fr; }
  .capability-showcase-card:last-child { grid-column: auto; max-width: none; }
  .capability-body h3, .capability-body p { min-height: 0; }
  .industries-list { grid-template-columns: 1fr; }
  .industry-item { min-height: 104px; flex-direction: row; align-items: center; justify-content: flex-start; border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.16); }
  .industry-item:nth-child(-n+3) { border-bottom: 1px solid rgba(255,255,255,0.16); }
  .industry-item:last-child { border-bottom: 0; }
  .work-card { display: block; }
  .work-visual { min-height: 170px; }
  .client-logo-static { gap: 14px; }
  .client-logo-static .marquee-logo-card { flex-basis: calc(50% - 7px); width: calc(50% - 7px); }
  .insights-head { align-items: flex-start; flex-direction: column; }
  .insight-compact { grid-template-columns: 1fr; }
  .compact-media { width: 100%; height: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  .enterprise-hero-bg,
  .capability-media img { animation: none; transition: none; }
}

/* ===== DELIVERY PROCESS TIMELINE ===== */
.delivery-process-section { background: #fff; }

.delivery-process-section .section-head h2 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.delivery-process-section .section-head p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.process-timeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
  margin-bottom: 44px;
}

.ptl-connector {
  width: 2px;
  background: linear-gradient(180deg, var(--red) 0%, rgba(227,6,19,0.15) 100%);
  align-self: stretch;
  min-height: 60px;
  margin-top: 64px;
  border-radius: 2px;
  flex-shrink: 0;
}

.process-timeline-step {
  position: relative;
  padding: 36px 28px 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(15,27,45,0.05);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.process-timeline-step:hover {
  transform: translateY(-5px);
  border-color: rgba(227,6,19,0.3);
  box-shadow: 0 14px 36px rgba(15,27,45,0.1);
}

.ptl-number {
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--red-dark);
  background: var(--red-pale);
  border: 1px solid var(--border-red);
  border-radius: 100px;
  padding: 4px 12px;
  margin-bottom: 20px;
}

.ptl-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.ptl-icon svg {
  width: 26px;
  height: 26px;
  color: var(--red);
  stroke-width: 2;
}

.process-timeline-step h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.process-timeline-step p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.8;
}

.process-cta { margin-top: 0; }

@media (max-width: 1024px) {
  .process-timeline {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .ptl-connector { display: none; }
}

@media (max-width: 580px) {
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ===== FAQ ACCORDION ===== */
.faq-section { background: #f7f8fa; }

.faq-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 72px;
  align-items: start;
}

.faq-intro h2 {
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  font-weight: 850;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.faq-intro p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 14px;
}

.faq-contact-prompt {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.faq-contact-prompt p {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(15,27,45,0.05);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child { border-bottom: 0; }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  text-align: left;
  background: transparent;
  cursor: pointer;
  transition: background var(--t-fast);
}

.faq-question:hover { background: var(--bg-off); }
.faq-question[aria-expanded="true"] { background: var(--red-faint); }

.faq-question span {
  font-family: "Outfit", sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.5;
}

.faq-question[aria-expanded="true"] span { color: var(--red); }

.faq-question svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--t-fast);
}

.faq-question[aria-expanded="true"] svg {
  transform: rotate(180deg);
  color: var(--red);
}

.faq-answer {
  padding: 0 24px 22px;
  animation: faqOpen 0.28s ease;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.91rem;
  line-height: 1.85;
}

.faq-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  color: var(--red);
  font-family: "Outfit", sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  transition: gap var(--t-fast);
}

.faq-cta-link:hover { gap: 9px; }

@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 960px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .faq-contact-prompt { display: none; }
}

/* Floating WhatsApp styles live in whatsapp.css, shared by every page. */
