/* ─────────────────────────────────────────────
   CLURE PROJECTS — Design System
   ───────────────────────────────────────────── */

/* ── TOKENS ──────────────────────────────────── */
:root {
  --color-dark:       #111827;
  --color-blue:       #2563EB;
  --color-white:      #ffffff;
  --color-grey:       #F9FAFB;
  --color-text-muted: #6B7280;
  --color-border:     #E5E7EB;
}

/* ── RESET ───────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── BASE ────────────────────────────────────── */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-dark);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.15;
  font-weight: 700;
  color: var(--color-dark);
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul, ol {
  list-style: none;
}

address {
  font-style: normal;
}

/* ─────────────────────────────────────────────
   UTILITIES
   ───────────────────────────────────────────── */

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

.section-padding {
  padding: 80px 0;
}

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: 12px;
}

.section-heading {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--color-dark);
  margin-bottom: 16px;
}

.section-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 13px 30px;
  border-radius: 8px;
  border: 2px solid var(--color-blue);
  background: var(--color-blue);
  color: var(--color-white);
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
  transition: opacity 0.15s;
}

.btn-primary:hover {
  opacity: 0.88;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 13px 30px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.65);
  background: transparent;
  color: var(--color-white);
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
  transition: background 0.15s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
}

/* ─────────────────────────────────────────────
   NAV
   ───────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-dark);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 2rem;
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav__logo img {
  height: 70px;
  width: auto;
  max-width: 260px;
  display: block;
  object-fit: contain;
}
.nav__badge {
  width: 36px;
  height: 36px;
  background: var(--color-blue);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav__brand {
  color: var(--color-white);
  font-size: 15px;
  font-weight: 600;
}

.nav__links {
  list-style: none;
  display: flex;
  gap: 28px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav__links a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--color-white);
}

.nav__links a.is-active {
  border-bottom-color: var(--color-blue);
}

.nav__phone {
  background: var(--color-blue);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 9999px;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
  transition: opacity 0.15s;
}

.nav__phone:hover {
  opacity: 0.88;
}

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  background: var(--color-dark);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.nav.is-open .nav__mobile {
  max-height: 400px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav__mobile ul {
  list-style: none;
  padding: 8px 2rem 20px;
}

.nav__mobile a {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: color 0.15s;
}

.nav__mobile a:hover,
.nav__mobile a.is-active {
  color: var(--color-white);
}

/* ─────────────────────────────────────────────
   PAGE HEADER  (inner pages)
   ───────────────────────────────────────────── */
.page-header {
  background: var(--color-dark);
  padding: 72px 0 64px;
  text-align: center;
}

.page-header__heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.page-header__sub {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.60);
  max-width: 540px;
  margin: 0 auto;
}

/* ─────────────────────────────────────────────
   HERO  (home page)
   ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 90vh;
  background: var(--color-dark);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-bottom: 80px;
}

.hero__img {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 60%, #111827 100%);
  background-size: cover;
  background-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17,24,39,0.92) 0%, rgba(17,24,39,0.52) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 2rem 40px;
}

.hero__rule {
  display: block;
  width: 48px;
  height: 4px;
  background: var(--color-blue);
  border-radius: 2px;
  margin-bottom: 28px;
}

.hero__heading {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  overflow-wrap: break-word;
}

.hero__accent {
  color: var(--color-blue);
}

.hero__sub {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ─────────────────────────────────────────────
   TRUST BAR
   ───────────────────────────────────────────── */
.trust {
  position: relative;
  z-index: 10;
  max-width: 860px;
  margin: -64px auto 0;
  padding: 0 2rem;
}

.trust__card {
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.13);
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
}

.trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 30px 20px;
}

.trust__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--color-blue);
}

.trust__icon svg { width: 100%; height: 100%; }

.trust__label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.3;
}

.trust__sep {
  display: block;
  width: 1px;
  height: 52px;
  background: var(--color-border);
}

