:root {
  --green: #36b66e;
  --brand-green: #43b072;
  --dark-green: #124d3d;
  --off-white: #f8f4de;
  --warm-gray: #e3e2d8;
  --black: #000;
  --white: #fff;
  --muted: #6b6b64;
  --container: 1330px;
}

/*
  GT Ultra Median is a licensed brand font. The source package intentionally
  does not redistribute the font files. Put the licensed .woff2 files in
  /fonts using the names below to activate the exact typography.
*/
@font-face {
  font-family: "GT Ultra Median";
  src: url("fonts/GT-Ultra-Median-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "GT Ultra Median";
  src: url("fonts/GT-Ultra-Median-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: "Work Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(var(--container), calc(100% - 110px)); margin-inline: auto; }
.section-space { padding-block: 55px; }
.mobile-only { display: none; }

.site-header { padding: 48px 0 40px; position: relative; z-index: 30; background: white; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { width: 290px; max-width: 24vw; }
.desktop-nav { display: flex; align-items: center; gap: clamp(48px, 6vw, 108px); font-size: 17px; }
.desktop-nav a { transition: opacity .2s ease; }
.desktop-nav a:hover { opacity: .55; }
.menu-toggle, .mobile-nav { display: none; }

.hero {
  min-height: 568px;
  position: relative;
  display: grid;
  grid-template-columns: 50.5% 49.5%;
  overflow: hidden;
  border-radius: 38px;
  background: var(--dark-green);
}
.hero-copy { color: white; padding: 46px 48px 108px; display: flex; flex-direction: column; justify-content: flex-start; }
.eyebrow { margin: 0; color: var(--green); font-size: 16px; line-height: 1.2; font-weight: 400; }
.hero-eyebrow { font-family: "GT Ultra Median", Georgia, serif; font-size: 24px; }
h1, h2, h3, .leasing-copy, .vendor-copy-card h2 { font-family: "GT Ultra Median", Georgia, serif; font-weight: 400; }
.hero h1 { margin: 72px 0 0; max-width: 510px; font-size: clamp(38px, 3.1vw, 48px); line-height: .96; letter-spacing: -0.02em; }
.hero-image { overflow: hidden; min-height: 568px; background: #c8d1ce; clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%, 0 50%); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.trust-row { margin-top: auto; display: flex; gap: 18px; align-items: center; }
.trust-row p { margin: 0; font-size: 15px; line-height: 1.28; }
.avatars { display: flex; }
.avatars img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid white; background: #eee; }
.avatars img + img { margin-left: -11px; }
.pill-button { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-size: 15px; font-weight: 700; }
.hero-button { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); width: 286px; height: 54px; background: white; color: black; transition: transform .2s ease, background .2s ease; }
.hero-button:hover { transform: translateX(-50%) translateY(-2px); background: var(--off-white); }

.process-card { background: var(--warm-gray); border-radius: 38px; padding: 48px 48px 58px; min-height: 600px; }
.section-heading.centered { text-align: center; }
.section-heading h2 { margin: 0; font-size: 47px; line-height: 1; letter-spacing: -0.03em; }
.section-heading .eyebrow { margin-top: 28px; }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; margin-top: 72px; position: relative; }
.process-line { height: 1px; background: #707068; max-width: 870px; margin: 84px auto -103px; }
.process-step { text-align: center; position: relative; }
.step-number { width: 59px; height: 59px; display: grid; place-items: center; margin: 0 auto 42px; color: white; background: black; border-radius: 9px; font-size: 20px; font-weight: 700; position: relative; z-index: 2; }
.process-step h3 { margin: 0 0 26px; font-size: 24px; line-height: 1.02; min-height: 49px; }
.process-step p { margin: 0 auto; max-width: 260px; font-family: "GT Ultra Median", Georgia, serif; font-size: 18px; line-height: 1.08; }

.why { padding-top: 22px; }
.why-heading { max-width: 850px; margin: 0 auto 64px; }
.why-heading h2 { margin-top: 34px; font-size: 47px; line-height: 1.08; }
.benefit-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.benefit-card { min-height: 451px; border-radius: 36px; background: var(--dark-green); color: white; padding: 44px 30px 30px; display: flex; flex-direction: column; justify-content: space-between; }
.benefit-card-light { background: var(--warm-gray); color: black; }
.benefit-card h3 { font-family: "Work Sans", Arial, sans-serif; font-size: 22px; line-height: 1.05; font-weight: 500; margin: 0 0 30px; }
.benefit-card p { font-family: "GT Ultra Median", Georgia, serif; font-size: 19px; line-height: 1.13; margin: 0; }
.arrow-circle { width: 50px; height: 50px; border-radius: 50%; background: white; color: black; display: grid; place-items: center; font-size: 22px; }
.benefit-card-light .arrow-circle { color: #b7b7ad; }
.leasing-blurb { text-align: center; max-width: 760px; margin: 92px auto 0; }
.leasing-copy { margin: 28px 0 0; font-family: "Work Sans", Arial, sans-serif; font-size: 22px; line-height: 1.22; }

.vendors-banner { height: 683px; position: relative; overflow: hidden; margin-top: 70px; }
.vendors-banner > img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.vendor-copy-card { position: absolute; z-index: 2; left: max(55px, calc((100vw - var(--container))/2 + 48px)); top: 104px; width: 445px; min-height: 465px; background: white; border-radius: 0 36px 36px 0; padding: 38px 45px; display: flex; flex-direction: column; align-items: flex-start; }
.vendor-copy-card h2 { font-size: 40px; line-height: .96; margin: 58px 0 40px; }
.small-button { margin-top: auto; background: black; color: white; border-radius: 14px; padding: 15px 25px; font-size: 15px; font-weight: 700; }

.ecosystem { display: grid; grid-template-columns: 42% 58%; min-height: 670px; align-items: center; gap: 50px; padding-top: 95px; padding-bottom: 95px; }
.ecosystem-copy h2 { font-size: 40px; line-height: .96; max-width: 470px; margin: 48px 0 52px; }
.ecosystem-tabs { width: min(510px,100%); }
.eco-tab { width: 100%; border: 0; border-bottom: 1px solid #b9bbb5; background: transparent; padding: 16px 0; display: flex; align-items: center; gap: 16px; cursor: pointer; text-align: left; font-family: "GT Ultra Median", Georgia, serif; font-size: 22px; color: #222; }
.eco-tab span { width: 18px; height: 18px; border-radius: 50%; background: #e3e2d8; flex: 0 0 auto; transition: background .28s ease; }
.eco-tab.active { font-weight: 700; }
.eco-tab[data-state="vendors"].active span { background: #36b66e; }
.eco-tab[data-state="medicos"].active span { background: #164c3e; }
.eco-tab[data-state="pacientes"].active span { background: #93292c; }
.ecosystem-visual { display: grid; place-items: center; }
.eco-orbit {
  --eco-color: #36b66e;
  --eco-stroke: #36b66e;
  width: min(554px, 90%);
  aspect-ratio: 1;
  border: 1px solid var(--eco-stroke);
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
  padding: 90px;
  text-align: center;
  transition: border-color .35s ease;
}
.eco-orbit[data-state="vendors"] { --eco-color: #36b66e; --eco-stroke: #36b66e; }
.eco-orbit[data-state="medicos"] { --eco-color: #164c3e; --eco-stroke: #1a4236; }
.eco-orbit[data-state="pacientes"] { --eco-color: #93292c; --eco-stroke: #93292c; }
.eco-orbit p { margin: 0; color: var(--eco-color); font-family: "GT Ultra Median", Georgia, serif; font-size: 21px; line-height: 1.08; max-width: 315px; transition: opacity .15s ease, transform .15s ease, color .35s ease; }
.eco-orbit.changing p { opacity: 0; transform: translateY(5px); }
.orbit-marker {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 9px;
  background: var(--eco-color);
  transform: translate(-50%, -50%);
  transition: left .42s cubic-bezier(.4,0,.2,1), top .42s cubic-bezier(.4,0,.2,1), background-color .35s ease;
}
/* Exact marker centers from the three Figma desktop interaction states. */
.eco-orbit[data-state="vendors"] .orbit-marker { left: 0%; top: 52.35%; }
.eco-orbit[data-state="medicos"] .orbit-marker { left: 86.46%; top: 14.44%; }
.eco-orbit[data-state="pacientes"] .orbit-marker { left: 50%; top: 100%; }

.faq-section { background: black; color: white; padding: 78px 0 88px; }
.faq-inner h2 { text-align: center; font-size: 47px; letter-spacing: -0.03em; margin: 0 0 58px; }
.faq-list { max-width: 1232px; margin: auto; }
.faq-item { border-bottom: 1px solid #4a4a4a; }
.faq-question { width: 100%; border: 0; color: white; background: transparent; display: flex; justify-content: space-between; align-items: center; padding: 18px 2px; cursor: pointer; text-transform: uppercase; text-align: left; font-size: 20px; }
.faq-icon { font-size: 26px; font-weight: 300; line-height: 1; margin-left: 20px; }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.faq-answer > p { overflow: hidden; margin: 0; font-family: "GT Ultra Median", Georgia, serif; font-size: 18px; line-height: 1.25; max-width: 940px; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-item.open .faq-answer > p { padding: 0 0 22px; }

.site-footer { background: white; }
.footer-main { min-height: 500px; display: grid; grid-template-columns: 38% 1fr; grid-template-rows: auto auto; column-gap: 70px; padding-top: 72px; padding-bottom: 46px; }
.footer-contact { font-size: 16px; line-height: 1.45; display: grid; grid-template-columns: 1fr 1.25fr; gap: 22px; align-items: start; }
.contact-phone { align-self: start; }
.contact-address { display: flex; flex-direction: column; align-items: flex-start; }
.contact-address p { margin: 60px 0 0; max-width: 245px; }
.footer-copy { font-size: 16px; line-height: 1.45; }
.footer-copy > p { font-family: "GT Ultra Median", Georgia, serif; margin: 0; max-width: 610px; }
.footer-links-secondary { display: flex; justify-content: space-between; gap: 35px; margin-top: 42px; }
.footer-logo { grid-column: 1 / 2; width: 530px; max-width: 100%; align-self: end; margin-top: 55px; }
.footer-bar { background: black; color: white; min-height: 54px; display: flex; align-items: center; }
.footer-bar-inner { display: grid; grid-template-columns: 1fr auto auto; gap: 90px; font-family: "GT Ultra Median", Georgia, serif; font-size: 15px; }

@media (max-width: 1000px) {
  .container { width: min(100% - 40px, 900px); }
  .site-header { padding: 24px 0 22px; }
  .brand { width: 185px; max-width: none; }
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; gap: 7px; border: 0; background: none; padding: 10px; cursor: pointer; }
  .menu-toggle span { display: block; width: 25px; height: 1px; background: black; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-nav { position: absolute; left: 20px; right: 20px; top: calc(100% - 10px); background: white; border: 1px solid #ddd; border-radius: 18px; padding: 12px 20px; box-shadow: 0 15px 40px rgba(0,0,0,.08); }
  .mobile-nav.open { display: grid; }
  .mobile-nav a { padding: 15px 0; border-bottom: 1px solid #eee; }
  .mobile-nav a:last-child { border-bottom: 0; }

  .hero { grid-template-columns: 1fr; min-height: auto; border-radius: 24px; }
  .hero-copy { min-height: 415px; padding: 30px 24px 40px; }
  .hero h1 { margin-top: 42px; font-size: 38px; max-width: 600px; }
  .hero-image { min-height: 360px; clip-path: none; }
  .hero-button { bottom: 28px; }
  .trust-row { margin-top: 50px; padding-bottom: 55px; }

  .process-card { padding: 40px 24px; }
  .process-line { display: none; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 55px 25px; margin-top: 58px; }
  .step-number { margin-bottom: 26px; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .vendors-banner { height: 600px; }
  .vendor-copy-card { left: 20px; width: min(430px, calc(100% - 40px)); }
  .ecosystem { grid-template-columns: 1fr; }
  .ecosystem-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
  .ecosystem-copy .eyebrow { grid-column: 1/-1; }
  .ecosystem-copy h2 { margin: 12px 0 0; }
  .eco-orbit { width: min(500px, 86vw); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .contact-address p { margin-left: 0; }
}

@media (max-width: 640px) {
  .allies-hero-figma, .allies-hero-figma-link { display: none; }
  .allies-hero-image-crop, .allies-hero-card { display: block; }
  .container { width: calc(100% - 22px); }
  .section-space { padding-block: 28px; }
  .mobile-only { display: initial; }
  .brand { width: 135px; }
  .site-header { padding: 18px 0 16px; }

  .hero { border-radius: 18px; }
  .hero-copy { min-height: 310px; padding: 21px 14px 30px; }
  .hero-eyebrow { font-size: 14px; }
  .hero h1 { margin-top: 35px; font-size: 29px; line-height: .96; max-width: 300px; }
  .hero-image { min-height: 275px; }
  .trust-row { gap: 10px; margin-top: 33px; padding-bottom: 49px; }
  .trust-row p { font-size: 9px; }
  .avatars img { width: 27px; height: 27px; border-width: 1px; }
  .avatars img + img { margin-left: -7px; }
  .hero-button { width: 190px; height: 36px; font-size: 10px; bottom: 18px; }

  .process-card { border-radius: 17px; padding: 24px 15px 32px; }
  .section-heading h2, .why-heading h2, .faq-inner h2 { font-size: 28px; }
  .section-heading .eyebrow { margin-top: 16px; font-size: 9px; }
  .process-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 34px; }
  .step-number { width: 21px; height: 21px; border-radius: 3px; font-size: 8px; margin-bottom: 25px; }
  .process-step h3 { font-size: 12px; min-height: 32px; margin-bottom: 18px; }
  .process-step p { font-size: 8px; line-height: 1.12; }

  .why-heading { margin-bottom: 26px; }
  .why-heading h2 { margin-top: 18px; line-height: 1.05; }
  .benefit-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .benefit-card { min-height: 232px; border-radius: 18px; padding: 18px 12px 12px; }
  .benefit-card h3 { font-size: 10px; margin-bottom: 16px; }
  .benefit-card p { font-size: 10px; }
  .arrow-circle { width: 25px; height: 25px; font-size: 11px; }
  .leasing-blurb { margin-top: 40px; }
  .leasing-blurb .eyebrow { font-size: 8px; }
  .leasing-copy { margin-top: 12px; font-size: 11px; }

  .vendors-banner { height: 430px; margin-top: 24px; }
  .vendors-banner > img { object-position: 58% center; }
  .vendor-copy-card { top: 50px; left: 11px; width: 165px; min-height: 250px; border-radius: 0 18px 18px 0; padding: 18px 14px; }
  .vendor-copy-card .eyebrow { font-size: 8px; }
  .vendor-copy-card h2 { font-size: 21px; margin: 28px 0 20px; }
  .small-button { font-size: 8px; border-radius: 8px; padding: 8px 12px; }

  .ecosystem { gap: 30px; padding-top: 42px; padding-bottom: 42px; }
  .ecosystem-copy { display: block; }
  .ecosystem-copy .eyebrow { font-size: 8px; }
  .ecosystem-copy h2 { font-size: 24px; max-width: 310px; margin: 22px 0 24px; }
  .eco-tab { font-size: 12px; padding: 10px 0; gap: 9px; }
  .eco-tab span { width: 8px; height: 8px; }
  .eco-orbit { width: 250px; padding: 45px; }
  .eco-orbit[data-state="medicos"] { --eco-stroke: #164c3e; }
  .eco-orbit p { font-size: 11px; max-width: 150px; }
  .orbit-marker { width: 20px; height: 20px; border-radius: 4px; }
  /* Mobile positions follow the mobile Figma interaction frames. */
  .eco-orbit[data-state="vendors"] .orbit-marker { left: 0%; top: 51.45%; }
  .eco-orbit[data-state="medicos"] .orbit-marker { left: 78.36%; top: 8.18%; }
  .eco-orbit[data-state="pacientes"] .orbit-marker { left: 50%; top: 100%; }

  .faq-section { padding: 44px 0 52px; }
  .faq-inner h2 { margin-bottom: 30px; }
  .faq-question { font-size: 10px; padding: 11px 1px; }
  .faq-icon { font-size: 14px; }
  .faq-answer > p { font-size: 9px; }
  .faq-item.open .faq-answer > p { padding-bottom: 14px; }

  .footer-main { min-height: auto; grid-template-columns: 1fr 1fr; gap: 26px 18px; padding-top: 32px; padding-bottom: 30px; font-size: 8px; }
  .footer-contact { display: block; }
  .footer-contact > a { display: block; margin-bottom: 8px; }
  .contact-address a { display: block; margin-bottom: 8px; }
  .contact-address p { margin: 20px 0 0; }
  .footer-copy { font-size: 8px; }
  .footer-links-secondary { display: block; margin-top: 18px; }
  .footer-links-secondary > * { display: block; margin-bottom: 8px; }
  .footer-logo { margin-top: 22px; width: 190px; }
  .footer-bar { min-height: 33px; }
  .footer-bar-inner { grid-template-columns: 1fr auto auto; gap: 12px; font-size: 6px; }
}

/* Interactive benefit cards — mirrors the four Figma click states. */
.benefit-card {
  cursor: pointer;
  transition: background-color .28s ease, color .28s ease, transform .18s ease;
  outline: none;
}
.benefit-card:focus-visible { box-shadow: 0 0 0 3px rgba(54,182,110,.28); }
.benefit-card .benefit-copy { transition: opacity .16s ease, transform .16s ease; }
.benefit-card.changing .benefit-copy { opacity: 0; transform: translateY(4px); }
.benefit-card.active { background: var(--warm-gray); color: black; }
.benefit-card.active .arrow-circle { color: #b7b7ad; }
.benefit-card:not(.active):hover { transform: translateY(-2px); }

/* =========================================================
   Aliados Comerciales page
   ========================================================= */
.allies-page .site-header { padding-bottom: 40px; }
.desktop-nav .active-link { font-weight: 500; }


.allies-hero {
  width: min(1440px, 100%);
  height: 683px;
  margin-inline: auto;
  position: relative;
  overflow: hidden;
  background: #d9dfdc;
}

/* Desktop hero is now built from real layers instead of a rasterized screenshot. */
.allies-hero-figma,
.allies-hero-figma-link {
  display: none;
}

.allies-hero-image-crop {
  display: block;
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.allies-hero-image-crop img {
  position: absolute;
  width: 117.57%;
  height: auto;
  max-width: none;
  left: -6.15%;
  top: -8%;
}

.allies-hero-shape {
  display: block;
  position: absolute;
  z-index: 1;
  left: 54px;
  top: 60px;
  width: 494px;
  height: auto;
  max-width: none;
  pointer-events: none;
}

.allies-hero-card {
  display: block;
  position: absolute;
  z-index: 2;
  top: 104px;
  left: 103px;
  width: 381px;
  height: 421px;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.allies-hero-card .eyebrow {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  font-family: "GT Ultra Median", Georgia, serif;
  font-size: 24px;
  line-height: 1.05;
}

.allies-hero-card h1 {
  position: absolute;
  top: 82px;
  left: 0;
  width: 381px;
  margin: 0;
  font-size: 40px;
  line-height: .954;
  letter-spacing: 0;
}

.allies-hero-card .hero-subcopy {
  position: absolute;
  top: 274px;
  left: 0;
  width: 355px;
  margin: 0;
  font-size: 16px;
  line-height: 1.16;
  text-transform: uppercase;
}

.allies-hero-card .small-button {
  position: absolute;
  top: 367px;
  left: 0;
  width: 175px;
  height: 54px;
  margin: 0;
  padding: 0;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  line-height: 1;
}

.vendor-benefits {
  width: min(1440px, 100%);
  max-width: none;
  padding: 92px 103px 84px 104px;
  margin-inline: auto;
}
.vendor-benefits .section-intro { margin-bottom: 52px; }
.vendor-benefits .section-intro h2 {
  margin: 32px 0 0;
  font-size: 47px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.vendor-benefit-viewport { overflow: visible; }
.vendor-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}
.vendor-benefit-card {
  position: relative;
  min-width: 0;
  height: 337px;
  min-height: 337px;
  padding: 55px 37px 42px;
  background: transparent url("https://www.figma.com/api/mcp/asset/e7b6399b-c54d-4abf-a60b-13fe6cbd6666.png") center / 100% 100% no-repeat;
  border-radius: 0;
  overflow: visible;
}
.vendor-benefit-card::after { display: none; }
.vendor-benefit-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 28px;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 22px;
  line-height: 1;
  font-weight: 500;
  text-transform: uppercase;
}
.vendor-benefit-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 295px;
  font-family: "Gestura Text", Georgia, serif;
  font-size: 20px;
  line-height: 1.05;
}
.vendor-benefit-carousel-controls { display: none; }

.vendor-client-benefit {
  text-align: center;
  padding: 12px 0 92px;
}
.vendor-client-benefit .eyebrow { text-transform: uppercase; }
.vendor-client-benefit h2 {
  max-width: 900px;
  margin: 44px auto 26px;
  font-size: 47px;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.vendor-client-benefit p:last-child {
  margin: 0 auto;
  max-width: 630px;
  font-family: "GT Ultra Median", Georgia, serif;
  font-size: 24px;
  line-height: 1.1;
}

.allies-process {
  min-height: 685px;
  background: #164c3e;
  color: white;
  overflow: hidden;
}
.allies-process-inner {
  width: min(1440px, 100%);
  margin-inline: auto;
  min-height: 685px;
  position: relative;
}
/* Exact Figma crop: final visible mask is 545×577 at x=55, y=63.
   The underlying 949×632 photo is centered behind it and horizontally flipped. */
.allies-process-image {
  position: absolute;
  left: 3.819%;
  top: 63px;
  width: 37.847%;
  height: 577px;
  min-height: 0;
  overflow: hidden;
  margin: 0;
  -webkit-mask-image: url("https://www.figma.com/api/mcp/asset/0307435b-8c7b-4461-8ce4-9bf1ea0d67ec.svg");
  mask-image: url("https://www.figma.com/api/mcp/asset/0307435b-8c7b-4461-8ce4-9bf1ea0d67ec.svg");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.allies-process-image img {
  position: absolute;
  width: 174.13%;
  height: 109.53%;
  max-width: none;
  left: -37.064%;
  top: -9.532%;
  object-fit: fill;
  transform: scaleX(-1);
}
.allies-process-copy {
  position: absolute;
  left: 50.556%;
  right: 55px;
  top: 71px;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.allies-process-copy h2 {
  margin: 36px 0 74px;
  font-size: 47px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.allies-steps {
  display: grid;
  gap: 74px;
  position: relative;
}
.allies-steps::before {
  content: "";
  position: absolute;
  left: 29px;
  top: 35px;
  width: 1px;
  height: 231px;
  background: rgba(255,255,255,.95);
  z-index: 1;
}
.allies-step {
  display: grid;
  grid-template-columns: 59px 1fr;
  gap: 28px;
  align-items: center;
}
.allies-step-number {
  width: 59px;
  height: 59px;
  border-radius: 9px;
  background: white;
  color: black;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 20px;
  position: relative;
  z-index: 2;
}
.allies-step p {
  margin: 0;
  max-width: 470px;
  font-family: "GT Ultra Median", Georgia, serif;
  font-size: 24px;
  line-height: 1.08;
}

.experience-section { padding: 56px 0 70px; }
.experience-card {
  background: var(--warm-gray);
  border-radius: 36px;
  padding: 78px 62px 72px;
  text-align: center;
}
.experience-card h2 {
  margin: 32px 0 68px;
  font-size: 47px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.experience-item strong {
  display: block;
  color: var(--green);
  font-family: "GT Ultra Median", Georgia, serif;
  font-size: 40px;
  line-height: 1;
  font-weight: 400;
  margin-bottom: 38px;
}
.experience-item p {
  margin: 0 auto;
  max-width: 300px;
  font-family: "GT Ultra Median", Georgia, serif;
  font-size: 23px;
  line-height: 1.08;
}

.allies-contact {
  position: relative;
  width: min(1440px, 100%);
  height: 743px;
  margin-inline: auto;
  overflow: hidden;
  background: #164c3e;
  color: white;
  padding: 0;
}
.allies-contact::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: -34px;
  top: 277px;
  width: 631px;
  height: 629px;
  opacity: .34;
  background: url("https://www.figma.com/api/mcp/asset/c6ec3a34-a915-48a4-875f-b92746c08805.png") center / cover no-repeat;
  -webkit-mask-image: url("https://www.figma.com/api/mcp/asset/9762423c-f4ed-4aef-8ab3-6aa817bcd510.svg");
  mask-image: url("https://www.figma.com/api/mcp/asset/9762423c-f4ed-4aef-8ab3-6aa817bcd510.svg");
  -webkit-mask-position: 34px -9px;
  mask-position: 34px -9px;
  -webkit-mask-size: 601px 448px;
  mask-size: 601px 448px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.allies-contact-inner {
  position: static;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  display: block;
}
.allies-contact-copy {
  position: absolute;
  z-index: 2;
  left: 104px;
  top: 80px;
  width: 560px;
}
.allies-contact-copy .eyebrow {
  font-size: 16px;
  line-height: 1.2;
  text-transform: uppercase;
}
.allies-contact-copy h2 {
  margin: 36px 0 0;
  width: 550px;
  max-width: none;
  font-size: 47px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.allies-contact-form {
  position: absolute;
  z-index: 3;
  left: 728px;
  top: 170px;
  width: 657px;
  padding: 0;
  display: block;
}
.allies-form-row {
  display: grid;
  grid-template-columns: 321px 321px;
  gap: 15px;
}
.allies-field {
  display: block;
  margin: 0 0 35px;
}
.allies-field label {
  display: block;
  margin: 0 0 19px;
  font-size: 16px;
  line-height: 1.15;
  text-transform: uppercase;
  font-weight: 400;
}
.allies-field input {
  appearance: none;
  width: 100%;
  height: 26px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.75);
  border-radius: 0;
  background: transparent;
  color: white;
  padding: 0 0 9px;
  outline: none;
  font-family: "Gestura Text", Georgia, serif;
  font-size: 15px;
  line-height: 1;
}
.allies-field input::placeholder { color: rgba(255,255,255,.26); opacity: 1; }
.allies-field input:focus { border-bottom-color: #36b66e; }
.allies-submit {
  position: absolute;
  left: 0;
  top: 407px;
  width: 140px;
  height: 54px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: white;
  color: black;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}
.form-status {
  position: absolute;
  left: 160px;
  top: 424px;
  min-height: 20px;
  margin: 0;
  font-size: 13px;
  color: #fff;
  opacity: .8;
}

@media (max-width: 640px) {
  .allies-page .site-header { padding-bottom: 16px; }

  .allies-hero {
    width: 100%;
    height: 552px;
    margin-inline: 0;
    background: #dfe5e3;
  }
  .allies-hero-figma,
  .allies-hero-figma-link { display: none; }
  .allies-hero-image-crop { height: 552px; }
  .allies-hero-image-crop img {
    width: 180.8%;
    height: auto;
    left: -48.06%;
    top: -3.64%;
  }
  .allies-hero-shape { display: none; }
  .allies-hero-card {
    top: 234px;
    left: 22px;
    width: calc(100% - 44px);
    height: auto;
    min-height: 290px;
    border-radius: 0 18px 40px 18px;
    padding: 30px 26px 20px;
    background: white;
  }
  .allies-hero-card .eyebrow {
    position: static;
    font-size: 15px;
  }
  .allies-hero-card h1 {
    position: static;
    width: auto;
    margin: 17px 0 16px;
    font-size: 28px;
    line-height: .94;
    max-width: 240px;
  }
  .allies-hero-card .hero-subcopy {
    position: static;
    width: auto;
    font-size: 10px;
    max-width: 245px;
  }
  .allies-hero-card .small-button {
    position: static;
    width: auto;
    height: auto;
    margin-top: 18px;
    font-size: 9px;
    padding: 9px 14px;
    border-radius: 8px;
  }

  .vendor-benefits { width: 100%; padding: 88px 0 56px; }
  .vendor-benefits .section-intro { text-align: left; margin-left: 38px; margin-bottom: 38px; }
  .vendor-benefits .section-intro .eyebrow { text-align: center; font-size: 11px; margin-left: -38px; }
  .vendor-benefits .section-intro h2 { font-size: 28px; margin-top: 34px; }
  .vendor-benefit-viewport { width: 100%; overflow: hidden; }
  .vendor-benefit-grid {
    display: flex;
    gap: 0;
    width: 300%;
    transition: transform .35s cubic-bezier(.4,0,.2,1);
  }
  .vendor-benefit-card {
    flex: 0 0 33.333333%;
    height: auto;
    min-height: 250px;
    padding: 30px 48px 30px;
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }
  .vendor-benefit-card::after { display: none; }
  .vendor-benefit-card > div {
    width: 218px;
    min-height: 218px;
    margin: 0 auto;
    padding: 30px 22px;
    border-radius: 16px 16px 36px 16px;
    background: var(--warm-gray);
  }
  .vendor-benefit-card h3 { font-size: 18px; margin-bottom: 24px; }
  .vendor-benefit-card p { font-size: 16px; line-height: 1.1; }
  .vendor-benefit-carousel-controls {
    display: grid;
    grid-template-columns: 40px auto 40px;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 4px;
  }
  .benefit-arrow {
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
  }
  .benefit-dots { display: flex; gap: 9px; }
  .benefit-dot { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 50%; background: #d2d2cb; }
  .benefit-dot.active { background: var(--dark-green); }

  .vendor-client-benefit { padding: 44px 24px 70px; }
  .vendor-client-benefit .eyebrow { font-size: 10px; }
  .vendor-client-benefit h2 { margin: 32px auto 20px; font-size: 28px; line-height: 1.02; }
  .vendor-client-benefit p:last-child { font-size: 16px; line-height: 1.1; max-width: 260px; }

  .allies-process { min-height: auto; }
  .allies-process-inner {
    width: 100%;
    min-height: auto;
    display: flex;
    flex-direction: column;
    position: static;
  }
  .allies-process-copy {
    position: static;
    padding: 52px 48px 26px;
    order: 1;
  }
  .allies-process-copy .eyebrow { font-size: 10px; }
  .allies-process-copy h2 { font-size: 28px; margin: 30px 0 36px; }
  .allies-steps { gap: 64px; }
  .allies-steps::before {
    left: 17px;
    top: 35px;
    width: 1px;
    height: 196px;
  }
  .allies-step { grid-template-columns: 35px 1fr; gap: 24px; }
  .allies-step-number { width: 35px; height: 35px; border-radius: 6px; font-size: 14px; }
  .allies-step p { font-size: 16px; max-width: 210px; }
  .allies-process-image {
    position: relative;
    left: auto;
    top: auto;
    width: calc(100% - 44px);
    min-height: 0;
    height: 291px;
    margin: 0 22px 34px;
    order: 2;
    -webkit-mask-image: url("https://www.figma.com/api/mcp/asset/198d1341-3112-4f67-a0cc-4952d49d8964.svg");
    mask-image: url("https://www.figma.com/api/mcp/asset/198d1341-3112-4f67-a0cc-4952d49d8964.svg");
  }
  .allies-process-image img {
    width: 168.24%;
    height: 122.34%;
    max-width: none;
    left: -36.16%;
    top: -10.39%;
    object-fit: fill;
    transform: scaleX(-1);
  }

  .experience-section { padding: 36px 22px 42px; }
  .experience-card { padding: 52px 24px 46px; border-radius: 18px; }
  .experience-card .eyebrow { font-size: 10px; }
  .experience-card h2 { margin: 28px 0 48px; font-size: 28px; }
  .experience-grid { grid-template-columns: 1fr; gap: 54px; }
  .experience-item strong { font-size: 28px; margin-bottom: 18px; }
  .experience-item p { font-size: 16px; max-width: 225px; }

  .allies-contact { padding: 54px 0 66px; }
  .allies-contact::before { width: 310px; height: 310px; left: 125px; bottom: -42px; }
  .allies-contact-inner { width: calc(100% - 96px); grid-template-columns: 1fr; gap: 42px; }
  .allies-contact-copy { text-align: center; }
  .allies-contact-copy .eyebrow { font-size: 10px; }
  .allies-contact-copy h2 { font-size: 28px; max-width: 270px; margin: 28px auto 0; }
  .allies-contact-form { gap: 20px; padding-top: 0; }
  .allies-form-row { grid-template-columns: 1fr; gap: 20px; }
  .allies-field { gap: 7px; }
  .allies-field label { font-size: 10px; }
  .allies-field input { font-size: 12px; padding-bottom: 8px; }
  .allies-submit { width: 102px; height: 40px; border-radius: 10px; font-size: 10px; margin: 10px auto 0; }
}


@media (max-width: 640px) {
  .allies-contact {
    width: 100%;
    height: 641px;
    margin: 0;
    padding: 0;
  }
  .allies-contact::before {
    left: auto;
    right: -151px;
    top: 421px;
    width: 314px;
    height: 312px;
    opacity: .34;
    background: url("https://www.figma.com/api/mcp/asset/c6ec3a34-a915-48a4-875f-b92746c08805.png") center / cover no-repeat;
    -webkit-mask-position: -19px -9px;
    mask-position: -19px -9px;
    -webkit-mask-size: 182px 229px;
    mask-size: 182px 229px;
  }
  .allies-contact-inner { position: relative; width: 100%; height: 100%; margin: 0; display: block; }
  .allies-contact-copy {
    position: absolute;
    left: 44px;
    right: 44px;
    top: 50px;
    width: auto;
    text-align: center;
  }
  .allies-contact-copy .eyebrow { font-size: 10px; }
  .allies-contact-copy h2 {
    width: auto;
    margin: 30px 0 0;
    font-size: 28px;
    line-height: 1;
  }
  .allies-contact-form {
    left: 48px;
    right: 46px;
    top: 185px;
    width: auto;
  }
  .allies-form-row { display: block; }
  .allies-field { margin-bottom: 20px; }
  .allies-field label { margin-bottom: 8px; font-size: 10px; }
  .allies-field input { height: 24px; padding-bottom: 7px; font-size: 12px; }
  .allies-submit {
    position: static;
    display: block;
    width: 102px;
    height: 40px;
    margin: 26px auto 0;
    font-size: 10px;
  }
}
