main {
  overflow-x: hidden;
}

main > section:not(.hero) {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 4vw, 44px);
  padding-right: clamp(20px, 4vw, 44px);
}

.section.intro-section {
  margin-top: 28px;
  margin-bottom: 18px;
}

.section.intro-section .section-content {
  max-width: 760px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 14px;
  margin-bottom: 32px;
}

.visitor-focus { margin-top: 20px; max-width: 520px; }
.visitor-focus > span { color: rgb(255 255 255 / 78%); display: block; font-size: 11px; font-weight: 700; margin-bottom: 8px; text-transform: uppercase; }
.visitor-focus [role="group"] { display: flex; flex-wrap: wrap; gap: 7px; }
.visitor-focus button { background: rgb(255 255 255 / 10%); border: 1px solid rgb(255 255 255 / 36%); color: #fff; cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; padding: 7px 11px; }
.visitor-focus button[aria-pressed="true"] { background: #00aeef; border-color: #00aeef; color: #081329; }
.visitor-focus p { color: rgb(255 255 255 / 86%); font-size: 13px; margin: 9px 0 0; max-width: 470px; }

.client-showcase { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 34px; padding-bottom: 42px; }
.client-showcase-heading { align-items: end; display: flex; gap: 24px; justify-content: space-between; margin: 16px 0 24px; }
.client-showcase-heading h2 { color: var(--navy); font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; margin: 0; max-width: 720px; }
.client-showcase-heading p:not(.eyebrow) { color: var(--muted); max-width: 680px; }
.client-name-grid { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.client-name-grid > * { border-bottom: 1px solid var(--line); color: var(--navy); font-size: 15px; font-weight: 700; min-height: 76px; padding: 22px 16px 18px 0; }
.client-name-grid > a:hover { color: var(--cyan-dark); }
.client-work-tags { display: flex; flex-wrap: wrap; gap: 9px 22px; margin-top: 20px; }
.client-work-tags span { color: var(--muted); font-size: 12px; }
.internship-intro .work-samples { margin-top: 24px; }
.internship-intro .action-panel hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.internship-login-link { margin-top: 14px; }
.internship-section-heading { max-width: 760px; margin-bottom: 28px; }
.internship-section-heading h2, .former-interns h2 { color: var(--navy); font-size: clamp(28px, 3.3vw, 42px); line-height: 1.12; margin: 0 0 12px; }
.internship-section-heading > p:last-child, .former-interns p:not(.eyebrow) { color: var(--muted); }
.internship-activity-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.internship-activity-grid figure { margin: 0; }
.internship-activity-grid img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.internship-activity-grid figcaption { display: grid; gap: 4px; padding: 12px 0; }
.internship-activity-grid strong { color: var(--navy); }
.internship-activity-grid span { color: var(--muted); font-size: 13px; }
.former-interns { align-items: center; display: grid; gap: 38px; grid-template-columns: minmax(250px, .75fr) minmax(0, 1.25fr); }
.former-intern-gallery { display: grid; gap: 10px; grid-template-columns: 1.15fr .85fr; }
.former-intern-gallery img { height: 210px; object-fit: cover; width: 100%; }
.former-intern-gallery img:first-child { grid-row: span 2; height: 430px; }
.service-detail-image { margin-top: 22px; max-height: 350px; object-fit: cover; width: 100%; }

@media (max-width: 760px) {
  .client-showcase-heading { align-items: flex-start; flex-direction: column; }
  .client-name-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-name-grid > * { font-size: 13px; min-height: 68px; padding-right: 10px; }
  .internship-activity-grid { grid-template-columns: 1fr; }
  .former-interns { grid-template-columns: 1fr; }
  .former-intern-gallery img { height: 150px; }
  .former-intern-gallery img:first-child { height: 310px; }
}

.service-item {
  display: grid;
  gap: 12px;
  padding: 24px 22px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(13, 27, 61, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.faq-chat { bottom: 22px; position: fixed; right: 22px; z-index: 70; }
.faq-chat-launcher { align-items: center; animation: faq-chat-attention 3s ease-out infinite; background: var(--navy); border: 0; border-radius: 999px; box-shadow: 0 14px 34px rgb(8 19 41 / 24%); color: #fff; cursor: pointer; display: flex; font: inherit; font-size: 14px; font-weight: 750; gap: 10px; padding: 10px 18px 10px 10px; }
.faq-chat-launcher:hover,.faq-chat-launcher[aria-expanded="true"] { animation-play-state: paused; }
@keyframes faq-chat-attention {
  0%, 72%, 100% { box-shadow: 0 14px 34px rgb(8 19 41 / 24%), 0 0 0 0 rgb(0 174 239 / 0%); }
  84% { box-shadow: 0 14px 34px rgb(8 19 41 / 24%), 0 0 0 9px rgb(0 174 239 / 18%); }
}
@media (prefers-reduced-motion: reduce) { .faq-chat-launcher { animation: none; } }
.faq-chat-launcher span:first-child { align-items: center; background: var(--cyan); border-radius: 50%; color: var(--navy-deep); display: grid; font-size: 20px; height: 34px; place-items: center; width: 34px; }
.faq-chat-panel { background: var(--white); border: 1px solid var(--line); border-radius: 12px; bottom: 66px; box-shadow: 0 24px 70px rgb(8 19 41 / 22%); display: grid; grid-template-rows: auto minmax(130px, 1fr) auto; height: min(590px, calc(100dvh - 110px)); overflow: hidden; position: absolute; right: 0; width: min(370px, calc(100vw - 32px)); }
.faq-chat-panel[hidden] { display: none; }
.faq-chat-header { align-items: center; background: var(--navy); color: #fff; display: flex; justify-content: space-between; padding: 14px 16px; }
.faq-chat-header strong,.faq-chat-header small { display: block; }
.faq-chat-header small { color: rgb(255 255 255 / 72%); font-size: 11px; }
.faq-chat-header .faq-chat-presence { align-items: center; display: flex; gap: 6px; }
.faq-chat-presence i { background: #cbd5df; border-radius: 50%; display: inline-block; height: 7px; width: 7px; }
.faq-chat-presence.is-online i { background: #5de09a; box-shadow: 0 0 0 3px rgb(93 224 154 / 18%); }
.faq-chat-header button { background: transparent; border: 0; color: #fff; cursor: pointer; font-size: 24px; line-height: 1; }
.faq-chat-messages { background: #f7f9fc; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; padding: 14px; }
.faq-chat-message { border-radius: 10px; font-size: 13px; line-height: 1.5; margin: 0; max-width: 88%; overflow-wrap: anywhere; padding: 10px 12px; white-space: pre-wrap; }
.faq-chat-answer { align-self: flex-start; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.faq-chat-question { align-self: flex-end; background: #dff5fc; color: var(--navy); }
.faq-chat-error { align-self: flex-start; background: #fff0ee; color: #87392f; }
.faq-chat-contact,.faq-chat-question { border-top: 1px solid var(--line); display: grid; gap: 9px; padding: 12px; }
.faq-chat-contact[hidden],.faq-chat-question[hidden] { display: none; }
.faq-chat-contact label:not(.faq-chat-consent) { color: var(--navy); display: grid; font-size: 11px; font-weight: 700; gap: 3px; }
.faq-chat-contact input:not([type="checkbox"]),.faq-chat-question input { background: #fff; border: 1px solid #cbd6e2; border-radius: 5px; color: var(--ink); font-size: 13px; min-height: 36px; padding: 7px 9px; width: 100%; }
.faq-chat-consent { align-items: start; color: var(--muted); display: flex; font-size: 10px; gap: 7px; line-height: 1.4; }
.faq-chat-consent input { margin: 2px 0 0; }
.faq-chat-contact button,.faq-chat-question button { background: var(--cyan); border: 0; border-radius: 5px; color: var(--navy-deep); cursor: pointer; font-size: 13px; font-weight: 800; min-height: 38px; padding: 8px 12px; }
.faq-chat-contact button:disabled,.faq-chat-question button:disabled { cursor: wait; opacity: .65; }
.faq-chat-contact > small { color: var(--muted); font-size: 10px; }
.faq-chat-question { align-items: center; grid-template-columns: minmax(0, 1fr) auto; }
.faq-chat-question input { min-width: 0; }
.faq-chat-icon-button { align-items: center; background: #f0f5f8; border: 1px solid #cbd6e2; border-radius: 5px; color: var(--navy); cursor: pointer; display: inline-flex; height: 38px; justify-content: center; padding: 8px; position: relative; width: 40px; }
.faq-chat-icon-button:hover { background: #e2f4fa; border-color: var(--cyan-dark); }
.faq-chat-icon-button svg { fill: none; height: 19px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 19px; }
.faq-chat-icon-button input[type="file"] { cursor: pointer; height: 100%; inset: 0; opacity: 0; position: absolute; width: 100%; }
.faq-chat-icon-button[hidden] { display: none; }
.faq-chat-question [data-chat-whatsapp] { background: #e8f7ed; border-radius: 5px; color: #126638; font-size: 11px; font-weight: 750; grid-column: 1 / -1; padding: 8px; text-align: center; }
.faq-chat-question [data-chat-whatsapp][hidden] { display: none; }
.faq-chat :focus-visible { outline: 3px solid #f0b43c; outline-offset: 2px; }

@media (max-width: 760px) {
  .faq-chat { bottom: 12px; right: 12px; }
  .faq-chat-panel { bottom: 62px; height: min(580px, calc(100dvh - 90px)); width: min(370px, calc(100vw - 24px)); }
}

.service-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(13, 27, 61, 0.11);
}

.service-number {
  color: var(--cyan-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.service-item h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.1;
}

.service-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.service-arrow {
  margin-top: 6px;
  color: var(--navy);
  font-size: 22px;
  font-weight: 700;
}

.activity-showcase {
  margin-top: 20px;
  margin-bottom: 20px;
  padding-top: 24px;
  padding-bottom: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.5), rgba(255,255,255,0.9));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.showcase-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.showcase-header h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.02;
  color: var(--navy);
}

.showcase-header h2 span {
  color: var(--cyan-dark);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.stat-card {
  background: linear-gradient(135deg, var(--navy), #16346b);
  color: var(--white);
  padding: 22px 18px;
  border-radius: 18px;
  min-height: 120px;
  display: grid;
  align-content: center;
  gap: 8px;
  box-shadow: 0 18px 36px rgba(13, 27, 61, 0.12);
}

.stat-card strong {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  color: var(--white);
}

.stat-card span {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
}

.image-showcase-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  grid-template-areas:
    "feature vertical square"
    "feature vertical square"
    "wide wide square";
  gap: 18px;
}

.photo-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  border-radius: 24px;
  background: var(--navy);
  box-shadow: 0 18px 40px rgba(13, 27, 61, 0.08);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.photo-card:hover img {
  transform: scale(1.05);
}

.photo-card.feature { grid-area: feature; min-height: 470px; }
.photo-card.vertical { grid-area: vertical; }
.photo-card.square { grid-area: square; }
.photo-card.wide { grid-area: wide; min-height: 200px; }

.photo-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(11, 22, 44, 0.58);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.marquee-wrap {
  max-width: 100%;
  overflow: hidden;
  padding: 8px 0 26px;
}

.marquee-track {
  display: flex;
  gap: 18px;
  white-space: nowrap;
  width: max-content;
  animation: marquee 18s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.feature-band {
  margin-top: 18px;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 24px;
}

.feature-photo {
  overflow: hidden;
  border-radius: 22px;
  min-height: 360px;
}

.feature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-copy h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.06;
}

.contact-band {
  margin-top: 26px;
  margin-bottom: 40px;
  padding: 28px 32px;
  border-radius: 24px;
  background: linear-gradient(135deg, #0d1b3d, #143b74);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.contact-band h2 {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.08;
  color: var(--white);
}

.contact-band .eyebrow {
  color: var(--cyan);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 980px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase-header,
  .feature-band,
  .contact-band {
    display: block;
  }
  .stats-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .image-showcase-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "feature feature"
      "vertical square"
      "wide wide";
  }
  .photo-card.feature { min-height: 360px; }
}

@media (max-width: 640px) {
  .service-grid,
  .stats-strip,
  .image-showcase-grid {
    grid-template-columns: 1fr;
  }
  .image-showcase-grid {
    grid-template-areas:
      "feature"
      "vertical"
      "square"
      "wide";
  }
  .photo-card.feature,
  .photo-card.vertical,
  .photo-card.square,
  .photo-card.wide {
    min-height: 250px;
  }
  .feature-band {
    padding: 18px;
  }
  .contact-band {
    padding: 22px 20px;
  }
}
