/*
 * Ascent24 Technologies: shared page template.
 * Included only on ISO, FAQ, Services, Products, Hire us, and
 * Coimbatore manufacturing automation. Everything sits under
 * <main class="a24-page">, so the shared header, footer and other
 * pages are not affected.
 */
.a24-page {
  --a24-red: #EF4444;
  --a24-ink: #0F172A;
  --a24-slate: #475569;
  --a24-muted: #64748B;
  --a24-line: #E2E8F0;
  --a24-soft: #F8FAFC;
  --a24-radius: 20px;
  --a24-gutter: 20px;
  --a24-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px -18px rgba(15, 23, 42, .18);
  display: block;
  font-family: Roboto, "A24 Roboto Fallback", "Segoe UI", Arial, sans-serif;
  color: var(--a24-ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* ---------- Layout ---------- */
.a24-page .a24-section {
  position: relative;
  padding: 64px 0;
  margin: 0;
  border-radius: 0;
}
.a24-page .a24-section--soft { background: var(--a24-soft); }
.a24-page .a24-section--white { background: #fff; }
.a24-page .a24-section--dark { background: var(--a24-ink); color: #fff; }

.a24-page .a24-container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--a24-gutter);
  padding-right: var(--a24-gutter);
}
.a24-page .a24-container--narrow > * { max-width: 860px; }
.a24-page .a24-hero__content { max-width: 820px; }

/* Hero: about 32px below the header on phones, 48px on desktop. */
.a24-page .a24-hero {
  position: relative;
  padding: 32px 0 56px;
  background: #fff;
}

.a24-page .a24-section-head {
  max-width: 760px;
  margin: 0 0 40px;
  text-align: left;
}
.a24-page .a24-section-head > :last-child { margin-bottom: 0; }
.a24-page .a24-section-head--row { max-width: none; }
.a24-page .a24-section-head-wrap { margin-bottom: 40px; }
.a24-page .a24-section-head-wrap .a24-section-head { margin-bottom: 0; }
.a24-page .a24-section-head .a24-lead { margin-bottom: 0; }
.a24-page .a24-container > .a24-lead { margin-bottom: 40px; }

@media (min-width: 768px) {
  .a24-page .a24-container > .a24-lead { margin-bottom: 48px; }
  .a24-page { --a24-gutter: 32px; }
  .a24-page .a24-section { padding: 96px 0; }
  .a24-page .a24-hero { padding: 48px 0 80px; }
  .a24-page .a24-section-head { margin-bottom: 48px; }
  .a24-page .a24-section-head-wrap { margin-bottom: 48px; }
}

/* ---------- Type scale ---------- */
.a24-page h1,
.a24-page .a24-h1 {
  font-family: inherit;
  font-size: 36px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: inherit;
  margin: 0 0 20px;
  text-wrap: balance;
}
.a24-page h2,
.a24-page .a24-h2 {
  font-family: inherit;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: inherit;
  margin: 0 0 16px;
  text-wrap: balance;
}
.a24-page h3,
.a24-page .a24-h3 {
  font-family: inherit;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: inherit;
  margin-bottom: 8px;
}
.a24-page h1 span,
.a24-page h2 span { font-style: normal; }

.a24-page p,
.a24-page li,
.a24-page .a24-body {
  font-size: 16px;
  line-height: 26px;
}
.a24-page p { margin-bottom: 16px; }
.a24-page p:last-child { margin-bottom: 0; }
.a24-page .a24-text { color: var(--a24-slate); }
.a24-page .a24-section--dark .a24-text,
.a24-page .a24-section--dark p { color: #CBD5E1; }

.a24-page .a24-lead {
  font-size: 16px;
  line-height: 26px;
  color: var(--a24-slate);
  max-width: 680px;
  margin: 0 0 16px;
}
.a24-page .a24-meta,
.a24-page small {
  font-size: 14px;
  line-height: 22px;
  color: var(--a24-muted);
}
.a24-page .a24-eyebrow {
  display: block;
  font-size: 13px;
  line-height: 20px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--a24-red);
  margin: 0 0 16px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
}
.a24-page .a24-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  line-height: 22px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--a24-muted);
  margin: 0 0 16px;
}
.a24-page .a24-accent { color: var(--a24-red); }
.a24-page .a24-stat {
  font-size: 36px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--a24-red);
  margin: 0 0 8px;
}
.a24-page .a24-meta li { font-size: inherit; line-height: inherit; }

@media (min-width: 768px) {
  .a24-page h1,
  .a24-page .a24-h1 { font-size: 60px; line-height: 1.05; margin-bottom: 24px; }
  .a24-page h2,
  .a24-page .a24-h2 { font-size: 48px; line-height: 1.1; }
  .a24-page .a24-lead { font-size: 18px; line-height: 30px; }
}

/* ---------- Cards ---------- */
.a24-page .a24-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 768px) {
  .a24-page .a24-grid { gap: 24px; }
  .a24-page .a24-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .a24-page .a24-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .a24-page .a24-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .a24-page .a24-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .a24-page .a24-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.a24-page .a24-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--a24-line);
  border-radius: var(--a24-radius);
  padding: 24px;
  box-shadow: var(--a24-shadow);
  color: var(--a24-ink);
  transform: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.a24-page a.a24-card:hover,
