/* InteliVend Inc. - Official Brand Stylesheet (Figma Desktop-1 & Mobile-1) */
:root {
  --graphite: #181615;
  --mist: #EDEDED;
  --lime: #BCEE94;
  --lime-hover: #aae67b;
  --glacier: #9AC1E5;
  --glacier-hover: #83b2de;
  --zest: #FD8959;
  --white: #FFFFFF;
  --text-muted: #4A4745;
  --container: 1086px;
  --radius: 10px;
  --radius-sm: 5px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.45;
  color: var(--graphite);
  background-color: var(--white);
  overflow-x: hidden;
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 48px);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(24, 22, 21, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 24px;
}

.brand-logo img {
  width: 224px;
  height: auto;
}

.nav-toggle {
  display: none;
  background: var(--mist);
  border: none;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  font-size: 22px;
  color: var(--graphite);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-size: 16px;
  font-weight: 400;
  color: var(--graphite);
  transition: opacity 0.2s ease;
}

.site-nav a:hover {
  opacity: 0.7;
}

.site-nav a.nav-cta {
  background: var(--lime);
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 500;
}

.site-nav a.nav-cta:hover {
  opacity: 1;
  background: var(--lime-hover);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 45px;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--graphite);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-lime {
  background-color: var(--lime);
  color: var(--graphite);
}

.btn-lime:hover {
  background-color: var(--lime-hover);
}

.btn-glacier {
  background-color: var(--glacier);
  color: var(--graphite);
}

.btn-glacier:hover {
  background-color: var(--glacier-hover);
}

.btn-dark {
  background-color: var(--graphite);
  color: var(--white);
}

.btn-dark:hover {
  background-color: #2c2927;
}

/* Typography Helpers */
.eyebrow {
  font-size: 25px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 10px 0;
  color: var(--graphite);
}

.section-title {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 20px 0;
  color: var(--graphite);
}

.body-copy {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  margin: 0 0 16px 0;
  color: var(--graphite);
}

/* Section 1: Hero */
.hero-section {
  position: relative;
  padding: 28px 0 80px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 510px 1fr;
  align-items: center;
  min-height: 492px;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-right: 24px;
}

.hero-content .eyebrow {
  margin-bottom: 12px;
}

.hero-content h1 {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 22px 0;
  color: var(--graphite);
}

.hero-content .body-copy {
  max-width: 445px;
  margin-bottom: 28px;
}

.hero-visual {
  position: relative;
  height: 492px;
  margin-left: -90px;
  border-radius: var(--radius);
  overflow: visible;
}

.hero-photo-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-photo-wrap picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.hero-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #FFFFFF 0%, rgba(255, 255, 255, 0.75) 12%, rgba(255, 255, 255, 0) 32%);
  pointer-events: none;
}

.hero-burst {
  position: absolute;
  top: -42px;
  right: -36px;
  width: 112px;
  height: 112px;
  z-index: 4;
  pointer-events: none;
}

/* Section 2: Our Mission */
.mission-section {
  padding: 40px 0 84px;
}

.mission-top {
  display: grid;
  grid-template-columns: 525px 1fr;
  gap: 54px;
  align-items: center;
  margin-bottom: 42px;
}

.mission-photo-wrap {
  position: relative;
  height: 345px;
  border-radius: var(--radius);
  overflow: hidden;
}

.mission-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% center;
}

.mission-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 45%);
  pointer-events: none;
}

.mission-copy {
  max-width: 486px;
}

.mission-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.mission-card {
  background-color: var(--mist);
  border-radius: var(--radius);
  padding: 30px 28px 34px;
  min-height: 325px;
  display: flex;
  flex-direction: column;
}

.icon-badge {
  width: 63px;
  height: 62px;
  border-radius: var(--radius);
  background-color: var(--glacier);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.icon-badge img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.mission-card h3 {
  font-size: 25px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 16px 0;
  color: var(--graphite);
}

.mission-card p {
  font-size: 16px;
  line-height: 1.42;
  margin: 0;
  color: var(--graphite);
}

/* Section 3: What We Always Deliver */
.deliver-section {
  padding: 36px 0 90px;
}

.deliver-grid {
  display: grid;
  grid-template-columns: 445px 1fr;
  gap: 32px;
  align-items: center;
}

.deliver-list {
  list-style: none;
  margin: 26px 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.deliver-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: start;
}

.deliver-arrow {
  width: 19px;
  height: 16px;
  margin-top: 3px;
  color: var(--graphite);
}

.deliver-item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
}

.deliver-item strong {
  font-weight: 700;
}

.deliver-visual {
  position: relative;
  height: 441px;
}

.deliver-photo-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
}

