/* AMINO offer cards: one visual language for services and monthly packages. */
.amino-offer {
  --offer-ink: #1d1d1f;
  --offer-muted: #606066;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  color: var(--offer-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}
.amino-offer *, .amino-services-hero *, .amino-services-close * { box-sizing: border-box; }
.amino-offer__heading {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: end;
  gap: 64px;
  margin-bottom: 36px;
}
.amino-offer .amino-offer__eyebrow, .amino-services-page .amino-offer__eyebrow {
  margin: 0 0 14px;
  color: #606066;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .025em;
  text-transform: none;
}
.amino-offer .amino-offer__heading h2 {
  margin: 0;
  max-width: 660px;
  font-size: clamp(31px, 4vw, 48px) !important;
  font-weight: 600;
  line-height: 1.08 !important;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.amino-offer__heading > p {
  justify-self: end;
  max-width: 370px;
  margin: 0 0 3px;
  color: var(--offer-muted);
  font-size: 16px;
  line-height: 1.65;
}
.amino-offer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 20px; }
.amino-offer__card {
  --offer-surface: #e2eee8;
  --offer-color: #669b84;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px;
  border: 1px solid transparent;
  border-radius: 26px;
  background: var(--offer-surface);
  color: var(--offer-ink);
  text-decoration: none;
  box-shadow: 0 4px 8px #1d1d1f00;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease;
}
.amino-offer__card--mint { --offer-surface: #dfede7; --offer-color: #659b83; }
.amino-offer__card--peach { --offer-surface: #f5e1d7; --offer-color: #b77d61; }
.amino-offer__card--lavender { --offer-surface: #e4e5f3; --offer-color: #898fb7; }
.amino-offer__card--blue { --offer-surface: #e1eaf3; --offer-color: #7299b9; }
.amino-offer__visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1.78;
  overflow: hidden;
  isolation: isolate;
  border-radius: 17px;
  background: #ffffff7d;
  border: 1px solid #ffffff70;
  color: var(--offer-color);
}
.amino-offer__visual svg { display: block; width: 100%; height: 100%; max-height: 190px; }
.amino-offer__visual .offer-solid, .amino-offer__visual .offer-bars { fill: var(--offer-color); }
.amino-offer__visual .offer-ink { fill: #202528; }
.amino-offer__visual .offer-line { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.amino-offer__visual .offer-faint { opacity: .25; }
.amino-offer__visual .offer-chart { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 280; stroke-dashoffset: 0; }
.amino-offer__visual .offer-dot { stroke: currentColor; stroke-width: 2; }
.amino-offer__visual .offer-bars rect { transform-box: fill-box; transform-origin: center bottom; }
.amino-offer__body { display: flex; flex: 1; flex-direction: column; padding: 24px 3px 1px; }
.amino-offer .amino-offer__card h3 {
  margin: 0;
  color: #1d1d1f;
  font-size: clamp(25px, 2.5vw, 31px) !important;
  font-weight: 600;
  line-height: 1.14 !important;
  letter-spacing: -.04em !important;
  text-wrap: balance;
}
.amino-offer__audience { min-height: 46px; margin: 13px 0 20px; color: #535359; font-size: 14px; line-height: 1.55; }
.amino-offer .amino-offer__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px; margin: 0; font-size: 35px; font-weight: 500; line-height: 1.25; letter-spacing: -.055em; }
.amino-offer .amino-offer__price span { color: #535359; font-size: 13px; font-weight: 400; letter-spacing: 0; }
.amino-offer__caption { margin: 5px 0 27px; min-height: 20px; color: #535359; font-size: 12px; line-height: 1.6; }
.amino-offer__details { margin: 0; border-top: 1px solid #1d1d1f1c; font-size: 13px; }
.amino-offer__details summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 51px; padding: 12px 0; cursor: pointer; list-style: none; font-size: 13px; font-weight: 500; }
.amino-offer__details summary::-webkit-details-marker { display: none; }
.amino-offer__details summary > span { display: grid; flex: 0 0 25px; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #ffffff70; font-size: 21px; font-weight: 400; line-height: 1; transition: transform .2s ease; }
.amino-offer__details[open] summary > span { transform: rotate(45deg); }
.amino-offer__details ul { display: grid; gap: 10px; margin: 2px 0 22px; padding: 0; list-style: none; color: #45454c; }
.amino-offer__details[open] ul { animation: offer-detail-in .2s ease-out both; }
.amino-offer__details li { position: relative; padding-left: 18px; line-height: 1.5; }
.amino-offer__details li::before { position: absolute; left: 0; top: 1px; content: "✓"; font-size: 12px; }
.amino-offer__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 49px;
  padding: 14px 0 0;
  border-top: 1px solid #1d1d1f1c;
  color: #1d1d1f;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  text-decoration: none;
}
.amino-offer__link > span {
  display: grid;
  place-items: center;
  flex: 0 0 31px;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #1d1d1f;
  color: white;
  font-size: 17px;
  font-weight: 400;
  transition: transform .25s ease;
}
.amino-offer__card:focus-within { border-color: #1d1d1f44; }
.amino-offer a:focus-visible, .amino-offer summary:focus-visible { outline: 3px solid #FF6A29; outline-offset: 5px; border-radius: 5px; }
.amino-offer__card:focus-visible { border-radius: 26px !important; }
.amino-offer__service { align-self: stretch; }
.amino-offer__service .amino-offer__eyebrow { margin-bottom: 12px; font-size: 12px; color: #505056; }
.amino-offer__description { flex: 1; margin: 17px 0 26px; color: #535359; font-size: 14px; line-height: 1.65; }
.amino-offer__service .amino-offer__link { margin-top: auto; }
.amino-offer__foot { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-top: 27px; }
.amino-offer__foot p, .amino-offer__note { margin: 0; max-width: 700px; color: #6e6e73; font-size: 12px; line-height: 1.65; }
.amino-offer__foot > a { flex: none; color: #1d1d1f; font-size: 13px; font-weight: 500; text-decoration: none; }
.amino-offer__foot > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.amino-offer__foot > a span { padding-left: 9px; }
.amino-offer--preview { padding-block: 86px; }
.amino-offer--catalog { padding-bottom: 12px; }
.amino-services-hero { width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding: 83px 0 88px; }
.amino-services-hero h1 { margin: 18px 0 27px; font-size: clamp(54px, 7.8vw, 102px); line-height: .98; letter-spacing: -.065em !important; }
.amino-services-hero h1 span { color: #919197; }
.amino-services-hero > p:not(.amino-offer__eyebrow) { margin: 0; color: #606066; font-size: 18px; line-height: 1.65; }
.amino-services-hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 29px; }
.amino-services-hero .button, .amino-services-close .button { gap: 18px; padding: 14px 22px; border-radius: 999px; font-size: 13px; }
.amino-services-hero__actions > a:not(.button) { font-size: 13px; font-weight: 500; text-decoration: none; }
.amino-services-hero__actions > a:not(.button):hover { text-decoration: underline; text-underline-offset: 4px; }
.amino-offer--services { padding-bottom: 94px; }
.amino-services-pricing { padding-block: 87px; background: #f5f5f7; scroll-margin-top: 36px !important; }
.amino-services-pricing .amino-offer__card { background: #fff; border-color: #e5e5e9; }
.amino-services-pricing .amino-offer__visual { background: var(--offer-surface); border: 0; }
.amino-services-pricing .amino-offer__details summary > span { background: #f5f5f7; }
.amino-services-pricing .amino-offer__grid { row-gap: 23px; }
.amino-services-pricing .amino-offer__note { margin: 27px 0; max-width: 850px; }
.amino-services-pricing .consultancy { padding: 23px 26px; border: 1px solid #dedee3; border-radius: 19px; background: transparent; font-size: 14px; }
.amino-services-pricing .consultancy summary { font-size: 15px; font-weight: 500; }
.amino-services-pricing .consultancy .section-label { margin-top: 25px; font-size: 12px; text-transform: none; letter-spacing: 0; }
.amino-services-pricing .consultancy-list { margin-block: 23px; }
.amino-services-pricing .consultancy-list > div { padding-block: 13px; border-color: #dedee3; }
.amino-services-pricing .consultancy-list dd { margin-left: 15px; color: #606066; }
.amino-services-close { width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding: 95px 0 107px; text-align: center; }
.amino-services-close h2 { margin: 14px 0 22px; font-size: clamp(42px, 6vw, 70px); line-height: 1.03; }
.amino-services-close > p:not(.amino-offer__eyebrow) { margin: 0 0 29px; color: #6e6e73; font-size: 16px; line-height: 1.6; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .amino-offer__card:hover { transform: translateY(-5px); box-shadow: 0 15px 28px #1d1d1f09; }
  .amino-offer__card:hover .offer-bars rect { animation: offer-bar-rise 1.5s cubic-bezier(.3,.7,.3,1) both; }
  .amino-offer__card:hover .offer-bars rect:nth-child(2) { animation-delay: .09s; }
  .amino-offer__card:hover .offer-bars rect:nth-child(3) { animation-delay: .18s; }
  .amino-offer__card:hover .offer-chart { animation: offer-chart-draw 1s ease both; }
  .amino-offer__card:hover .offer-flow { stroke-dasharray: 4 6; animation: offer-flow-move 2s linear infinite; }
  .amino-offer__link:hover > span, .amino-offer__service:hover .amino-offer__link > span { transform: rotate(45deg); }
}
@keyframes offer-detail-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
@keyframes offer-bar-rise { 0% { transform: scaleY(.55); } 70% { transform: scaleY(1.04); } 100% { transform: scaleY(1); } }
@keyframes offer-chart-draw { from { stroke-dashoffset: 280; } to { stroke-dashoffset: 0; } }
@keyframes offer-flow-move { to { stroke-dashoffset: -30; } }
@media (max-width: 900px) {
  .amino-offer__heading { grid-template-columns: 1.3fr 1fr; gap: 30px; }
  .amino-offer__grid { gap: 15px; }
  .amino-offer__card { padding: 16px; border-radius: 22px; }
  .amino-offer .amino-offer__card h3 { font-size: 25px !important; }
  .amino-offer__link { font-size: 12px; }
  .amino-offer__foot { align-items: flex-start; flex-direction: column; gap: 12px; }
}
@media (max-width: 700px) {
  .amino-offer, .amino-services-hero, .amino-services-close { width: min(500px, calc(100% - 36px)); }
  .amino-offer__heading { grid-template-columns: 1fr; gap: 19px; margin-bottom: 27px; }
  .amino-offer__heading > p { justify-self: start; max-width: 460px; font-size: 15px; }
  .amino-offer__grid { grid-template-columns: 1fr; gap: 20px; }
  .amino-offer__card { padding: 22px; border-radius: 26px; }
  .amino-offer__visual { max-height: 225px; }
  .amino-offer__visual svg { max-height: 200px; }
  .amino-offer .amino-offer__card h3 { font-size: 30px !important; }
  .amino-offer__audience { min-height: 0; }
  .amino-offer__link { font-size: 13px; }
  .amino-offer__description { margin-bottom: 27px; }
  .amino-offer--preview { padding-block: 57px; }
  .amino-offer--catalog { padding-bottom: 0; }
  .amino-offer--services { padding-bottom: 58px; }
  .amino-services-hero { padding: 55px 0 61px; }
  .amino-services-hero h1 { font-size: clamp(50px, 11vw, 68px); }
  .amino-services-hero > p:not(.amino-offer__eyebrow) { font-size: 16px; }
  .amino-services-hero > p br { display: none; }
  .amino-services-hero__actions { gap: 20px; }
  .amino-services-pricing { padding-block: 56px; }
  .amino-services-pricing .consultancy { padding: 21px; }
  .amino-services-pricing .consultancy-list > div { flex-direction: column; gap: 4px; }
  .amino-services-pricing .consultancy-list dd { margin: 0; }
  .amino-services-close { padding-block: 65px 74px; }
}
@media (prefers-reduced-motion: reduce) {
  .amino-offer *, .amino-offer *::before, .amino-offer *::after { animation: none !important; transition: none !important; }
}
