/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-padding-top: 100px; }
body { font-family: 'Inter', sans-serif; color: #1A1A1A; background: #fff; }

/* ===== HEADER ===== */
header {
  background: #fff;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #EEEEEE;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
header .logo-img { height: 64px; }
.header-left { display: flex; align-items: center; gap: 16px; }
.header-left a { display: flex; line-height: 0; }
.header-contact-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.header-contact-info a {
  color: #4A4A4A;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-contact-info a:hover { color: #061554; }
.header-contact-info svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
nav { display: flex; gap: 32px; align-items: center; }
nav a {
  color: #4A4A4A;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
nav a:hover { color: #061554; }
.nav-cta {
  background: #061554;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 600;
}
/* ===== SEARCH ===== */
.search-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  margin-left: 4px;
}
.search-toggle svg { width: 20px; height: 20px; }
.search-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 200;
  justify-content: center;
  padding-top: 120px;
}
.search-overlay.active { display: flex; }
.search-box {
  background: #fff;
  border-radius: 8px;
  width: 100%;
  max-width: 640px;
  max-height: 500px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
}
.search-input-wrap {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #EEEEEE;
  gap: 12px;
}
.search-input-wrap svg {
  width: 22px;
  height: 22px;
  color: #A8AAB2;
  flex-shrink: 0;
}
.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 18px;
  font-family: inherit;
  color: #1A1A1A;
}
.search-input::placeholder { color: #A8AAB2; }
.search-results {
  overflow-y: auto;
  max-height: 380px;
  padding: 8px 0;
}
.search-result-item {
  display: block;
  padding: 14px 20px;
  text-decoration: none;
  transition: background 0.1s;
}
.search-result-item:hover { background: #F5F5F5; }
.search-result-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 4px;
}
.search-result-item p {
  font-size: 13px;
  color: #777;
  line-height: 1.4;
}
.search-result-item .search-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #061554;
  font-weight: 600;
}
.search-no-results {
  padding: 24px 20px;
  color: #777;
  font-size: 15px;
  text-align: center;
}
.search-hint {
  padding: 16px 20px;
  color: #A8AAB2;
  font-size: 13px;
  text-align: center;
}

.header-social { display: flex; gap: 10px; align-items: center; margin-left: 8px; }
.header-social a img { width: 22px; height: 22px; opacity: 0.5; transition: opacity 0.2s; }
.header-social a img:hover { opacity: 0.8; }

/* ===== SOLUTION NAV STRIP ===== */
.solution-nav {
  background: #061554;
  padding: 0 80px;
}
.solution-nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 0;
}
.solution-nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  padding: 20px 32px;
  letter-spacing: 0.04em;
  transition: all 0.2s;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.solution-nav a:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
  border-bottom-color: #fff;
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: #fff;
  color: #061554;
  padding: 16px 36px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  display: inline-block;
}
.btn-primary-blue {
  background: #061554;
  color: #fff;
  padding: 16px 36px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  display: inline-block;
}
.btn-outline {
  background: transparent;
  color: #fff;
  padding: 16px 36px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  display: inline-block;
}

/* ===== SECTION LABELS & TITLES ===== */
.section-label {
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #061554;
  margin-bottom: 12px;
}
.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.section-subtitle {
  font-size: 17px;
  color: #777;
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 48px;
}

