/* ========================================
   Bots & Company - Website Replica
   Faithful reproduction of Webflow design
   ======================================== */

:root {
  --white: #ffffff;
  --black: #000000;
  --grey-2: #d2d2d2;
  --grey: #828496;
  --text-color--body: #666666;
  --text-color--alternate: #f2f2f2;
  --text-color--title: #333333;
  --text-color--grey-100: #c4c4c4;
  --smoke: #f8f6f3;
  --smoke-darker: #eeece9;
  --primary: #344e41;
  --secondary: #c0aa81;
  --radius-xs: 0.25rem;
  --radius-s: 0.5rem;
  --radius-m: 1rem;
  --radius-l: 1.5rem;
  --radius-xl: 2rem;
}

@font-face {
  font-family: 'Gotham OT';
  src: url('fonts/GothamOT Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Gotham OT';
  src: url('fonts/GothamOT Book.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Gotham OT';
  src: url('fonts/GothamOT Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Gotham OT';
  src: url('fonts/GothamOT Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background-color: var(--white);
  color: var(--text-color--body);
  letter-spacing: 0.02em;
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 1.25rem;
  line-height: 1.5em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── LAYOUT ──────────────────────────────────────── */

.padding-global { padding-left: 3rem; padding-right: 3rem; }
.container-large { width: 100%; max-width: 80rem; margin-left: auto; margin-right: auto; }
.container-medium { width: 100%; max-width: 62rem; margin-left: auto; margin-right: auto; }

.padding-section-large { padding-top: 7.5rem; padding-bottom: 7.5rem; }
.padding-section-large.is-hero { padding-top: 12rem; }
.padding-section-medium { padding-top: 5rem; padding-bottom: 5rem; }

.spacer-normal { height: 2rem; margin-bottom: 0; }
.spacer-large { height: 6rem; margin-bottom: 0; }

.text-align-center { text-align: center; }
.text-color-white { color: var(--text-color--alternate); }
.text-color-filet { color: var(--text-color--grey-100); }

._2col-grid {
  display: grid;
  grid-template-columns: 1fr 0.5fr;
  gap: 2rem;
}
._2col-grid.alt {
  gap: 0;
  grid-template-columns: 1fr 1fr;
}

/* ── TYPOGRAPHY ──────────────────────────────────── */

h1 {
  color: var(--text-color--alternate);
  letter-spacing: 0;
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: clamp(3rem, 5vw + 1.5rem, 5rem);
  font-weight: 600;
  line-height: clamp(1.1em, 0.4vw + 1em, 1.5em);
  margin: 0;
}

h2 {
  color: var(--text-color--title);
  letter-spacing: 0;
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: clamp(1.65rem, 2vw + 0.5rem, 2.5rem);
  font-weight: 600;
  line-height: clamp(1.2em, 0.2vw + 1.15em, 1.25em);
  margin: 0;
}

h3 {
  color: var(--text-color--title);
  letter-spacing: 0;
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: clamp(1.25rem, 1.2vw + 0.9rem, 1.875rem);
  font-weight: 600;
  line-height: clamp(1.2em, 0.1vw + 1.15em, 1.25em);
  margin: 0;
}

p {
  color: var(--text-color--body);
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.25rem);
  line-height: 1.5em;
  margin-bottom: 1rem;
}
p:last-child { margin-bottom: 0; }

.heading-style-h4 {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.3;
}

.hero-subtitle {
  color: var(--grey-2);
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-weight: 300;
  font-size: clamp(1.125rem, 1.8vw + 0.5rem, 1.65rem);
  line-height: 1.5em;
}

.text-style-label {
  font-family: 'Source Code Pro', monospace;
  font-size: 1.5rem;
  font-weight: 300;
  position: absolute;
  inset: 0 auto auto 0;
  margin-bottom: 0;
}

.text-style-keyfigures {
  color: var(--text-color--title);
  text-align: left;
  font-family: 'Source Code Pro', monospace;
  font-size: clamp(3rem, 4vw + 1.5rem, 5rem);
  line-height: 1.1em;
}

.text-style-allcaps { text-transform: uppercase; }
.text-weight-light { font-family: 'Source Sans 3', Arial, sans-serif; font-weight: 300; }
.text-size-regular { font-size: 1.5rem; }

.text-style-button {
  text-transform: uppercase;
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  justify-content: flex-start;
}

/* ── NAVIGATION ──────────────────────────────────── */

.main-nav-component {
  background-color: transparent;
  align-items: center;
  width: 100%;
  display: flex;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: transform 0.4s ease, background-color 0.4s ease;
  transform: translateY(32px);
}

.main-nav-component.is-scrolled {
  background-color: var(--black);
  transform: translateY(0);
}

.main-nav-component.is-light {
  background-color: var(--white);
}

.main-nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.75rem 3rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.main-nav_logo-link { padding-left: 0; display: flex; }

.icon-logo-bandc {
  font-family: 'Gotham OT', Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-color--alternate);
  white-space: nowrap;
  transition: color 0.4s ease;
}

.main-nav-component.is-light .icon-logo-bandc { color: var(--black); }

.icon-logo-bandc .logo-short { display: none; }
@media (max-width: 767px) {
  .icon-logo-bandc .logo-full { display: none; }
  .icon-logo-bandc .logo-short { display: inline; }
}

.main-nav_menu-link-wrapper {
  display: flex;
  align-items: center;
  gap: 0;
}

.main-nav-link {
  color: var(--grey-2);
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 140%;
  transition: color 0.4s ease;
}
.main-nav-link.last { padding-right: 0; }
.main-nav-link:hover { color: var(--white); }

.main-nav-component.is-light .main-nav-link { color: var(--black); }
.main-nav-component.is-light .main-nav-link:hover { color: var(--text-color--title); }

.main-nav_menu-button {
  display: none;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-icon2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
}

.menu_line-top, .menu_line-middle, .menu_line-bottom {
  background-color: var(--text-color--alternate);
  width: 24px;
  height: 2px;
  transition: background-color 0.4s ease;
}
.menu_line-middle { margin-top: 6px; margin-bottom: 6px; }

.main-nav-component.is-light .menu_line-top,
.main-nav-component.is-light .menu_line-middle,
.main-nav-component.is-light .menu_line-bottom {
  background-color: var(--black);
}

/* ── HERO ────────────────────────────────────────── */

.header-homepage {
  background-image:
    linear-gradient(rgba(0,0,0,0.05) 52%, #000 100%),
    url(assets/hero-background.webp);
  background-position: 0 0, center;
  background-size: auto, cover;
  height: 100vh;
}

.header-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.heading-wrapper.text-align-center {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ── BUTTON ──────────────────────────────────────── */

.button-new {
  display: flex;
  gap: 1rem;
  border-radius: var(--radius-s);
  color: #333;
  background-color: var(--white);
  justify-content: center;
  align-items: center;
  padding: 0.5rem 2rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.button-new:hover { opacity: 0.85; }

.button-new.black {
  background-color: var(--black);
  color: var(--text-color--grey-100);
}

.icon-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0.8125rem;
  height: 0.8125rem;
}

.button-group { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.button-group.is-center { justify-content: center; }

/* ── DELIVER ─────────────────────────────────────── */

.section_deliver { background-color: var(--white); }

.deliver-info {
  display: block;
}

/* ── LAUNCH / KEY FIGURES ────────────────────────── */

.section_launch { background-color: var(--white); }

.launch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4rem;
}

.launch-card {
  border-bottom: 1px solid var(--text-color--grey-100);
  display: block;
  position: relative;
}

.key-figures-wrapper {
  padding-bottom: 2rem;
  padding-left: 35%;
}
.key-figures-wrapper.middle { padding-left: 20%; }
.key-figures-wrapper.last { padding-left: 17%; }

/* ── TRANSACTIONS ────────────────────────────────── */

.section_transactions { background-color: var(--white); }

.transactions_list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}

.transactions_item {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-radius: var(--radius-m);
  background-color: var(--white);
  padding: 1.5rem;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

.transaction_head {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.transaction_logo-wrapper {
  border: 1px solid var(--smoke-darker);
  border-radius: var(--radius-m);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
}

.transaction_logo-media {
  max-height: 2.5rem;
  object-fit: contain;
}

.transaction_invest-text {
  color: var(--text-color--title);
  text-align: center;
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 1.175rem;
  font-weight: 500;
}

.transaction_detail-wrapper {
  display: flex;
  flex-direction: column;
}

.transaction_list-item {
  border-bottom: 1px solid var(--smoke-darker);
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
  font-size: 1rem;
}
.transaction_list-item:last-child { border-bottom: none; }

.transaction_label { color: var(--text-color--body); }
.transaction_data { color: var(--text-color--title); text-align: right; }

/* ── CLIENTS ─────────────────────────────────────── */

.section_clients { background-color: var(--white); }

.logo_list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.logo_wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 1rem 2rem;
}

.logo_logo {
  object-fit: contain;
  max-height: 3rem;
  filter: grayscale(1);
  transition: filter 0.3s ease;
}
.logo_logo:hover { filter: grayscale(0); }

/* ── MAP ─────────────────────────────────────────── */

.section_map { background-color: var(--white); min-width: 100%; }

.map_component {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.map_list-wrapper {
  border: 1px solid var(--smoke-darker);
  border-radius: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  width: 75%;
  margin: 0 auto 2rem;
  padding: 1rem;
}

.map_item-wrapper {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.map_flag {
  border-radius: 100vw;
  width: 1.5rem;
  height: 1.5rem;
  object-fit: cover;
}

.map_text {
  color: var(--text-color--title);
  font-size: 1rem;
  line-height: 160%;
}

.map_image-wrapper {
  width: 75%;
  margin-left: auto;
  margin-right: auto;
}

.map_image { width: 100%; height: 100%; }

/* ── SERVICES ────────────────────────────────────── */

.section_services { background-color: var(--white); }

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.tech-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-bottom: 1px solid var(--text-color--grey-100);
  padding-bottom: 2rem;
}

/* ── TEAM ────────────────────────────────────────── */

.section_team { background-color: var(--white); }

.team_component {
  display: block;
}

.team-card.team {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  padding-top: 0;
  padding-bottom: 2rem;
}

.team-card {
  display: flex;
  flex-direction: column;
}

.team-member-wrapper {
  display: flex;
  flex-direction: column;
}

.linkedin-link {
  color: var(--text-color--grey-100);
  padding-top: 0.5rem;
}

.icon-linkedin {
  color: var(--text-color--title);
  cursor: pointer;
  display: flex;
  align-items: center;
  width: 1.125rem;
  height: 1.1875rem;
}
.icon-linkedin:hover { color: var(--text-color--body); }

.cta-wrapper { display: flex; }

/* ── CTA ─────────────────────────────────────────── */

.section_cta {
  background-color: var(--white);
  display: block;
  position: relative;
}

.cta_card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  border-radius: var(--radius-m);
  background-image: url(assets/cta-background.webp);
  background-position: center;
  background-size: cover;
  width: 100%;
  padding: 5rem 2rem;
}

.cta_heading-wrapper {
  display: flex;
  flex-direction: column;
}

.cta_heading-wrapper h2.text-color-white {
  color: var(--text-color--alternate);
  font-size: 3rem;
  line-height: 140%;
}

.cta_heading-wrapper p.text-color-white {
  color: var(--text-color--alternate);
  font-size: 1.175rem;
  line-height: 160%;
}

/* ── FOOTER ──────────────────────────────────────── */

.footer {
  background-color: var(--black);
  color: var(--white);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  gap: 4rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.footer-logo-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo-link { display: inline-flex; }

.icon-logo-bandc-alt {
  font-family: 'Gotham OT', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
}

.footer-link-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--text-color--grey-100);
}

.call-link-footer {
  color: var(--grey-2);
  transition: color 0.2s ease;
}
.call-link-footer:hover { color: var(--text-color--title); }

.footer-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 4rem;
}

.footer-nav-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links {
  color: var(--text-color--grey-100);
  transition: color 0.2s ease;
}
.footer-links:hover { color: var(--text-color--body); }

.footer-lower {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--text-color--title);
  margin-top: 6rem;
  padding-top: 2rem;
  font-size: 0.875rem;
  color: var(--text-color--grey-100);
}
.footer-lower a { color: var(--text-color--grey-100); transition: color 0.2s; }
.footer-lower a:hover { color: var(--grey-2); }

/* ── ANCHOR OFFSET ───────────────────────────────── */

.anchor-section { scroll-margin-top: 100px; }

/* ── RESPONSIVE ──────────────────────────────────── */

@media (max-width: 991px) {
  .padding-global { padding-left: 2rem; padding-right: 2rem; }
  .padding-section-large { padding-top: 4rem; padding-bottom: 4rem; }
  .padding-section-medium { padding-top: 4rem; padding-bottom: 4rem; }
  .spacer-large { height: 4rem; }

  .main-nav-component {
    background-color: var(--black);
    transform: translateY(0);
  }
  .main-nav-content { padding: 0.75rem 1rem; }
  .icon-logo-bandc { font-size: 1.6rem; }
  .main-nav_menu-link-wrapper {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--black);
    padding: 1rem 3rem 2rem;
  }
  .main-nav_menu-link-wrapper.is-open { display: flex; }
  .main-nav-component.is-light .main-nav_menu-link-wrapper {
    background-color: var(--white);
  }
  .main-nav_menu-button { display: flex; }
  .anchor-section { scroll-margin-top: 160px; }

  ._2col-grid { display: flex; flex-direction: column; gap: 0; }
  ._2col-grid.alt { display: flex; flex-direction: column; }

  .launch-grid { display: flex; flex-direction: column; width: 50%; margin: auto; }
  .launch-card .text-style-label { position: static; margin-bottom: 0.5rem; }
  .key-figures-wrapper,
  .key-figures-wrapper.middle,
  .key-figures-wrapper.last { padding-left: 0; }

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

  .logo_list { grid-template-columns: repeat(4, 1fr); }
  .logo_logo { max-height: 2rem; }

  .map_list-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    width: 100%;
    padding: 2rem;
  }
  .map_image-wrapper { width: 100%; }

  .tech-grid { gap: 4rem; }

  .team-card.team { flex-direction: column; }

  .footer-content { display: flex; flex-direction: column; gap: 2rem; }
  .footer-right { display: flex; flex-direction: column; gap: 1.5rem; }
}

