/* Allprint: service pages (/teenused/ and single services). */

/* Hero */
.svc-hero { background: var(--stone); border-bottom: 1px solid var(--line); }
.svc-hero__inner { display: grid; gap: 32px; padding-block: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 960px) { .svc-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; } }
.svc-hero__inner--single { grid-template-columns: 1fr !important; }
.svc-hero--overview .svc-hero__text { max-width: 780px; }
.svc-crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.svc-crumbs a:hover { color: var(--ink); }
.svc-hero__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: var(--radius); background: var(--accent); color: #fff; margin-bottom: 18px; }
.svc-hero__title { font-size: clamp(36px, 5vw, 64px); letter-spacing: -.02em; margin-bottom: 18px; }
.svc-hero__lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); max-width: 52ch; line-height: 1.6; }
.svc-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.svc-hero__media { margin: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--stone-2); }
.svc-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 600px) { .svc-hero__actions .btn { width: 100%; } }

/* Facts strip */
.svc-facts { border-bottom: 1px solid var(--line); }
.svc-facts__list { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .svc-facts__list { grid-template-columns: repeat(4, 1fr); } }
.svc-facts__list li { padding: 24px 20px 24px 0; border-bottom: 1px solid var(--line); }
.svc-facts__list li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
@media (min-width: 900px) {
	.svc-facts__list li { border-bottom: 0; padding: 30px 24px; }
	.svc-facts__list li + li { border-left: 1px solid var(--line); }
	.svc-facts__list li:first-child { padding-left: 0; }
}
.svc-facts__list strong { display: block; font-family: var(--font-head); font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.01em; line-height: 1.1; color: var(--accent); }
.svc-facts__list span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); }

/* Methods */
.svc-methods__grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .svc-methods__grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1100px) { .svc-methods__grid--3, .svc-methods__grid--6 { grid-template-columns: repeat(3, 1fr); } .svc-methods__grid--4 { grid-template-columns: repeat(4, 1fr); } }
.svc-method { display: flex; flex-direction: column; padding: 26px 24px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.svc-method__num { font-family: var(--font-head); font-size: 13px; font-weight: 800; color: var(--accent); letter-spacing: .08em; margin-bottom: 14px; }
.svc-method__title { font-size: 20px; margin-bottom: 8px; }
.svc-method p { font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.svc-method__use { margin-top: auto; padding-top: 16px; font-size: 13px; color: var(--muted); }
.svc-method__use::before { content: ""; display: block; height: 1px; background: var(--line); margin-bottom: 12px; }

/* Body text */
.svc-body { padding-top: 0; }
.svc-body__inner { display: grid; gap: 36px; }
@media (min-width: 900px) { .svc-body__inner { grid-template-columns: repeat(2, 1fr); gap: 56px; } }
.svc-body__block h2 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 14px; }
.svc-body__block p { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
.svc-body__block--wide { grid-column: 1 / -1; max-width: none; }
.svc-brands { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.svc-brands__label { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.svc-brands ul { display: flex; flex-wrap: wrap; gap: 10px; }
.svc-brands li { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: 15px; }

/* Gallery */
.svc-gallery { padding-bottom: clamp(56px, 7.5vw, 112px); }
.svc-gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 900px) { .svc-gallery__grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.svc-gallery__grid li { border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: var(--stone); }
.svc-gallery__grid img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* FAQ */
.svc-faq__inner { display: grid; gap: 32px; }
@media (min-width: 960px) { .svc-faq__inner { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; } }
.svc-faq__more { margin-top: 18px; color: var(--ink-2); }
.svc-faq__more a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.svc-faq__list { border-top: 1px solid var(--line); }
.svc-faq__item { border-bottom: 1px solid var(--line); }
.svc-faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--font-head); font-weight: 700; font-size: 17.5px; }
.svc-faq__item summary::-webkit-details-marker { display: none; }
.svc-faq__plus { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); }
.svc-faq__plus::before, .svc-faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .2s; }
.svc-faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.svc-faq__item[open] .svc-faq__plus::after { transform: translate(-50%, -50%) rotate(0); }
.svc-faq__item p { padding: 0 48px 22px 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.65; }