/* ===== CARD LINK ===== */
.card-link {
  font-size: 14px;
  font-weight: 600;
  color: #061554;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.card-link::after { content: ' \2192'; }

/* ===== HERO ===== */
.hero {
  background: #061554;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 80px;
  position: relative;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(5, 28, 130, 0.45);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero h1 {
  color: #fff;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero p {
  color: rgba(255,255,255,0.85);
  font-size: 19px;
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; }

/* ===== PAGE HERO (inner pages — no video) ===== */
.page-hero {
  background: #061554;
  padding: 80px 80px;
  text-align: center;
}
.page-hero h1 {
  color: #fff;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.page-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 18px;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== PAGE HERO WITH IMAGE ===== */
.page-hero-img {
  min-height: 400px;
  background-size: cover;
  background-position: center 70%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 80px;
}
.page-hero-content {
  position: relative;
  z-index: 2;
}
.page-hero-img h1 {
  color: #fff;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.page-hero-img p {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== SOLUTIONS GRID ===== */
.solutions {
  padding: 80px 80px;
  max-width: 1440px;
  margin: 0 auto;
}
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.solution-card {
  background: #fff;
  border-radius: 8px;
  transition: all 0.2s;
  border: 1px solid #A8AAB2;
  text-decoration: none;
  display: block;
  cursor: pointer;
  overflow: hidden;
}
.solution-card:hover {
  box-shadow: 0 8px 30px rgba(5,28,130,0.1);
  transform: translateY(-2px);
}
.solution-img {
  height: 220px;
  background-size: cover;
  background-position: center;
}
.solution-body {
  padding: 24px 28px 28px;
}
.solution-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1A1A1A;
}
.solution-card p {
  font-size: 15px;
  color: #777;
  line-height: 1.55;
  margin-bottom: 16px;
}

/* ===== WHY ACE ===== */
.why-ace {
  background: #EAEAEA;
  padding: 80px 80px;
}
.why-ace-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-ace-image {
  border-radius: 8px;
  height: 380px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-ace-content .section-label { margin-bottom: 12px; }
.why-ace-content .section-title { margin-bottom: 20px; }
.why-ace-content p {
  font-size: 17px;
  color: #4A4A4A;
  line-height: 1.7;
  margin-bottom: 16px;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.stat {
  text-align: center;
  border-right: 1px solid #A8AAB2;
}
.stat:last-child { border-right: none; }
.stat-number {
  font-size: 36px;
  font-weight: 800;
  color: #061554;
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: #777;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== INDUSTRIES ===== */
.industries-section {
  background: #F5F5F5;
  border-top: 1px solid #A8AAB2;
  border-bottom: 1px solid #A8AAB2;
}
.industries {
  padding: 80px 80px;
  max-width: 1440px;
  margin: 0 auto;
  text-align: center;
}
.industries .section-label,
.industries .section-title,
.industries .section-subtitle { margin-left: auto; margin-right: auto; }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.industry-card {
  background: #fff;
  border: 1px solid #A8AAB2;
  border-radius: 8px;
  padding: 28px 16px;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
}
.industry-card:hover {
  border-color: #061554;
  box-shadow: 0 4px 20px rgba(5,28,130,0.08);
  background: #F7F7F7;
}
.industry-icon {
  width: 64px;
  height: 64px;
  background: rgba(5,28,130,0.08);
  border-radius: 12px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.industry-icon svg {
  width: 32px;
  height: 32px;
}
.industry-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: #1A1A1A;
}

/* ===== SCROLLING PARTNER LOGOS ===== */
.partners {
  background: #F7F7F7;
  padding: 48px 0;
  text-align: center;
  border-top: 1px solid #EEEEEE;
  border-bottom: 1px solid #EEEEEE;
  overflow: hidden;
}
.partners-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #777;
  margin-bottom: 24px;
  font-weight: 500;
  padding: 0 80px;
}
.scroll-track {
  display: flex;
  animation: scroll-logos 30s linear infinite;
  width: max-content;
}
.scroll-track:hover { animation-play-state: paused; }
.scroll-set {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 0 24px;
}
.scroll-set img {
  height: 40px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: all 0.2s;
  flex-shrink: 0;
}
.scroll-set img:hover {
  opacity: 1;
}
@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== NEWS / BLOG TEASER ===== */
.news {
  padding: 80px 80px;
  max-width: 1440px;
  margin: 0 auto;
}
.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #A8AAB2;
  transition: all 0.2s;
  cursor: pointer;
}
.news-card:hover {
  box-shadow: 0 8px 30px rgba(5,28,130,0.08);
  transform: translateY(-2px);
}
.news-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  background-color: #A8AAB2;
}
.news-body { padding: 24px; }
.news-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #061554;
  margin-bottom: 8px;
}
.news-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 8px;
  line-height: 1.3;
}
.news-card p {
  font-size: 14px;
  color: #777;
  line-height: 1.5;
  margin-bottom: 12px;
}
.news-date {
  font-size: 12px;
  color: #999;
}

/* ===== CAREERS BANNER ===== */
.careers-banner {
  background: #EEEEEE;
  padding: 48px 80px;
}
.careers-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.careers-inner h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 6px;
}
.careers-inner p {
  font-size: 16px;
  color: #777;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: #061554;
  padding: 64px 80px;
  text-align: center;
}
.cta-banner h2 {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}
.cta-banner p {
  color: rgba(255,255,255,0.75);
  font-size: 17px;
  margin-bottom: 24px;
}