.deliver-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deliver-photo-wrap::after {
  display: none;
}

.deliver-loop {
  position: absolute;
  top: -26px;
  right: -34px;
  width: 240px;
  height: auto;
  z-index: 3;
  pointer-events: none;
}


/* v3: What We Always Deliver ecosystem diagram */
.deliver-diagram {
  height: auto;
  background: #F6F7F5;
  border: 1px solid rgba(24, 22, 21, 0.06);
  border-radius: var(--radius);
  padding: 40px 36px;
}
.eco-grid {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  grid-template-rows: auto 132px auto;
  align-items: center;
  justify-items: center;
}
.eco-node {
  align-self: stretch;
  width: 100%;
  max-width: 250px;
  min-height: 168px;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(24, 22, 21, 0.07);
  padding: 22px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}
.eco-node strong {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--graphite);
}
.eco-sub {
  font-size: 13px;
  line-height: 1.35;
  color: #5B5856;
}
.eco-icon {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  color: var(--graphite);
}
.eco-icon > svg {
  width: 32px;
  height: 32px;
}
.eco-equip .eco-icon { background: var(--lime); }
.eco-cons .eco-icon { background: var(--zest); }
.eco-soft .eco-icon { background: var(--glacier); }
.eco-support .eco-icon { background: var(--graphite); color: #FFFFFF; }
.eco-badge {
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--zest);
  border: 3px solid #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--graphite);
}
.eco-badge svg {
  width: 14px;
  height: 14px;
}
.eco-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}
.eco-arrow svg {
  width: 46px;
  height: 16px;
}
.eco-arrow-left svg { transform: rotate(180deg); }
.eco-arrow-down svg { transform: rotate(90deg); }
.eco-arrow-up svg { transform: rotate(-90deg); }
.eco-hub {
  grid-column: 2;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: var(--graphite);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 0 0 10px rgba(188, 238, 148, 0.45);
  position: relative;
  z-index: 2;
}
.eco-hub strong {
  font-size: 17px;
  font-weight: 600;
}
.eco-hub span:last-child {
  font-size: 9.5px;
  line-height: 1.25;
  max-width: 84px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lime);
  margin-top: 2px;
}
.eco-hub-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--zest);
  margin-bottom: 6px;
}

/* Section 4: Explore Our First Innovation - Zwirly */
.zwirly-section {
  padding: 36px 0 84px;
}

.zwirly-intro {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 48px;
  align-items: start;
}

.zwirly-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.zwirly-logo-3d {
  width: 248px;
  height: 248px;
  object-fit: contain;
  margin-top: 8px;
}

.zwirly-desc-col h3 {
  font-size: 25px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 18px 0;
  max-width: 520px;
}

.zwirly-desc-col p {
  font-size: 16px;
  line-height: 1.45;
  margin: 0 0 16px 0;
  max-width: 635px;
}

.zwirly-desc-col .btn {
  margin-top: 8px;
}