/* Service cards (overview + "other services") */
.svc-cards { display: grid; gap: 20px; }
@media (min-width: 700px) { .svc-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .svc-cards { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.svc-cards--compact { grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .svc-cards--compact { grid-template-columns: repeat(5, 1fr); gap: 16px; } }
.svc-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; transition: border-color .2s, box-shadow .2s; }
.svc-card:hover { border-color: var(--ink); box-shadow: 0 10px 30px rgba(10, 10, 10, .06); }
.svc-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--stone-2); }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease, ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.04); }
.svc-card__icon { position: absolute; left: 16px; bottom: 16px; width: 40px; height: 40px; border-radius: var(--radius); background: #fff; color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.svc-card__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.svc-card__title { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 21px; }
.svc-card__title .icon { transition: transform .2s; }
.svc-card:hover .svc-card__title .icon { transform: translateX(4px); }
.svc-card__desc { font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.svc-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 12px; }
.svc-card__tags span { font-size: 12.5px; padding: 5px 10px; border-radius: 999px; background: var(--stone); color: var(--ink-2); }
.svc-cards--compact .svc-card__media { aspect-ratio: 4 / 3; }
.svc-cards--compact .svc-card__body { padding: 14px 16px 16px; }
.svc-cards--compact .svc-card__title { font-size: 16px; }

/* Why (overview) */
.svc-why__grid { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 800px) { .svc-why__grid { grid-template-columns: repeat(4, 1fr); } .svc-why__grid li + li { border-left: 1px solid var(--line); } }
.svc-why__grid li { padding: 28px 24px 30px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 800px) { .svc-why__grid li { padding: 32px 28px; border-bottom: 0; } .svc-why__grid li:first-child { padding-left: 0; } }
.svc-why__grid .icon { color: var(--accent); margin-bottom: 14px; }
.svc-why__grid h3 { font-size: 18px; margin-bottom: 8px; }
.svc-why__grid p { font-size: 14.5px; color: var(--ink-2); }
.svc--overview .svc-overview { padding-top: clamp(40px, 5vw, 72px); }

/* Other services: dark section with image tiles */
.svc-other { background: var(--ink); color: #fff; }
.svc-other .section__lead { color: rgba(255, 255, 255, .65); }
.svc-tiles { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .svc-tiles { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .svc-tiles { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.svc-tile { position: relative; display: flex; align-items: flex-end; min-height: 220px; height: 100%; padding: 20px; border-radius: 12px; overflow: hidden; isolation: isolate; color: #fff; background: #1b1b1b; }
@media (min-width: 1024px) { .svc-tile { min-height: 320px; padding: 26px; } }
.svc-tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease, ease); }
.svc-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 10, 10, .05) 0%, rgba(10, 10, 10, .35) 45%, rgba(10, 10, 10, .88) 100%); transition: background .35s; }
.svc-tile:hover .svc-tile__img { transform: scale(1.06); }
.svc-tile:hover::before { background: linear-gradient(180deg, rgba(10, 10, 10, .2) 0%, rgba(10, 10, 10, .55) 40%, rgba(10, 10, 10, .92) 100%); }
.svc-tile__icon { position: absolute; top: 20px; left: 20px; width: 42px; height: 42px; border-radius: var(--radius); background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: inline-flex; align-items: center; justify-content: center; color: #fff; border: 1px solid rgba(255, 255, 255, .22); }
.svc-tile__arrow { position: absolute; top: 20px; right: 20px; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; transform: rotate(-45deg); transition: transform .3s var(--ease, ease), background .2s, color .2s; }
.svc-tile:hover .svc-tile__arrow { transform: rotate(0); background: var(--accent); color: #fff; }
.svc-tile__body { display: grid; gap: 8px; max-width: 34ch; }
.svc-tile__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.01em; line-height: 1.1; }
.svc-tile__desc { font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .78); }
.svc-tile__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.svc-tile__tags span { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); color: #fff; }
@media (hover: hover) and (min-width: 1024px) {
	.svc-tile__tags { max-height: 0; opacity: 0; overflow: hidden; margin-top: 0; transition: max-height .35s var(--ease, ease), opacity .25s, margin-top .35s; }
	.svc-tile:hover .svc-tile__tags { max-height: 60px; opacity: 1; margin-top: 4px; }
}
.svc-tile--cta { background: var(--accent); align-items: stretch; }
.svc-tile--cta::before { display: none; }
.svc-tile--cta .svc-tile__body { align-content: end; }
.svc-tile--cta .svc-tile__desc { color: rgba(255, 255, 255, .85); }
.svc-tile__btn { justify-self: start; margin-top: 10px; }
.svc-tile--cta:hover .svc-tile__btn { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (min-width: 640px) and (max-width: 1023px) { .svc-tile { min-height: 280px; } }