/* ─────────────────────────────────────────────
   SERVICE CARDS
   ───────────────────────────────────────────── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.09);
  transform: translateY(-3px);
}

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 10px;
  color: var(--color-blue);
  flex-shrink: 0;
}

.service-card__icon svg { width: 24px; height: 24px; }

.service-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-dark);
}

.service-card__desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  flex: 1;
}

.service-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-blue);
  transition: opacity 0.15s;
  margin-top: 4px;
}

.service-card__link:hover { opacity: 0.72; }

/* ─────────────────────────────────────────────
   PRODUCT CATEGORY  (products page)
   ───────────────────────────────────────────── */
.product-category + .product-category {
  border-top: 1px solid var(--color-border);
}

.product-category__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  padding: 72px 0;
}

.product-category__inner--reverse {
  direction: rtl;
}

.product-category__inner--reverse > * {
  direction: ltr;
}

.product-category__img {
  aspect-ratio: 4 / 3;
  background: #D1D5DB;
  border-radius: 12px;
}

.product-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-top: 20px;
}

.product-list li {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-list li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-blue);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────
   INDUSTRY CARDS
   ───────────────────────────────────────────── */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.industry-card {
  position: relative;
  height: 350px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.industry-card__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1e3a5f 0%, #0c1f38 100%);
  background-size: cover;
  background-position: center center;
  transition: transform 0.55s ease;
}

