:root {
  --institutional-navy: #0b2545;
  --institutional-blue: #2487ce;
  --institutional-cyan: #52b6df;
  --institutional-ink: #1d2b3a;
  --institutional-soft: #eef7fc;
}

html {
  scroll-padding-top: 88px;
}

.section-kicker,
.eyebrow {
  display: inline-block;
  color: var(--accent-color);
  font-family: var(--heading-font);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-title .section-kicker {
  margin-bottom: 9px;
}

.institutional-hero {
  min-height: auto;
  padding-bottom: 84px;
}

.institutional-hero .hero-intro {
  min-height: 520px;
}

.institutional-hero h1 {
  margin-top: 14px;
  max-width: 800px;
  font-size: clamp(2.6rem, 5vw, 4.25rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.institutional-hero .hero-copy > p {
  max-width: 700px;
  margin-top: 22px;
  font-size: 1.18rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.institutional-hero .hero-actions .btn-get-started {
  margin-top: 0;
}

.btn-secondary-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--institutional-navy);
  font-weight: 700;
}

.btn-secondary-action:hover {
  color: var(--accent-color);
}

.institutional-visual {
  max-width: 465px;
  overflow: visible;
  border-radius: 26px;
  -webkit-mask-image: none;
  mask-image: none;
}

.institutional-visual::before {
  content: "";
  position: absolute;
  inset: -16px 18px 18px -16px;
  z-index: -1;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 55%);
  border-radius: 30px;
}

.institutional-visual > img {
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  object-fit: cover;
  object-position: 58% center;
  box-shadow: 0 24px 70px rgba(11, 37, 69, 0.18);
}

.visual-badge {
  position: absolute;
  right: -24px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 13px;
  max-width: 285px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 35px rgba(11, 37, 69, 0.18);
  backdrop-filter: blur(12px);
}

.visual-badge i {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: var(--accent-color);
  font-size: 1.35rem;
}

.visual-badge span {
  color: var(--institutional-ink);
  font-size: 0.78rem;
  line-height: 1.4;
}

.visual-badge strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.9rem;
}

.hero-highlights .icon-box {
  height: 100%;
  padding: 32px 28px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  box-shadow: 0 14px 38px rgba(11, 37, 69, 0.08);
}

.hero-highlights .icon-box .title {
  font-size: 1.14rem;
}

.projects-proof {
  position: relative;
  overflow: hidden;
}

.projects-proof::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 93%);
}

.featured-project,
.proof-card {
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  background: var(--surface-color);
  box-shadow: 0 18px 48px rgba(11, 37, 69, 0.08);
}

.featured-project {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
}

.project-media {
  position: relative;
  aspect-ratio: 16 / 8.5;
  overflow: hidden;
  background: var(--institutional-navy);
}

.project-media video,
.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-label {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  color: white;
  background: rgba(11, 37, 69, 0.88);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding: 28px 30px 18px;
}

.project-content h3 {
  margin-bottom: 8px;
  font-size: 1.7rem;
}

.project-content p {
  max-width: 610px;
  margin: 0;
}

.project-link {
  flex: 0 0 auto;
  font-weight: 700;
}

.project-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: auto 0 0;
  padding: 0 30px 28px;
  list-style: none;
}

.project-tags li {
  padding: 6px 10px;
  border-radius: 7px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background: var(--institutional-soft);
  font-size: 0.78rem;
  font-weight: 600;
}

.portfolio-projects {
  position: relative;
}

.portfolio-card {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 20px;
  background: var(--surface-color);
  box-shadow: 0 18px 48px rgba(11, 37, 69, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 58px rgba(11, 37, 69, 0.13);
}

.portfolio-card > a {
  display: block;
  overflow: hidden;
  background: #f5f9fc;
}

.portfolio-card img {
  display: block;
  width: 100%;
  height: auto;
}

.portfolio-card-content {
  padding: 24px;
}

.portfolio-card-content span {
  display: inline-block;
  margin-bottom: 9px;
  color: var(--accent-color);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.4;
  text-transform: uppercase;
}

.portfolio-card-content h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
}

.portfolio-card-content p {
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.62;
}

.portfolio-card-content a {
  font-weight: 800;
}

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

.proof-card {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  padding: 24px;
  border-radius: 18px;
}

