/* Savivarčio puslapis: esami šriftai, spalvos, mygtukai ir sekcijų tarpai. */
.tipper-page { padding-top: 80px; }
.tipper-page [id] { scroll-margin-top: 100px; }
.tipper-hero { padding: 0 24px; }
.tipper-hero-frame {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 560px;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  background: var(--primary-dark);
}
.tipper-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 53%;
  z-index: -2;
}
.tipper-hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .58) 38%, rgba(0, 0, 0, .14) 75%, rgba(0, 0, 0, .04) 100%);
}
.tipper-hero-content { padding-block: 64px; }
.tipper-hero .sec__label { color: #fff; }
.tipper-hero h1 {
  max-width: 650px;
  margin-bottom: 20px;
  color: #fff;
  text-wrap: balance;
}
.tipper-hero-content > p {
  max-width: 500px;
  margin-bottom: 28px;
  color: #fff;
  font-size: 18px;
}
.tipper-band {
  margin: 0 24px;
  color: #fff;
}
.tipper-band-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1400px;
  padding: 0;
  background: var(--primary);
  border-radius: 0 0 24px 24px;
  overflow: hidden;
}
.tipper-band-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 32px 24px;
}
.tipper-band-item:nth-child(even) { background: rgba(0, 0, 0, .12); }
.tipper-band-item > i {
  flex-shrink: 0;
  font-size: 28px;
}
.tipper-band h2 {
  color: #fff;
  font-size: 19px;
  letter-spacing: -.02em;
  margin-bottom: 6px;
}
.tipper-band p {
  color: #fff;
  font-size: 13px;
  line-height: 1.6;
}
.tipper-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.tipper-service {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding-top: 180px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-white);
  border: 1px solid var(--border);
}
.tipper-service-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  grid-template-rows: minmax(68px, auto) 1fr;
  align-items: start;
  gap: 20px 16px;
  padding: 28px;
  background: #1e1e1e;
}
.tipper-service-icon {
  display: block;
  align-self: center;
  width: 48px;
  height: 48px;
  filter: brightness(0) invert(1);
}
.tipper-service h3 {
  align-self: center;
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  line-height: 1.25;
  font-weight: 500;
}
.tipper-service p,
.tipper-service li { font-weight: 400; }
.tipper-service-content > p,
.tipper-service-content > ul {
  grid-column: 1 / -1;
  margin: 0;
}
.tipper-service p { color: var(--text-secondary); }
.tipper-service--photo { border: 0; background: #1e1e1e; }
.tipper-service--photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center 65%;
  z-index: 0;
  transition: transform .6s var(--ease);
}
.tipper-service--photo::after {
  content: "";
  position: absolute;
  inset: 120px 0 auto;
  height: 60px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, #1e1e1e);
}
.tipper-service--photo h3,
.tipper-service--photo p,
.tipper-service--photo ul { color: #fff; }
.tipper-materials { display: grid; gap: 10px; }
.tipper-materials li {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.tipper-materials li::before {
  content: "\2713";
  flex-shrink: 0;
  font-size: 13px;
}
.tipper-loading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}
.tipper-loading-photo {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
}
.tipper-loading-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 6 / 5;
  object-fit: cover;
  object-position: center 57%;
  transition: transform .6s var(--ease);
}
.tipper-loading h2 { margin-bottom: 24px; }
.tipper-loading-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.tipper-loading-note i {
  margin-top: 6px;
  color: var(--primary);
}
.tipper-loading-note p { color: var(--text-primary); }
.tipper-contact-heading h2 { margin-bottom: 20px; }
.tipper-contact-cards { margin-bottom: 0; }
.tipper-contact-cards .c-card__label,
.tipper-contact-cards .c-card__val { display: block; }
.tipper-contact-cards .c-card__val { overflow-wrap: anywhere; }
.tipper-contact-cards .c-card > span:last-child { min-width: 0; }
.tipper-page a:focus-visible { outline: 3px solid var(--primary); outline-offset: 5px; }
.tipper-hero a:focus-visible { outline-color: #fff; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tipper-service.vis:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
  .tipper-service:hover > img,
  .tipper-loading-photo:hover img { transform: scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .tipper-page .reveal,
  .tipper-page .reveal-left,
  .tipper-page .reveal-right { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 1024px) {
  .tipper-band-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tipper-band-item { padding: 24px; }
  .tipper-band-item:nth-child(even) { background: none; }
  .tipper-band-item:nth-child(2),
  .tipper-band-item:nth-child(3) { background: rgba(0, 0, 0, .12); }
  .tipper-loading { gap: 32px; }
  .tipper-services-grid { gap: 20px; }
  .tipper-service-content { padding: 28px 24px; }
}
@media (max-width: 768px) {
  .tipper-hero { padding-inline: 12px; }
  .tipper-hero-frame { min-height: 480px; }
  .tipper-hero-frame::after { background: rgba(0, 0, 0, .58); }
  .tipper-hero-content { padding-block: 44px; }
  .tipper-hero-content > p { font-size: 16px; }
  .tipper-band { margin-inline: 12px; }
  .tipper-band-item { gap: 12px; padding: 22px 18px; align-items: flex-start; }
  .tipper-band-item > i { font-size: 22px; margin-top: 3px; }
  .tipper-band h2 { font-size: 17px; }
  .tipper-services-grid { grid-template-columns: 1fr; }
  .tipper-service-content { padding: 28px; }
  .tipper-loading { grid-template-columns: 1fr; }
  .tipper-loading-copy { order: -1; }
}
@media (max-width: 480px) {
  .tipper-band-item { flex-direction: column; gap: 12px; }
  .tipper-hero-frame { min-height: 440px; }
}
