/* =============================================================
   SYNERAGARD 24 — Homepage
   ============================================================= */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 880px);
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: var(--sp-10);
  background: var(--sg-black);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.32; filter: grayscale(0.2) contrast(1.05); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(253,210,3,0.16), transparent 60%),
    linear-gradient(180deg, rgba(11,12,14,0.72) 0%, rgba(11,12,14,0.9) 55%, var(--sg-black) 100%);
}
/* faint hexagon grid motif */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 0l28 16v32L28 64 0 48V16z' fill='none' stroke='%23FDD203' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 100px;
}
.hero__inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--sp-9); align-items: center; width: 100%; }
.hero__eyebrow { color: var(--sg-gold); }
.hero h1 { color: #fff; font-size: var(--fs-hero); font-weight: var(--fw-extra); letter-spacing: -0.03em; margin-top: var(--sp-4); }
.hero h1 em { color: var(--sg-gold); font-style: normal; }
.hero__lead { color: #C9CCD2; font-size: var(--fs-lg); max-width: 54ch; margin-top: var(--sp-5); }
.hero-actions { display: flex; gap: var(--sp-4); flex-wrap: wrap; margin-top: var(--sp-7); }
.hero__trust { display: flex; flex-wrap: wrap; gap: var(--sp-5) var(--sp-7); margin-top: var(--sp-8); padding-top: var(--sp-6); border-top: 1px solid rgba(255,255,255,0.12); }
.hero__trust-item { display: flex; align-items: center; gap: var(--sp-3); }
.hero__trust-item svg { width: 26px; height: 26px; color: var(--sg-gold); }
.hero__trust-item b { display: block; color: #fff; font-size: 1rem; line-height: 1.2; }
.hero__trust-item span { color: #A7ABB4; font-size: var(--fs-xs); }

/* Hero side card */
.hero__card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(253,210,3,0.28);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  backdrop-filter: blur(6px);
  box-shadow: var(--sh-lg);
}
.hero__card h3 { color: #fff; font-size: var(--fs-xl); }
.hero__card p { color: #A7ABB4; font-size: var(--fs-sm); margin-top: var(--sp-2); }
.hero__card .field { margin-top: var(--sp-4); }
.hero__card label { display: block; font-size: var(--fs-xs); color: #C9CCD2; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.08em; }
.hero__card input, .hero__card select {
  width: 100%; padding: 0.85rem 1rem; border-radius: var(--r-md);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); color: #fff;
}
.hero__card input::placeholder { color: #7d818a; }
.hero__card input:focus, .hero__card select:focus { outline: none; border-color: var(--sg-gold); }
.hero__card option { color: #111; }

/* ---------- Trust logos strip ---------- */
.logos { padding-block: var(--sp-7); border-bottom: 1px solid var(--border); }
.logos__label { text-align: center; color: var(--text-muted); font-size: var(--fs-sm); margin-bottom: var(--sp-5); }
.logos__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--sp-6) var(--sp-9); }
.logos__row span { font-weight: var(--fw-bold); color: var(--sg-slate-400); font-size: 1.1rem; letter-spacing: 0.02em; filter: grayscale(1); transition: color var(--dur), filter var(--dur); }
.logos__row span:hover { color: var(--sg-slate-600); filter: none; }

/* Client logos wall (admin-managed) — centered, uniform cards, real colors */
.clients-section .section-head { margin-bottom: var(--sp-7); }
.clients__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;      /* balanced whether 1 logo or 12 */
  gap: var(--sp-4) var(--sp-5);
}
.clients__item {
  flex: 0 1 200px;
  max-width: 220px;
  height: 112px;
  display: grid;
  place-items: center;
  padding: var(--sp-4) var(--sp-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.clients__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: color-mix(in srgb, var(--sg-gold) 45%, var(--border));
}
/* Logo keeps its real colors, capped to fit the card, subtle mute → full on hover.
   No grayscale: works with any coloured client logo. */
.clients__item img {
  max-height: 68px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.clients__item:hover img { opacity: 1; }
@media (max-width: 560px) {
  .clients__item { flex-basis: 140px; height: 92px; padding: var(--sp-3) var(--sp-4); }
  .clients__item img { max-height: 54px; }
}

/* ---------- Stats ---------- */
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }
.stat { text-align: center; }
.stat__num { font-family: var(--font-display); font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); font-weight: var(--fw-extra); color: var(--sg-gold); line-height: 1; letter-spacing: -0.03em; }
.section--dark .stat__num { color: var(--sg-gold); }
.stat__label { margin-top: var(--sp-3); color: var(--text-muted); font-weight: var(--fw-medium); }
.section--dark .stat__label { color: #A7ABB4; }

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.service-card { display: flex; flex-direction: column; height: 100%; }
.service-card__icon { width: 56px; height: 56px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--sg-gold-100); color: var(--sg-blue); margin-bottom: var(--sp-4); transition: background var(--dur), color var(--dur); }
.service-card__icon svg { width: 28px; height: 28px; }
.service-card:hover .service-card__icon { background: var(--sg-gold); color: var(--sg-black); }
.service-card h3 { font-size: var(--fs-xl); margin-bottom: var(--sp-2); }
.service-card p { color: var(--text-muted); font-size: var(--fs-sm); flex-grow: 1; }
.service-card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--sp-4); color: var(--sg-gold-600); font-weight: var(--fw-semibold); font-size: var(--fs-sm); }
.service-card__link svg { width: 16px; height: 16px; transition: transform var(--dur); }
.service-card:hover .service-card__link svg { transform: translateX(4px); }

/* ---------- Feature (why choose) ---------- */
.why { position: relative; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-9); align-items: center; }
.feature-list { display: grid; gap: var(--sp-5); }
.feature { display: flex; gap: var(--sp-4); }
.feature__icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: var(--r-md); display: grid; place-items: center; background: var(--sg-black); color: var(--sg-gold); }
.feature__icon svg { width: 24px; height: 24px; }
.feature h4 { font-size: var(--fs-lg); margin-bottom: 4px; }
.feature p { color: var(--text-muted); font-size: var(--fs-sm); }
.why__visual { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 4/5; background: var(--sg-blue-50); }
.why__visual img { width: 100%; height: 100%; object-fit: cover; }
.why__badge { position: absolute; left: var(--sp-5); bottom: var(--sp-5); background: #fff; border-radius: var(--r-lg); padding: var(--sp-4) var(--sp-5); box-shadow: var(--sh-lg); display: flex; align-items: center; gap: var(--sp-3); }
.why__badge svg { width: 34px; height: 34px; color: var(--sg-gold-600); }
.why__badge b { display: block; color: var(--sg-blue); font-size: 1.4rem; line-height: 1; }
.why__badge span { color: var(--text-muted); font-size: var(--fs-xs); }

/* ---------- Industries ---------- */
.industries__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--sp-4); }
.industry { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--sp-3); padding: var(--sp-5) var(--sp-3); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); transition: transform var(--dur), border-color var(--dur), box-shadow var(--dur); }
.industry:hover { transform: translateY(-4px); border-color: var(--sg-gold); box-shadow: var(--sh-md); }
.industry svg { width: 32px; height: 32px; color: var(--sg-blue); }
.industry:hover svg { color: var(--sg-gold-600); }
.industry span { font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--text); }