/* ===== NEWSLETTER ===== */
.newsletter {
  background: #fff;
  padding: 48px 80px;
  border-top: 1px solid #A8AAB2;
  border-bottom: 1px solid #A8AAB2;
}
.newsletter-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.newsletter-inner h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 4px;
}
.newsletter-inner p {
  font-size: 14px;
  color: #777;
}
.newsletter-form {
  display: flex;
  gap: 0;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid #A8AAB2;
  border-right: none;
  border-radius: 4px 0 0 4px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  background: #fff;
}
.newsletter-form input::placeholder { color: #999; }
.newsletter-form button {
  padding: 14px 28px;
  background: #061554;
  color: #fff;
  border: none;
  border-radius: 0 4px 4px 0;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  white-space: nowrap;
}
.newsletter-form button:hover { background: #041245; }

/* ===== FOOTER CONTACT FORM ===== */
.footer-form-section {
  background: #061554;
  padding: 48px 80px;
}
.footer-form-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.footer-form-text h3 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}
.footer-form-text p {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.footer-form-text .contact-detail {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  line-height: 1.8;
}
.footer-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.footer-form input,
.footer-form textarea {
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.footer-form input::placeholder,
.footer-form textarea::placeholder {
  color: rgba(255,255,255,0.4);
}
.footer-form input:focus,
.footer-form textarea:focus {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.12);
}
.footer-form textarea {
  grid-column: 1 / -1;
  min-height: 100px;
  resize: vertical;
}
.footer-form button {
  grid-column: 1 / -1;
  padding: 14px 28px;
  background: #fff;
  color: #061554;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  justify-self: start;
}
.footer-form button:hover { background: #F0F0F0; }

/* ===== FOOTER ===== */
.footer-certs {
  background: #A8AAB2;
  padding: 32px 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-certs img {
  height: 52px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
}
.footer-main {
  background: #041245;
  padding: 48px 80px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1440px;
  margin: 0 auto;
}
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-col p, .footer-col a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  line-height: 1.7;
  text-decoration: none;
  display: block;
}
.footer-col a:hover { color: rgba(255,255,255,0.9); }
.footer-logo { height: 40px; opacity: 0.9; margin-bottom: 16px; }
.footer-bottom {
  background: #020B30;
  padding: 20px 80px;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 13px;
}
.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.social-icons a img {
  width: 32px;
  height: 32px;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.social-icons a img:hover { opacity: 1; }
.location-block { margin-bottom: 16px; }
.location-label {
  color: rgba(255,255,255,0.4);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.map-link {
  color: rgba(255,255,255,0.4) !important;
  font-size: 12px;
  text-decoration: underline !important;
}

/* ===== CONTENT SECTIONS (for inner pages) ===== */
.content-section {
  padding: 80px 80px;
  max-width: 1440px;
  margin: 0 auto;
}
.content-section-grey {
  background: #F5F5F5;
  padding: 80px 80px;
}
.content-section-grey .content-inner {
  max-width: 1440px;
  margin: 0 auto;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.two-col-text p {
  font-size: 17px;
  color: #4A4A4A;
  line-height: 1.7;
  margin-bottom: 16px;
}
.content-img {
  border-radius: 8px;
  height: 380px;
  background-size: cover;
  background-position: center;
}

/* ===== TIMELINE ===== */
.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 120px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 100px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #A8AAB2;
}
.timeline-item {
  position: relative;
  margin-bottom: 36px;
  padding-left: 32px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: #061554;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #061554;
}
.timeline-year {
  position: absolute;
  left: -120px;
  top: 0;
  width: 80px;
  text-align: right;
  font-size: 18px;
  font-weight: 800;
  color: #061554;
}
.timeline-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 6px;
}
.timeline-content p {
  font-size: 15px;
  color: #777;
  line-height: 1.55;
}

/* ===== LOCATIONS GRID ===== */
.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}
.location-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 8px;
}
.location-card p {
  font-size: 15px;
  color: #4A4A4A;
  line-height: 1.6;
}

/* ===== LIFECYCLE CHEVRONS ===== */
.lifecycle-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
}
.chevron {
  position: relative;
  background: #061554;
  color: #fff;
  padding: 20px 24px 20px 40px;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%, 20px 50%);
  min-width: 180px;
  text-align: center;
  flex: 1;
  max-width: 220px;
}
.chevron:first-child {
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%);
  padding-left: 24px;
}
.chevron-num {
  font-size: 28px;
  font-weight: 800;
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 6px;
}
.chevron h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.3;
}
.lifecycle-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.lifecycle-details-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
  max-width: 75%;
  margin-left: auto;
  margin-right: auto;
}
.lifecycle-detail {
  text-align: center;
  padding: 0 8px;
}
.lifecycle-detail-num {
  font-size: 14px;
  font-weight: 800;
  color: #061554;
  margin-bottom: 6px;
}
.lifecycle-detail h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 8px;
}
.lifecycle-detail p {
  font-size: 14px;
  color: #777;
  line-height: 1.5;
}