.proof-card-accent {
  color: white;
  border-color: var(--institutional-navy);
  background: linear-gradient(135deg, var(--institutional-navy), #164d79);
}

.proof-card h3 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.proof-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.proof-card a {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.88rem;
  font-weight: 700;
}

.proof-number {
  flex: 0 0 auto;
  color: var(--institutional-cyan);
  font-family: var(--heading-font);
  font-size: 3.1rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.proof-card-accent h3,
.proof-card-accent p {
  color: white;
}

.proof-icon {
  display: grid;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 14px;
  color: var(--accent-color);
  background: var(--institutional-soft);
  font-size: 1.35rem;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 34px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 87%);
  border-radius: 20px;
  background: var(--surface-color);
  box-shadow: 0 16px 45px rgba(11, 37, 69, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(11, 37, 69, 0.12);
}

.service-card-featured {
  border-color: color-mix(in srgb, var(--accent-color), transparent 45%);
}

.service-number {
  position: absolute;
  top: 20px;
  right: 24px;
  color: color-mix(in srgb, var(--accent-color), transparent 82%);
  font-family: var(--heading-font);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
}

.service-icon {
  display: grid;
  width: 60px;
  height: 60px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 16px;
  color: white;
  background: linear-gradient(135deg, var(--accent-color), var(--institutional-cyan));
  font-size: 1.7rem;
}

.service-card h3 {
  font-size: 1.35rem;
}

.service-card > p {
  min-height: 108px;
}

.service-card ul {
  margin: 5px 0 28px;
  padding: 20px 0 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  list-style: none;
}

.service-card li {
  position: relative;
  margin: 8px 0;
  padding-left: 24px;
}

.service-card li::before {
  content: "\F26A";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-family: "bootstrap-icons";
}

.service-card > a {
  margin-top: auto;
  font-weight: 700;
}

.service-badge {
  position: absolute;
  top: 0;
  left: 30px;
  padding: 7px 12px;
  border-radius: 0 0 9px 9px;
  color: white;
  background: var(--accent-color);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  counter-reset: process;
  list-style: none;
}

.process-grid li {
  position: relative;
  padding: 24px 20px;
  border-top: 3px solid var(--accent-color);
  border-radius: 0 0 14px 14px;
  background: var(--surface-color);
  box-shadow: 0 10px 30px rgba(11, 37, 69, 0.06);
}

.process-grid li > span {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--institutional-navy);
  font-weight: 700;
}

.process-grid h3 {
  font-size: 1rem;
}

.process-grid p {
  margin-bottom: 0;
  font-size: 0.88rem;
  line-height: 1.55;
}

.about-photo {
  position: relative;
  overflow: hidden;
  max-width: 460px;
  margin: auto;
  border-radius: 24px;
  background: var(--institutional-soft);
}

.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  object-position: center top;
}

.about-photo-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 15px 18px;
  border-radius: 13px;
  color: white;
  background: rgba(11, 37, 69, 0.9);
  backdrop-filter: blur(8px);
}

.about-photo-caption strong,
.about-photo-caption span {
  display: block;
}

.about-photo-caption span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.84rem;
}

.about .content h2 {
  margin: 12px 0 22px;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.035em;
}

.about .content > p {
  font-size: 1.04rem;
  line-height: 1.75;
}

.about-points {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.about-points span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.about-points i {
  color: var(--accent-color);
}

.faq-list {
  max-width: 920px;
  margin: auto;
}

.faq-list details {
  margin-bottom: 12px;
  padding: 0 24px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 87%);
  border-radius: 14px;
  background: var(--surface-color);
  box-shadow: 0 8px 24px rgba(11, 37, 69, 0.04);
}

.faq-list summary {
  position: relative;
  padding: 20px 38px 20px 0;
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0;
  color: var(--accent-color);
  font-size: 1.6rem;
  font-weight: 400;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 0 22px;
  line-height: 1.7;
}

.call-to-action h2 {
  color: white;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.call-to-action p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 1199px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .institutional-hero {
    padding-top: 40px;
  }

  .institutional-hero .hero-copy {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .institutional-hero .hero-intro {
    display: flex;
    min-height: auto;
  }

  .institutional-hero .hero-visual-column {
    order: -1;
    height: auto;
    grid-area: auto;
  }

  .institutional-hero .hero-visual {
    height: auto;
    opacity: 1;
    filter: none;
  }

  .institutional-hero .hero-visual img {
    height: auto;
    aspect-ratio: 16 / 9;
    object-position: center 38%;
  }

  .institutional-hero h1,
  .institutional-hero .hero-copy > p,
  .institutional-hero .hero-actions .btn-get-started {
    position: static;
    display: block;
    grid-area: auto;
    padding-left: 0;
    padding-right: 0;
  }

  .hero-actions {
    justify-content: center;
  }

  .project-content {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .institutional-hero h1 {
    font-size: 2.35rem;
    line-height: 1.08;
  }

  .institutional-hero .hero-copy > p {
    font-size: 1.04rem;
  }

  .institutional-visual {
    max-width: calc(100% - 20px);
  }

  .visual-badge {
    right: -10px;
    bottom: 14px;
    max-width: 250px;
  }

  .project-content {
    padding: 24px 22px 16px;
  }

  .project-tags {
    padding: 0 22px 24px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .service-card > p {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-card {
    transition: none;
  }
}