/* v3: centered Zwirly intro with logo circle */
.zwirly-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
  max-width: 780px;
  margin: 0 auto;
}
.zwirly-brand-col {
  align-items: center;
  text-align: center;
}
.zwirly-logo-circle {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 0 10px rgba(154, 193, 229, 0.35), 0 18px 40px rgba(24, 22, 21, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}
.zwirly-logo-circle .zwirly-logo-3d {
  width: 196px;
  height: auto;
  margin: 0;
}
.zwirly-desc-col h3,
.zwirly-desc-col p {
  margin-left: auto;
  margin-right: auto;
}

/* Section 5: Meet The Team */
.team-section {
  padding: 24px 0 92px;
}

.team-section .section-title {
  text-align: center;
  margin-bottom: 44px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.team-card {
  background-color: var(--mist);
  border-radius: var(--radius);
  padding: 46px 48px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-avatar {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background-color: var(--glacier);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.team-avatar svg {
  width: 58px;
  height: 58px;
  fill: var(--white);
}

.team-card h3 {
  font-size: 25px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 6px 0;
  color: var(--graphite);
}

.team-role {
  font-size: 16px;
  font-style: italic;
  font-weight: 400;
  margin: 0 0 22px 0;
  color: var(--graphite);
}

.team-bio {
  font-size: 14px;
  line-height: 1.5;
  color: var(--graphite);
  margin: 0 0 14px 0;
}

.team-bio:last-child {
  margin-bottom: 0;
}

/* Section 6: Join The Movement (Contact) */
.contact-section {
  padding: 0 0 96px;
}

.contact-banner {
  background-color: var(--lime);
  border-radius: var(--radius);
  padding: 58px 56px;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 56px;
  align-items: start;
}

.contact-copy .section-title {
  margin-bottom: 18px;
}

.contact-copy p {
  font-size: 16px;
  line-height: 1.45;
  margin: 0 0 16px 0;
}

.contact-direct {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(24, 22, 21, 0.15);
  font-size: 15px;
  line-height: 1.6;
}

.contact-direct a {
  font-weight: 600;
  text-decoration: underline;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background-color: var(--mist);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 13px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--graphite);
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--graphite);
  opacity: 0.85;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  background-color: var(--white);
  border-color: var(--graphite);
}

.form-field textarea {
  min-height: 136px;
  resize: vertical;
}

.contact-form .btn-glacier {
  align-self: flex-start;
  min-width: 120px;
  margin-top: 6px;
}

.form-status {
  display: none;
  margin-top: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--graphite);
  font-size: 15px;
  font-weight: 500;
}

/* Section 7: Footer */
.site-footer {
  background-color: var(--graphite);
  color: var(--white);
  padding: 64px 0 48px;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand img {
  width: 210px;
  height: auto;
  margin-bottom: 18px;
}

.footer-brand p {
  margin: 0 0 6px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.footer-brand a {
  color: var(--lime);
  text-decoration: underline;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  font-size: 16px;
  color: var(--white);
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--lime);
}

.footer-copy {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.footer-legal {
  padding-top: 28px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
}

.footer-legal p {
  margin: 0 0 8px 0;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

/* Legal Subpages */
.legal-page {
  padding: 64px 0 96px;
}

.legal-prose {
  max-width: 780px;
  margin: 0 auto;
}

.legal-prose h1 {
  font-size: 38px;
  font-weight: 600;
  margin: 0 0 12px 0;
}

.legal-prose h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 32px 0 10px 0;
}

.legal-prose p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 16px 0;
}

/* Responsive Mobile & Tablet (Matches Figma iPhone 16 Pro Max - 1) */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    order: 1;
    margin-left: 0;
    height: clamp(300px, 60vw, 460px);
  }

  .hero-photo-wrap::after {
    background: linear-gradient(0deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 50%);
  }

  .hero-burst {
    width: 82px;
    height: 82px;
    top: auto;
    bottom: -36px;
    right: 12px;
  }

  .hero-content {
    order: 2;
    background-color: var(--mist);
    border-radius: var(--radius);
    padding: 32px 26px;
    margin-top: -28px;
    box-shadow: 0 8px 24px rgba(24, 22, 21, 0.04);
  }

  .hero-content h1,
  .section-title {
    font-size: 28px;
  }

  .eyebrow {
    font-size: 18px;
  }

  .mission-top,
  .deliver-grid,
  .zwirly-intro,
  .team-grid,
  .contact-banner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .mission-cards {
    grid-template-columns: 1fr;
  }

  .mission-card {
    min-height: auto;
  }

  .deliver-visual {
    order: 2;
  }

  .deliver-diagram {
    padding: 24px 14px;
  }

  .eco-grid {
    grid-template-columns: 1fr 34px 1fr;
    grid-template-rows: auto 96px auto;
  }

  .eco-node {
    min-height: 150px;
    padding: 16px 8px 14px;
  }

  .eco-node strong {
    font-size: 14px;
  }

  .eco-sub {
    font-size: 12px;
  }

  .eco-icon {
    width: 52px;
    height: 52px;
  }

  .eco-icon > svg {
    width: 26px;
    height: 26px;
  }

  .eco-arrow svg {
    width: 30px;
  }

  .eco-hub {
    width: 90px;
    height: 90px;
    box-shadow: 0 0 0 6px rgba(188, 238, 148, 0.45);
  }

  .eco-hub strong {
    font-size: 13px;
  }

  .eco-hub span:last-child {
    font-size: 7.5px;
    max-width: 66px;
  }

  .zwirly-section {
    padding-bottom: 56px;
  }

  .deliver-photo-wrap::after {
    display: none;
  }

  .deliver-loop {
    width: 170px;
    top: -16px;
    right: -12px;
  }

  .zwirly-brand-col {
    align-items: center;
    text-align: center;
  }

  .zwirly-logo-circle {
    width: 210px;
    height: 210px;
  }

  .zwirly-logo-circle .zwirly-logo-3d {
    width: 160px;
    height: auto;
  }

  .contact-banner {
    padding: 36px 24px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-nav-col {
    align-items: flex-start;
  }

  .footer-nav {
    justify-content: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 820px) {
  .header-inner {
    min-height: 76px;
  }

  .brand-logo img {
    width: 156px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid rgba(24, 22, 21, 0.1);
    padding: 18px 24px 24px;
    box-shadow: 0 12px 24px rgba(24, 22, 21, 0.08);
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