/* ===== BLOG / NEWS GRID ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #A8AAB2;
  transition: all 0.2s;
  background: #fff;
}
.blog-card:hover {
  box-shadow: 0 8px 30px rgba(6,21,84,0.08);
  transform: translateY(-2px);
}
.blog-card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: #A8AAB2;
}
.blog-card-body { padding: 24px; }
.blog-card-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #061554;
  margin-bottom: 8px;
}
.blog-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 8px;
  line-height: 1.3;
}
.blog-card h3 a {
  color: #1A1A1A;
  text-decoration: none;
}
.blog-card h3 a:hover { color: #061554; }
.blog-card p {
  font-size: 14px;
  color: #777;
  line-height: 1.5;
  margin-bottom: 12px;
}
.blog-card-date {
  font-size: 12px;
  color: #999;
}
.blog-hidden { display: none; }
.load-more-btn {
  display: block;
  margin: 40px auto 0;
  padding: 14px 36px;
  background: #061554;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}
.load-more-btn:hover { background: #0A1F6A; }

/* ===== BLOG LIST LAYOUT ===== */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.blog-list-item {
  display: flex;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid #A8AAB2;
  text-decoration: none;
  transition: background 0.2s;
}
.blog-list-item:first-child { padding-top: 0; }
.blog-list-item:hover { opacity: 0.85; }
.blog-list-img {
  width: 280px;
  height: 180px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  background-color: #A8AAB2;
  flex-shrink: 0;
}
.blog-list-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-list-body .blog-card-tag { margin-bottom: 6px; }
.blog-list-body h3 {
  font-size: 22px;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 10px;
  line-height: 1.3;
}
.blog-list-body h3 a {
  color: #1A1A1A;
  text-decoration: none;
}
.blog-list-body h3 a:hover { color: #061554; }
.blog-list-body p {
  font-size: 15px;
  color: #777;
  line-height: 1.6;
  margin-bottom: 10px;
}
.blog-list-body .blog-card-date {
  font-size: 13px;
  color: #999;
}

/* ===== ARTICLE PAGE ===== */
.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 80px;
}
.article-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 32px;
}
.article-tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #061554;
  background: rgba(6,21,84,0.08);
  padding: 4px 12px;
  border-radius: 3px;
}
.article-date {
  font-size: 14px;
  color: #999;
}
.article-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1A1A1A;
  margin: 32px 0 16px;
}
.article-content h3 {
  font-size: 22px;
  font-weight: 600;
  color: #1A1A1A;
  margin: 28px 0 12px;
}
.article-content p {
  font-size: 17px;
  color: #4A4A4A;
  line-height: 1.8;
  margin-bottom: 16px;
}
.article-content ul, .article-content ol {
  margin: 16px 0;
  padding-left: 24px;
}
.article-content li {
  font-size: 17px;
  color: #4A4A4A;
  line-height: 1.8;
  margin-bottom: 8px;
}
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #061554;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 32px;
}
.article-back:hover { opacity: 0.7; }
.article-back::before { content: '\2190 '; }

/* ===== CAPABILITY LIST ===== */
.capability-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 40px;
  margin-top: 20px;
}
.capability-list li {
  font-size: 15px;
  color: #4A4A4A;
  line-height: 1.6;
  list-style: none;
  padding-left: 20px;
  position: relative;
}
.capability-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: #061554;
  border-radius: 2px;
}