@media (max-width: 767px) {
  .padding-global { padding-left: 1.5rem; padding-right: 1.5rem; }

  .transactions_list { display: flex; flex-direction: column; }

  .logo_list { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .logo_logo { max-height: 1.5rem; }

  .map_list-wrapper {
    gap: 1rem 1.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .map_flag { width: 1rem; height: 1rem; }
  .map_text { font-size: 0.875rem; }
}

@media (max-width: 479px) {
  .padding-global { padding-left: 1rem; padding-right: 1rem; }
  .padding-section-large { padding-top: 2rem; padding-bottom: 2rem; }
  .padding-section-medium { padding-top: 2rem; padding-bottom: 2rem; }
  .spacer-normal { height: 1rem; }
  .spacer-large { height: 3rem; }

  .button-new { padding: 1rem 2rem; }

  .launch-grid { width: 100%; }

  .logo_list { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .logo_wrapper { padding: 0.5rem; }

  .tech-grid { grid-template-columns: 1fr; }
  .tech-card { gap: 0.5rem; }

  .heading-style-h4 { font-size: 1.25rem; line-height: 1.4; }

  .transaction_logo-wrapper { padding: 1rem; }
  .transaction_invest-text { font-size: 1rem; }

  .map_text { font-size: 0.75rem; }

  .cta_card { padding: 4rem 2rem; }
}