/* Use background-image only (not shorthand) to avoid resetting background-size/position */
.industry-card:nth-child(2) .industry-card__bg { background-image: linear-gradient(135deg, #14532d 0%, #052e16 100%); background-size: cover; background-position: center center; }
.industry-card:nth-child(3) .industry-card__bg { background-image: linear-gradient(135deg, #431407 0%, #1c0702 100%); background-size: cover; background-position: center center; }
.industry-card:nth-child(4) .industry-card__bg { background-image: linear-gradient(135deg, #134e4a 0%, #042f2e 100%); background-size: cover; background-position: center center; }
.industry-card:nth-child(5) .industry-card__bg { background-image: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); background-size: cover; background-position: center center; }
.industry-card:nth-child(6) .industry-card__bg { background-image: linear-gradient(135deg, #3b0764 0%, #1e0a3c 100%); background-size: cover; background-position: center center; }

.industry-card:hover .industry-card__bg { transform: scale(1.03); }

.industry-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.06) 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 28px 28px;
}

.industry-card__title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 5px;
}

.industry-card__desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.5;
}

/* ─────────────────────────────────────────────
   STATS BAR  (about page)
   ───────────────────────────────────────────── */
.stats-bar {
  background: var(--color-blue);
  padding: 48px 0;
}

.stats-bar__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  text-align: center;
}

.stat-item {
  padding: 0 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.stat-item:last-child { border-right: none; }

.stat-item__number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-item__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ─────────────────────────────────────────────
   TESTIMONIALS
   ───────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-card__quote {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-dark);
  flex: 1;
}

.testimonial-card__quote::before { content: '\201C'; }
.testimonial-card__quote::after  { content: '\201D'; }

.testimonial-card__attr {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

/* ─────────────────────────────────────────────
   CTA BANNER
   ───────────────────────────────────────────── */
.cta-banner {
  background: var(--color-blue);
  padding: 72px 0;
  text-align: center;
}

.cta-banner__heading {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.cta-banner__sub {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px;
}

.cta-banner__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─────────────────────────────────────────────
   WHY CHOOSE US
   ───────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.why-item {
  background: var(--color-grey);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.why-item__icon {
  width: 44px;
  height: 44px;
  background: rgba(37, 99, 235, 0.10);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
  flex-shrink: 0;
}

.why-item__icon svg { width: 22px; height: 22px; }

.why-item__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
}

.why-item__desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* ─────────────────────────────────────────────
   CONTACT FORM
   ───────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-detail__icon {
  width: 20px;
  height: 20px;
  color: var(--color-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail__icon svg { width: 100%; height: 100%; }

.contact-detail__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.contact-detail__value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
  text-decoration: none;
  transition: color 0.15s;
}

.contact-detail__value:hover { color: var(--color-blue); }

.contact-map {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
  border-radius: 12px;
  margin-top: 8px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: var(--color-dark);
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.15s;
  line-height: 1.5;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9CA3AF;
}

/* ─────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────── */
.footer {
  background: var(--color-dark);
}

.footer__body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 2rem 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.footer__contact .section-label {
  margin-bottom: 16px;
}

.footer__heading {
  font-size: clamp(1.75rem, 3vw, 2.625rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 32px;
}

.footer__details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer__detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer__detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--color-blue);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer__detail-icon svg { width: 100%; height: 100%; }

.footer__detail-text {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.15s;
  line-height: 1.5;
}

a.footer__detail-text:hover { color: var(--color-white); }

.footer__brand {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.footer__logo-block {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer__badge {
  width: 56px;
  height: 56px;
  background: var(--color-blue);
  color: var(--color-white);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer__logo-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  display: block;
  line-height: 1;
  margin-bottom: 5px;
}

.footer__logo-loc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.42);
  font-weight: 600;
}

.footer__rule {
  height: 1px;
  background: rgba(255, 255, 255, 0.09);
  margin: 0 2rem;
}

.footer__bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer__bar-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 60px;
  gap: 16px;
}

.footer__bar-badge {
  width: 30px;
  height: 30px;
  background: var(--color-blue);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.footer__nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__nav a {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.15s;
}

.footer__nav a:hover { color: var(--color-white); }

.footer__fb {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.15s;
}

.footer__fb svg { width: 17px; height: 17px; }
.footer__fb:hover { color: var(--color-white); }

/* ─────────────────────────────────────────────
   TESTIMONIAL SLIDER
   ───────────────────────────────────────────── */
.testimonial-slider {
  max-width: 860px;
  margin: 48px auto 0;
  text-align: center;
}

.testimonial-slider__quote-icon {
  width: 36px;
  height: 36px;
  color: var(--color-blue);
  display: block;
  margin: 0 auto 24px;
  opacity: 0.65;
}

.testimonial-slider__controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.testimonial-slider__track {
  flex: 1;
  min-width: 0;
}

.testimonial-slider__arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--color-blue);
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s;
}

.testimonial-slider__arrow:hover {
  background: #1d4ed8;
  transform: scale(1.08);
}

.testimonial-slider__arrow svg {
  width: 18px;
  height: 18px;
}

.testimonial-slide {
  display: none;
}

.testimonial-slide.is-active {
  display: block;
  animation: testimonialFade 0.4s ease;
}

@keyframes testimonialFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.testimonial-slider__quote {
  font-size: 1.1875rem;
  line-height: 1.8;
  color: var(--color-dark);
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-slider__attr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.testimonial-slider__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.testimonial-slider__company {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-blue);
  opacity: 0.85;
}

.testimonial-slider__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}

.dot.is-active {
  background: var(--color-blue);
  transform: scale(1.3);
}

.dot:hover:not(.is-active) {
  background: #9CA3AF;
}

/* ─────────────────────────────────────────────
   FORM VALIDATION
   ───────────────────────────────────────────── */
.form-group input.is-error,
.form-group textarea.is-error,
.form-group select.is-error {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.10);
}

.form-error {
  font-size: 0.8125rem;
  color: #EF4444;
  font-weight: 600;
  margin-top: 2px;
}

.form-success {
  background: #ECFDF5;
  border: 1.5px solid #10B981;
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
  color: #065F46;
  font-weight: 600;
  font-size: 1.0625rem;
}

/* ─────────────────────────────────────────────
   PAGE HERO  (inner pages with background image)
   ───────────────────────────────────────────── */
.page-hero {
  position: relative;
  min-height: 50vh;
  background: var(--color-dark);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-hero__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #1e293b;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.72);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 2rem;
  text-align: center;
}

.page-hero__heading {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.page-hero__sub {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.68);
  max-width: 540px;
  margin: 0 auto;
}

/* ─────────────────────────────────────────────
   STORY GRID  (about page)
   ───────────────────────────────────────────── */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.story-img {
  aspect-ratio: 4 / 3;
  background: #D1D5DB;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
}

/* ─────────────────────────────────────────────
   WHY GRID — 4-column modifier
   ───────────────────────────────────────────── */
.why-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ─────────────────────────────────────────────
   TEAM GRID  (about page)
   ───────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.staff-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 24px 20px 28px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.staff-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.10);
  transform: translateY(-3px);
}