.a24-page .a24-card:hover {
  transform: none;
  border-color: rgba(239, 68, 68, .35);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 18px 40px -20px rgba(15, 23, 42, .25);
}
.a24-page .a24-card p,
.a24-page .a24-card li { color: var(--a24-slate); }
.a24-page .a24-card h3 { color: var(--a24-ink); }
.a24-page .a24-section--dark .a24-card {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: none;
  color: #fff;
}
.a24-page .a24-section--dark .a24-card h3 { color: #fff; }
.a24-page .a24-section--dark .a24-card p,
.a24-page .a24-section--dark .a24-card li { color: #CBD5E1; }
.a24-page .a24-section--dark .a24-card:hover { border-color: rgba(255, 255, 255, .28); }
@media (min-width: 768px) {
  .a24-page .a24-card { padding: 32px; }
}
.a24-page .a24-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #FEF2F2;
  color: var(--a24-red);
  margin-bottom: 20px;
  transform: none;
}

/* Timeline (ISO page) in brand colors. */
.a24-page .timeline-item::before { background: var(--a24-line); }
.a24-page .timeline-dot { background: var(--a24-red); border-color: #fff; }

/* ---------- Buttons and links ---------- */
.a24-page .a24-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
@media (min-width: 640px) {
  .a24-page .a24-actions { flex-direction: row; flex-wrap: wrap; align-items: center; }
}
.a24-page .a24-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 16px;
  line-height: 22px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
  transform: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.a24-page .a24-actions .a24-btn { width: 100%; }
@media (min-width: 640px) {
  .a24-page .a24-actions .a24-btn { width: auto; }
}
.a24-page .a24-btn--primary { background: var(--a24-red); color: #fff; border-color: var(--a24-red); }
.a24-page .a24-btn--primary:hover { background: var(--a24-ink); border-color: var(--a24-ink); color: #fff; }
.a24-page .a24-btn--secondary { background: #fff; color: var(--a24-ink); border-color: var(--a24-ink); }
.a24-page .a24-btn--secondary:hover { background: var(--a24-ink); color: #fff; }
.a24-page .a24-section--dark .a24-btn--primary:hover { background: #fff; border-color: #fff; color: var(--a24-ink); }
.a24-page .a24-section--dark .a24-btn--secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.a24-page .a24-section--dark .a24-btn--secondary:hover { background: #fff; color: var(--a24-ink); border-color: #fff; }
.a24-page .a24-btn:focus-visible,
.a24-page .a24-link:focus-visible,
.a24-page .a24-faq-item > summary:focus-visible {
  outline: 2px solid var(--a24-red);
  outline-offset: 3px;
}
.a24-page .a24-btn[disabled] { opacity: .7; cursor: default; }

.a24-page .a24-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--a24-red);
  text-decoration: none;
}
.a24-page .a24-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Forms ---------- */
.a24-page .a24-field-label {
  display: block;
  font-size: 14px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #334155;
  margin: 0 0 8px;
}
.a24-page .a24-input {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--a24-ink);
  background: #fff;
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  outline: none;
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.a24-page .a24-input:focus {
  border-color: var(--a24-red);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .15);
}
.a24-page textarea.a24-input { min-height: 120px; resize: vertical; }

/* ---------- FAQ accordion ---------- */
.a24-page .a24-faq { display: grid; gap: 12px; }
.a24-page .a24-faq-item {
  background: #fff;
  border: 1px solid var(--a24-line);
  border-radius: 16px;
  padding: 0;
  transition: border-color .2s ease;
}
.a24-page .a24-faq-item[open] { border-color: rgba(239, 68, 68, .35); }
.a24-page .a24-faq-item > summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  font-size: 18px;
  line-height: 28px;
  font-weight: 700;
  color: var(--a24-ink);
  list-style: none;
  cursor: pointer;
}
.a24-page .a24-faq-item > summary::-webkit-details-marker { display: none; }
.a24-page .a24-faq-item > summary > h3 {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: 0;
  margin: 0;
}
.a24-page .a24-faq-item > summary::after {
  content: "+";
  flex: none;
  width: 28px;
  height: 28px;
  font-size: 24px;
  line-height: 28px;
  font-weight: 400;
  text-align: center;
  color: var(--a24-muted);
  transition: transform .2s ease, color .2s ease;
}
.a24-page .a24-faq-item[open] > summary::after { transform: rotate(45deg); color: var(--a24-red); }
.a24-page .a24-faq-item > :not(summary) { padding: 0 20px 20px; margin: 0; color: var(--a24-slate); }
@media (min-width: 768px) {
  .a24-page .a24-faq-item > summary { padding: 22px 28px; }
  .a24-page .a24-faq-item > :not(summary) { padding: 0 28px 24px; }
}

/* ---------- Final call to action ---------- */
.a24-page .a24-cta { background: var(--a24-ink); color: #fff; }
.a24-page .a24-cta h2,
.a24-page .a24-cta h3 { color: #fff; }
.a24-page .a24-cta .a24-text,
.a24-page .a24-cta .a24-lead,
.a24-page .a24-cta > .a24-container > * > p { color: #CBD5E1; }
.a24-page .a24-cta .a24-card,
.a24-page .a24-cta form.a24-card {
  background: #fff;
  border-color: #fff;
  color: var(--a24-ink);
}
.a24-page .a24-cta .a24-card p { color: var(--a24-slate); }
.a24-page .a24-cta .a24-card h3 { color: var(--a24-ink); }
.a24-page .a24-cta a:not(.a24-btn) { color: #fff; }
.a24-page .a24-cta .a24-card a:not(.a24-btn) { color: var(--a24-red); }

.a24-page .a24-cta__inner { max-width: 760px; }
.a24-page .a24-cta__form { max-width: 560px; margin-top: 8px; }
.a24-page .a24-cta__inner > p { color: #CBD5E1; }

@media (prefers-reduced-motion: reduce) {
  .a24-page *,
  .a24-page *::after { transition-duration: 0s !important; }
}