/* ===== FEATURE CARDS (icon + text, no image) ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: #fff;
  border: 1px solid #A8AAB2;
  border-radius: 8px;
  padding: 32px 28px;
  transition: all 0.2s;
}
.feature-card:hover {
  box-shadow: 0 4px 20px rgba(5,28,130,0.08);
}
.feature-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.feature-card-icon {
  width: 48px;
  height: 48px;
  background: #061554;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-card-icon svg {
  width: 24px;
  height: 24px;
}
.feature-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: #1A1A1A;
}
.feature-card p {
  font-size: 15px;
  color: #777;
  line-height: 1.55;
}

/* ===== SUB-SOLUTION CARDS ===== */
.subsolution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.subsolution-card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #A8AAB2;
  background: #fff;
  transition: all 0.2s;
}
.subsolution-card:hover {
  box-shadow: 0 8px 30px rgba(5,28,130,0.08);
  transform: translateY(-2px);
}
.subsolution-card .solution-img {
  height: 180px;
}
.subsolution-card .solution-body {
  padding: 20px 24px 24px;
}
.subsolution-card h4 {
  font-size: 17px;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 6px;
}
.subsolution-card p {
  font-size: 14px;
  color: #777;
  line-height: 1.5;
}

/* ===== RELATED PRODUCTS ===== */
.related-products {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.related-product {
  background: #fff;
  border: 1px solid #A8AAB2;
  border-radius: 8px;
  padding: 24px 32px;
  text-decoration: none;
  display: block;
  transition: all 0.2s;
  flex: 1;
  min-width: 200px;
}
.related-product:hover {
  border-color: #061554;
  box-shadow: 0 4px 16px rgba(5,28,130,0.08);
}
.related-product h4 {
  font-size: 17px;
  font-weight: 600;
  color: #061554;
  margin-bottom: 4px;
}
.related-product p {
  font-size: 14px;
  color: #777;
}

/* ===== HAMBURGER MENU (hidden on desktop) ===== */
.mobile-contact { display: none; }
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #061554;
  transition: all 0.3s;
}

/* ===== RESPONSIVE: TABLET (max-width: 1024px) ===== */
@media (max-width: 1024px) {
  /* Header */
  header { padding: 0 24px; height: 70px; }
  header .logo-img { height: 48px; }
  .header-contact-info a:last-child { display: none; }
  .header-contact-info a { font-size: 12px; }
  nav .mobile-contact {
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    padding: 16px 0;
    border-bottom: 1px solid #EEEEEE;
    margin-bottom: 8px;
  }
  nav .mobile-contact a {
    font-size: 15px;
    padding: 0;
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: none;
  }
  nav .mobile-contact svg { width: 16px; height: 16px; }
  .hamburger { display: flex !important; }
  nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    flex-direction: column;
    padding: 24px;
    gap: 0;
    overflow-y: auto;
    z-index: 99;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  }
  nav.nav-open { display: flex; }
  nav a {
    padding: 14px 0;
    border-bottom: 1px solid #EEEEEE;
    font-size: 16px;
  }
  .nav-cta {
    margin-top: 16px;
    text-align: center;
    display: block;
  }
  .header-social {
    margin: 16px 0 0;
    justify-content: center;
  }
  .search-toggle { margin: 8px auto 0; }

  /* Hero */
  .hero { min-height: 400px; padding: 60px 24px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
  .hero-buttons { flex-direction: column; align-items: center; gap: 12px; }
  .btn-primary, .btn-primary-blue, .btn-outline { width: 100%; max-width: 280px; text-align: center; }

  /* Solution nav strip - horizontal scroll on tablet */
  .solution-nav { padding: 0 24px; overflow-x: auto; }
  .solution-nav-inner { justify-content: flex-start; gap: 0; }
  .solution-nav a { font-size: 14px; padding: 14px 20px; white-space: nowrap; }

  /* Chevrons */
  .lifecycle-flow { flex-wrap: wrap; justify-content: center; }
  .chevron { min-width: 140px; }

  /* Section padding */
  .solutions, .content-section, .news { padding: 48px 24px; }
  .why-ace { padding: 48px 24px; }
  .content-section-grey { padding: 48px 24px; }
  .content-section-grey .content-inner { max-width: 100%; }

  /* Grids */
  .solutions-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .industries-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .subsolution-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  /* Two-column layouts */
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .why-ace-inner { grid-template-columns: 1fr; gap: 32px; }
  .content-img { height: 280px; }
  .why-ace-image { height: 280px; }

  /* Stats */
  .stats-row { gap: 16px; }

  /* Page hero */
  .page-hero { padding: 48px 24px; }
  .page-hero h1 { font-size: 32px; }
  .page-hero-img { min-height: 300px; padding: 48px 24px; }
  .page-hero-img h1 { font-size: 32px; }

  /* Partners */
  .partners { padding: 32px 0; }
  .partners-label { padding: 0 24px; }

  /* Careers */
  .careers-banner { padding: 32px 24px; }
  .careers-inner { flex-direction: column; gap: 16px; text-align: center; }

  /* Footer */
  footer { padding: 0; }
  .footer-form { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 32px 24px; }
  .newsletter-form { max-width: 100% !important; }
}