.staff-card__img {
  aspect-ratio: 1 / 1;
  background: #D1D5DB;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  margin-bottom: 12px;
}

.staff-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.2;
}

.staff-card__title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-blue);
  text-transform: uppercase;
  letter-spacing: 0.75px;
}

.staff-card__bio {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-top: 4px;
}

/* ─────────────────────────────────────────────
   VALUES GRID  (about page — dark bg)
   ───────────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.value-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.value-item__icon {
  width: 52px;
  height: 52px;
  background: rgba(37, 99, 235, 0.22);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93b4ff;
  flex-shrink: 0;
}

.value-item__icon svg { width: 24px; height: 24px; }

.value-item__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-white);
}

.value-item__desc {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.60);
  line-height: 1.7;
}

/* ─────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .service-grid        { grid-template-columns: repeat(2, 1fr); }
  .product-category__inner { grid-template-columns: 1fr; gap: 32px; }
  .product-category__inner--reverse { direction: ltr; }
  .testimonials-grid   { grid-template-columns: 1fr; }
  .why-grid--4         { grid-template-columns: repeat(2, 1fr); }
  .team-grid           { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Nav */
  .nav__links,
  .nav__phone  { display: none; }
  .nav__burger { display: flex; }

  /* Hero */
  .hero { padding-bottom: 56px; min-height: 80vh; }
  .hero__content { padding: 60px 1.5rem 32px; }
  .hero__heading { letter-spacing: -0.5px; }

  /* Trust bar */
  .trust { margin-top: -40px; padding: 0 1.25rem; }
  .trust__card { grid-template-columns: 1fr; }
  .trust__sep  { width: 60%; height: 1px; margin: 0 auto; }

  /* Grids */
  .service-grid     { grid-template-columns: 1fr; }
  .why-grid         { grid-template-columns: 1fr; }
  .industries-grid  { grid-template-columns: 1fr; }
  .stats-bar__inner { grid-template-columns: 1fr; gap: 32px; }
  .stat-item        { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.25); padding-bottom: 28px; }
  .stat-item:last-child { border-bottom: none; }
  .contact-layout   { grid-template-columns: 1fr; }
  .contact-map      { height: 300px; }

  /* Industry cards */
  .industry-card { height: 300px; }

  /* Footer */
  .footer__body { grid-template-columns: 1fr; gap: 40px; padding: 60px 1.5rem 52px; }
  .footer__brand { justify-content: flex-start; }
  .footer__bar-inner { grid-template-columns: auto auto; justify-content: space-between; height: auto; padding: 14px 0; }
  .footer__nav { display: none; }
  .footer__rule { margin: 0 1.5rem; }

  /* About page */
  .story-grid      { grid-template-columns: 1fr; gap: 32px; }
  .why-grid--4     { grid-template-columns: 1fr; }
  .team-grid       { grid-template-columns: repeat(2, 1fr); }
  .values-grid     { grid-template-columns: 1fr; gap: 28px; }

  /* Section padding */
  .section-padding { padding: 60px 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero__heading { font-size: 1.875rem; letter-spacing: -0.25px; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .btn-primary,
  .btn-secondary { width: 100%; justify-content: center; }
  .product-list { grid-template-columns: 1fr; }
  .cta-banner__actions { flex-direction: column; align-items: center; }
  .team-grid { grid-template-columns: 1fr; }
}