/* ---------- Process ---------- */
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); counter-reset: step; }
.step { position: relative; }
.step__num { width: 54px; height: 54px; border-radius: 50%; background: var(--sg-gold); color: var(--sg-black); display: grid; place-items: center; font-weight: var(--fw-extra); font-size: 1.3rem; margin-bottom: var(--sp-4); }
.step h4 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.step p { color: var(--text-muted); font-size: var(--fs-sm); }
.section--dark .step p { color: #A7ABB4; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 27px; left: 66px; right: -16px; height: 2px; background: repeating-linear-gradient(90deg, var(--sg-gold) 0 8px, transparent 8px 16px); opacity: 0.5; }

/* ---------- Testimonials ---------- */
.slider { position: relative; overflow: hidden; }
.slider__viewport { overflow: hidden; }
.slider__track { display: flex; transition: transform var(--dur-slow) var(--ease-out); }
.slider__slide { min-width: 100%; padding: var(--sp-2); }
.testimonial { max-width: 760px; margin: 0 auto; text-align: center; }
.testimonial__stars { display: inline-flex; gap: 4px; color: var(--sg-gold); margin-bottom: var(--sp-4); }
.testimonial__stars svg { width: 22px; height: 22px; }
.testimonial blockquote { font-size: var(--fs-2xl); font-weight: var(--fw-medium); color: var(--heading); line-height: 1.4; letter-spacing: -0.01em; }
.testimonial__author { margin-top: var(--sp-5); font-weight: var(--fw-semibold); color: var(--heading); }
.testimonial__author span { display: block; color: var(--text-muted); font-weight: var(--fw-regular); font-size: var(--fs-sm); }
.slider__controls { display: flex; justify-content: center; gap: var(--sp-3); margin-top: var(--sp-7); }
.slider__dots { display: flex; gap: 8px; align-items: center; }
.slider__dots [data-dot] { width: 9px; height: 9px; border-radius: 50%; background: var(--sg-slate-200); transition: all var(--dur); }
.slider__dots [data-dot].is-active { width: 26px; border-radius: 6px; background: var(--sg-gold); }
.slider__arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; color: var(--sg-blue); transition: all var(--dur); }
.slider__arrow:hover { background: var(--sg-blue); color: #fff; border-color: var(--sg-blue); }
.slider__arrow svg { width: 20px; height: 20px; }
.slider__arrow.prev svg { transform: rotate(180deg); }

/* ---------- Careers / recruitment band ---------- */
.careers-band { background: var(--bg-alt); }
.careers-band__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--sp-9); align-items: center; }
.careers-band__points { display: grid; gap: var(--sp-3); }
.careers-band__points li { display: flex; align-items: flex-start; gap: var(--sp-3); color: var(--text); font-weight: var(--fw-medium); }
.careers-band__points svg { width: 22px; height: 22px; color: var(--sg-gold-600); flex-shrink: 0; margin-top: 2px; }
.careers-band__card { background: var(--sg-black); color: #fff; border-radius: var(--r-xl); padding: var(--sp-7); box-shadow: var(--sh-lg); }
.careers-band__card h3 { color: #fff; font-size: var(--fs-xl); margin-bottom: var(--sp-5); }
.careers-steps { display: grid; gap: var(--sp-4); margin-bottom: var(--sp-5); }
.careers-steps li { display: flex; gap: var(--sp-4); align-items: flex-start; }
.careers-steps__n { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: var(--sg-gold); color: var(--sg-black); display: grid; place-items: center; font-weight: var(--fw-extra); }
.careers-steps b { color: #fff; display: block; }
.careers-steps small { color: #A7ABB4; font-size: var(--fs-sm); }
.careers-band__secure { display: flex; align-items: center; gap: var(--sp-2); color: #A7ABB4; font-size: var(--fs-sm); margin-bottom: var(--sp-5); }
.careers-band__secure svg { width: 18px; height: 18px; color: var(--sg-gold-400); }

/* ---------- Emergency CTA band ---------- */
.cta-band { background: var(--sg-gold); color: var(--sg-black); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-6); flex-wrap: wrap; }
.cta-band h2 { color: var(--sg-black); font-size: var(--fs-2xl); }
.cta-band p { color: rgba(11,12,14,0.75); font-weight: var(--fw-medium); }
.cta-band .btn--primary { background: var(--sg-black); color: #fff; }
.cta-band .btn--primary:hover { background: #000; }

/* ---------- FAQ ---------- */
.faq__list { max-width: 820px; margin: 0 auto; display: grid; gap: var(--sp-3); }
.faq-item { border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); overflow: hidden; }
.faq-item summary { cursor: pointer; padding: var(--sp-5); font-weight: var(--fw-semibold); color: var(--heading); list-style: none; display: flex; justify-content: space-between; gap: var(--sp-4); align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--sg-gold-600); transition: transform var(--dur); line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__body { padding: 0 var(--sp-5) var(--sp-5); color: var(--text-muted); }

/* ---------- Blog teaser ---------- */
.posts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.post-card { overflow: hidden; padding: 0; }
.post-card__media { aspect-ratio: 16/10; background: var(--sg-blue-50); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: var(--sp-5); }
.post-card__meta { font-size: var(--fs-xs); color: var(--sg-gold-600); text-transform: uppercase; letter-spacing: 0.08em; font-weight: var(--fw-semibold); }
.post-card h3 { font-size: var(--fs-lg); margin: var(--sp-2) 0; }
.post-card p { color: var(--text-muted); font-size: var(--fs-sm); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--sp-7); }
  .hero__card { max-width: 480px; }
  .services__grid, .posts__grid { grid-template-columns: repeat(2, 1fr); }
  .industries__grid { grid-template-columns: repeat(4, 1fr); }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .why__grid { grid-template-columns: 1fr; }
  .careers-band__grid { grid-template-columns: 1fr; gap: var(--sp-7); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-7) var(--sp-5); }
}
@media (max-width: 640px) {
  .services__grid, .posts__grid { grid-template-columns: 1fr; }
  .industries__grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .testimonial blockquote { font-size: var(--fs-xl); }
}
