/* Internalytica overrides on top of the Creativflow X theme */
.site-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.site-logo img { width: 36px; height: 36px; border-radius: 50%; }
.footer .site-logo img { box-shadow: 0 0 0 1px rgba(255, 255, 255, .28); }
.site-logo-text { font-family: var(--font-family--objectivity); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; line-height: 1; }

.tech-strip { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
.tech-strip span { font-size: var(--displays--d5); font-weight: 500; color: var(--neutral--600); white-space: nowrap; }

/* Accordions: the theme animated these via Webflow Interactions; we toggle with a class instead. */
.js-accordion { cursor: pointer; }
.js-accordion .accordion-body { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .35s ease, opacity .35s ease; }
.js-accordion.open .accordion-body { max-height: 400px; opacity: 1; }
.js-accordion .accordion-icon { transition: transform .3s ease; }
.js-accordion.open .accordion-icon { transform: rotate(45deg); }
.w-tab-link .accordion-body { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .35s ease, opacity .35s ease; }
.w-tab-link.w--current .accordion-body { max-height: 300px; opacity: 1; }
.accordion-item-wrapper:not(.first) { border-top: 1px solid var(--neutral--300); }
.footer .accordion-item-wrapper, .position-relative-and-overflow-hidden .accordion-item-wrapper:not(.first) { border-top-color: var(--neutral--700); }

.use-case-card { padding: 40px; border-radius: var(--border-radius--bd-32px); height: 100%; }
.badge-site { display: inline-block; padding: 6px 14px; border-radius: 80px; background: var(--neutral--200); font-size: var(--displays--d2); font-weight: 500; color: var(--neutral--800); }
.values-grid { grid-template-columns: 1fr 1fr; grid-gap: 24px; }

.section.hero.page-hero { padding-bottom: 120px; }
.pd-top-0px { padding-top: 0; }

.service-detail-card { padding: 56px; border-radius: var(--border-radius--bd-32px); scroll-margin-top: 120px; }
.service-detail-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.check-item { display: flex; gap: 12px; align-items: flex-start; font-size: var(--displays--d4); color: var(--neutral--800); }
.check-icon { color: var(--primary--02); font-size: 20px; line-height: 1.4; }

.dark-card { background: var(--neutral--700); border-color: var(--neutral--700); padding: 40px; border-radius: var(--border-radius--bd-32px); height: 100%; }

.footer-grid-site { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.spacer-after-cta { height: 120px; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.form-status { margin-top: 16px; }

@media screen and (max-width: 991px) {
  .hide-on-tablet { display: none; }
  .service-detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid-site { grid-template-columns: 1fr 1fr; }
  .footer-grid-site > :first-child { grid-column: 1 / -1; }
}
@media screen and (max-width: 767px) {
  .values-grid { grid-template-columns: 1fr; }
  .service-detail-card, .use-case-card, .dark-card { padding: 32px 24px; }
  .tech-strip { justify-content: center; }
}
@media screen and (max-width: 479px) {
  .footer-grid-site { grid-template-columns: 1fr; }
}
@media screen and (min-width: 992px) {
  .tabs-wrapper.v1 .tabs-menu { grid-column: 2; grid-row: 1; }
  .tabs-wrapper.v1 .tabs-content { grid-column: 1; grid-row: 1; }
}

.js-accordion { justify-content: flex-start; }
.w-tab-link { cursor: pointer; }

/* Mobile navigation (replaces webflow.js w-nav behaviour) */
@media screen and (max-width: 991px) {
  .header-wrapper { position: relative; }
  .header-wrapper .w-nav-menu { display: none; }
  .header-wrapper.nav-open .w-nav-menu {
    display: block; position: absolute; top: 100%; left: 16px; right: 16px; z-index: 50;
    background: var(--neutral--100); border-radius: var(--border-radius--bd-24px, 24px);
    box-shadow: 0 12px 32px var(--neutral-shadow--02); padding: 24px;
  }
  .header-wrapper.nav-open .list-nav-menu { display: flex; flex-direction: column; gap: 8px; margin: 0; }
  .hamburger-menu-line { transition: transform .3s, opacity .3s; }
  .nav-open .hamburger-menu-line.top { transform: translateY(8px) rotate(45deg); }
  .nav-open .hamburger-menu-line.middle { opacity: 0; }
  .nav-open .hamburger-menu-line.bottom { transform: translateY(-8px) rotate(-45deg); }
}