/* ===== RESPONSIVE: MOBILE (max-width: 640px) ===== */
@media (max-width: 640px) {
  /* Header */
  header { padding: 0 16px; height: 60px; }
  header .logo-img { height: 42px; }
  nav { top: 60px; }

  /* Hero */
  .hero { min-height: 350px; padding: 48px 20px; }
  .hero h1 { font-size: 26px; margin-bottom: 14px; }
  .hero p { font-size: 15px; margin-bottom: 24px; }

  /* Solution nav strip - stacked on mobile */
  .solution-nav { padding: 0; overflow-x: visible; }
  .solution-nav-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .solution-nav a {
    font-size: 14px;
    padding: 12px 20px;
    white-space: normal;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .solution-nav a:hover { border-bottom-color: rgba(255,255,255,0.1); }

  /* Section padding */
  .solutions, .content-section, .news { padding: 36px 20px; }
  .why-ace { padding: 36px 20px; }
  .content-section-grey { padding: 36px 20px; }

  /* Section titles */
  .section-title { font-size: 28px; }
  .section-subtitle { font-size: 15px; }

  /* Grids - single column */
  .solutions-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .news-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .subsolution-grid { grid-template-columns: 1fr; }

  /* Cards */
  .solution-img { height: 180px; }
  .news-img { height: 180px; }

  /* Stats */
  .stats-row { grid-template-columns: 1fr; gap: 20px; }
  .stat { border-right: none; border-bottom: 1px solid #A8AAB2; padding-bottom: 16px; }
  .stat:last-child { border-bottom: none; padding-bottom: 0; }

  /* Page hero */
  .page-hero { padding: 36px 20px; }
  .page-hero h1 { font-size: 28px; }
  .page-hero-img { min-height: 250px; padding: 36px 20px; }
  .page-hero-img h1 { font-size: 28px; }
  .page-hero-img p { font-size: 15px; }

  /* Industry cards */
  .industry-card { padding: 20px 12px; }
  .industry-icon { width: 48px; height: 48px; }
  .industry-icon svg { width: 24px; height: 24px; }

  /* Content images */
  .content-img { height: 220px; }
  .why-ace-image { height: 220px; }

  /* Locations */
  .locations-grid { grid-template-columns: 1fr; }

  /* Blog list */
  .blog-list-item { flex-direction: column; gap: 16px; }
  .blog-list-img { width: 100%; height: 200px; }

  /* Capability list */
  .capability-list { grid-template-columns: 1fr; }

  /* Footer */
  .footer-main { grid-template-columns: 1fr 1fr; gap: 24px; padding: 32px 20px; }
  .footer-col:first-child { grid-column: 1 / -1; }

  /* Footer contact form */
  footer > div:nth-child(2) { padding: 32px 20px !important; }
  footer .footer-form { grid-template-columns: 1fr !important; }

  /* Footer newsletter */
  footer > div:nth-child(3) { padding: 20px 20px !important; flex-direction: column !important; gap: 12px !important; }

  /* Footer copyright */
  footer > div:last-child { padding: 16px 20px !important; }

  /* Search overlay */
  .search-box { margin: 0 16px; max-height: 80vh; }
  .search-overlay { padding-top: 80px; }

  /* Chevrons - stack vertically on mobile */
  .lifecycle-flow {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  .chevron {
    min-width: 100%;
    max-width: 100%;
    clip-path: none;
    padding: 14px 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .chevron:first-child { clip-path: none; padding-left: 20px; }
  .chevron-num { font-size: 20px; margin-bottom: 0; }
  .chevron h4 { text-align: left; }

  /* Footer contact form */
  footer > div:nth-child(2) {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    padding: 32px 20px !important;
  }

  /* Footer newsletter */
  footer > div:nth-child(3) {
    padding: 20px 20px !important;
    flex-direction: column !important;
    gap: 12px !important;
    align-items: flex-start !important;
  }
  .newsletter-form {
    max-width: 100% !important;
    width: 100%;
  }
  .newsletter-form input { min-width: 0; }

  /* Footer copyright */
  footer > div:last-child { padding: 16px 20px !important; }
}
