

:root {
  --radius: 0.75rem;
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --radius-2xl: calc(var(--radius) + 8px);
  --radius-3xl: calc(var(--radius) + 12px);

  --background: oklch(0.99 0.005 240);
  --foreground: oklch(0.2 0.02 240);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.2 0.02 240);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.2 0.02 240);
  --primary: oklch(0.55 0.16 240);
  --primary-foreground: oklch(0.99 0.005 240);
  --primary-glow: oklch(0.7 0.14 230);
  --secondary: oklch(0.96 0.01 240);
  --secondary-foreground: oklch(0.2 0.02 240);
  --muted: oklch(0.96 0.01 240);
  --muted-foreground: oklch(0.45 0.02 240);
  --accent: oklch(0.92 0.04 230);
  --accent-foreground: oklch(0.25 0.06 240);
  --destructive: oklch(0.6 0.22 25);
  --destructive-foreground: oklch(0.99 0 0);
  --border: oklch(0.9 0.01 240);
  --input: oklch(0.94 0.01 240);
  --ring: oklch(0.55 0.16 240);

  --gradient-primary: linear-gradient(135deg, oklch(0.55 0.16 240), oklch(0.7 0.14 230));
  --gradient-hero: linear-gradient(180deg, oklch(1 0 0 / 0.35), oklch(1 0 0 / 0.85));
  --shadow-glow: 0 20px 60px -20px oklch(0.55 0.16 240 / 0.35);
  --shadow-elegant: 0 25px 60px -20px oklch(0.2 0.05 240 / 0.18);

  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

  --header-h: 89px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border: 0 solid var(--border);
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  line-height: 1.5;
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji";
}

body {
  background-color: var(--background);
  color: var(--foreground);
  min-height: 100vh;
}

img,
svg,
video,
canvas {
  display: block;
  vertical-align: middle;
}

/*
 * <picture> apvalkalas neturi turėti jokios įtakos flex/grid išdėstymui —
 * viduje esantis <img> turi elgtis taip, tarsi jis pats būtų tiesioginis vaikas
 * (naudojama kolaže su flex-grow, galerijos/testimonial tinkleliuose ir t.t.).
 */
picture {
  display: contents;
}

img,
video,
canvas {
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: transparent;
}

button {
  cursor: pointer;
}

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

ul {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-size: inherit;
  font-weight: inherit;
}

blockquote {
  quotes: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.container {
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

.container-4xl {
  max-width: 56rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

.container-5xl {
  max-width: 64rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 40rem) {
  .container,
  .container-4xl,
  .container-5xl {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 64rem) {
  .container,
  .container-4xl,
  .container-5xl {
    padding-inline: 2rem;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
  height: 2.25rem;
  padding: 0.5rem 1rem;
}

.btn > svg {
  pointer-events: none;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 1px var(--ring);
}

.btn:disabled {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}

.btn--default {
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-sm);
}

.btn--default:hover {
  background-color: color-mix(in oklab, var(--primary) 90%, transparent);
}

.btn--secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  box-shadow: var(--shadow-xs);
}

.btn--secondary:hover {
  background-color: color-mix(in oklab, var(--secondary) 80%, transparent);
}

.btn--lg {
  height: 2.5rem;
  border-radius: var(--radius-md);
  padding-inline: 2rem;
}

.btn--hero {
  height: 3.5rem;
  width: 100%;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 700;
}

.btn--cta {
  margin-top: 2rem;
  height: 3.5rem;
  padding-inline: 2rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 700;
}

.btn--semibold {
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border);
  background-color: color-mix(in oklab, var(--background) 90%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.site-header .brand {
  flex: 0 1 auto;
}

.site-header .header-actions {
  flex-shrink: 0;
}

.logo-mask {
  display: block;
  height: 3rem;
  width: 10rem;
  background-color: var(--primary);
  -webkit-mask-image: var(--logo-url);
  mask-image: var(--logo-url);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: left center;
  mask-position: left center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.site-header .logo-mask {
  width: min(10rem, 42vw);
}

@media (min-width: 40rem) {
  .site-header .logo-mask {
    height: 3.5rem;
    width: 12rem;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-mail {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--muted-foreground);
  transition: color 0.15s ease;
}

.header-mail:hover {
  color: var(--foreground);
}

.header-mail svg {
  width: 1rem;
  height: 1rem;
}

@media (min-width: 48rem) {
  .header-mail {
    display: flex;
  }
}

.header-cta {
  display: inline-flex;
  height: 2.25rem;
  padding-inline: 1rem;
}

@media (min-width: 40rem) {
  .header-cta {
    height: 2.5rem;
    padding-inline: 2rem;
  }
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -10;
}

.hero-bg img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.hero-bg-veil {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    to right,
    color-mix(in oklab, var(--background) 95%, transparent),
    color-mix(in oklab, var(--background) 85%, transparent),
    color-mix(in oklab, var(--background) 50%, transparent)
  );
}

.hero-inner {
  display: grid;
  gap: 3rem;
  padding-block: 4rem;
}

@media (min-width: 64rem) {
  .hero {
    display: flex;
    align-items: center;
    min-height: calc(100svh - var(--header-h));
  }

  .hero-inner {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    padding-block: 2rem;
    align-items: center;
  }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  background-color: color-mix(in oklab, var(--primary) 10%, transparent);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  color: var(--primary);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--primary) 20%, transparent);
}

.badge svg {
  width: 0.875rem;
  height: 0.875rem;
}

.rating-pill {
  margin-top: 1.25rem;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background-color: color-mix(in oklab, var(--card) 80%, transparent);
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  box-shadow: var(--shadow-xs);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.stars {
  display: flex;
  color: var(--primary);
}

.stars svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.rating-pill .score {
  font-weight: 600;
}

.muted {
  color: var(--muted-foreground);
}

.hero-title {
  margin-top: 1.5rem;
  font-size: 3rem;
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.hero-title .gradient-text {
  background-image: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (min-width: 40rem) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 64rem) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-sub {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: var(--muted-foreground);
}

.hero-sub strong {
  color: var(--foreground);
  font-weight: 700;
}

@media (min-width: 40rem) {
  .hero-sub {
    font-size: 1.25rem;
  }
}

.hero-list {
  margin-top: 2rem;
  font-size: 1rem;
  line-height: 1.5rem;
}

.hero-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.hero-list li + li {
  margin-top: 0.75rem;
}

.hero-list svg {
  margin-top: 0.25rem;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--primary);
}

@media (min-width: 40rem) {
  .hero-list {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}

.hero-quote {
  margin-top: 1.5rem;
  max-width: 34rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background-color: color-mix(in oklab, var(--card) 80%, transparent);
  padding: 1rem 1.25rem;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero-quote .stars svg {
  width: 0.875rem;
  height: 0.875rem;
}

.hero-quote blockquote {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.hero-quote .testimonial-author {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
}

/* lg: hero laikomas viename ekrane, tad citata visada trumpinama iki 1 eilutės. */
@media (min-width: 64rem) {
  .hero-quote blockquote {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

.hero-cta-inline {
  margin-top: 2.5rem;
}

.hero-side {
  padding-left: 0;
}

@media (min-width: 64rem) {
  .hero-side {
    padding-left: 2rem;
  }

  /*
   * Antraštės dydis skaliuojamas pagal ekrano aukštį (vh), kad hero
   * patikimai tilptų viename ekrane bet kokio aukščio lg monitoriuje —
   * ne tik itin žemuose, nes fiksuotas 4.5rem dydis netilpdavo net ir
   * prie ~900px aukščio, kai buvo pridėta atsiliepimo kortelė.
   */
  .hero-title {
    margin-top: 0.75rem;
    font-size: min(3.25rem, 7.4vh, 4.4vw);
  }

  .rating-pill {
    margin-top: 0.75rem;
  }

  .hero-sub {
    margin-top: 0.75rem;
    font-size: 1.125rem;
  }

  .hero-list {
    margin-top: 0.75rem;
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .hero-list li + li {
    margin-top: 0.375rem;
  }

  .hero-quote {
    margin-top: 0.625rem;
    padding: 0.5rem 0.875rem;
  }

  .hero-quote blockquote {
    margin-top: 0.375rem;
    font-size: 0.875rem;
    line-height: 1.45;
  }

  .hero-cta-inline {
    margin-top: 0.75rem;
  }

  .hero-cta-inline .btn {
    height: 3rem;
  }
}

/* Itin žemi ekranai (nešiojami kompiuteriai su mažu vertikaliu aukščiu) — dar truputį priveržiama. */
@media (min-width: 64rem) and (max-height: 820px) {
  .hero-inner {
    padding-block: 1.5rem;
  }

  .hero-title {
    margin-top: 0.5rem;
  }

  .badges {
    gap: 0.375rem;
  }

  .hero-sub {
    margin-top: 0.5rem;
  }

  .hero-list {
    margin-top: 0.5rem;
  }

  .hero-quote {
    margin-top: 0.5rem;
    padding: 0.375rem 0.75rem;
  }

  .hero-cta-inline {
    margin-top: 0.625rem;
  }

  .hero-cta-inline .btn {
    height: 2.75rem;
  }
}

.hero-cta {
  position: relative;
}

.collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  filter: drop-shadow(var(--shadow-elegant));
}

.collage-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.collage-col--offset {
  padding-top: 2rem;
}

@media (min-width: 40rem) {
  .collage,
  .collage-col {
    gap: 1rem;
  }

  .collage-col--offset {
    padding-top: 3rem;
  }
}

.collage img {
  width: 100%;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border);
  object-fit: cover;
}

.ratio-45 {
  aspect-ratio: 4 / 5;
}

.ratio-11 {
  aspect-ratio: 1 / 1;
}

@media (min-width: 64rem) {
  .collage {
    height: min(calc(100svh - var(--header-h) - 9rem), 40rem);
    max-width: 40rem;
    margin-inline: auto;
  }

  .collage-col {
    min-height: 0;
  }

  .collage img {
    aspect-ratio: auto;
    height: auto;
    min-height: 0;
  }

  .collage .ratio-45 {
    flex: 1.25 1.25 0;
  }

  .collage .ratio-11 {
    flex: 1 1 0;
  }
}

.float-card {
  position: absolute;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-elegant);
}

.float-price {
  left: -0.5rem;
  top: 1.5rem;
}

.float-label {
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
}

.float-price-value {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.float-days {
  right: -0.5rem;
  bottom: 6rem;
}

.float-days-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.float-days-row svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.float-days-value {
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;
}

.float-days-label {
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--muted-foreground);
}

.float-reviews {
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
}

.float-reviews-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.float-reviews-row .score {
  font-weight: 700;
}

@media (min-width: 40rem) {
  .float-price {
    left: -1.5rem;
  }

  .float-days {
    right: -1rem;
  }

  .float-price-value {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
}

@media (min-width: 40rem) {
  .hero-cta-inline .btn {
    width: auto;
    align-self: flex-start;
    padding-inline: 2.5rem;
  }
}

.features {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background-color: color-mix(in oklab, var(--card) 40%, transparent);
  padding-block: 4rem;
}

.section-title {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.section-title--center {
  text-align: center;
}

@media (min-width: 40rem) {
  .section-title {
    font-size: 3rem;
    line-height: 1;
  }
}

.section-lead {
  margin-top: 1rem;
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: var(--muted-foreground);
}

.section-lead--center {
  margin-inline: auto;
  text-align: center;
}

.feature-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 40rem) {
  .features {
    padding-block: 5rem;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  /* 5 kortelės — 3 stulpeliai duoda tvarkingą 3+2 išdėstymą. */
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.feature-card {
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1.5rem;
  transition: transform 0.15s ease;
}

.feature-card:hover {
  transform: translateY(-0.25rem);
}

.feature-icon {
  display: grid;
  place-items: center;
  height: 3rem;
  width: 3rem;
  border-radius: var(--radius-xl);
  background: var(--gradient-primary);
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary-foreground);
}

.feature-card h3 {
  margin-top: 1.25rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
}

.feature-card p {
  margin-top: 0.5rem;
  color: var(--muted-foreground);
}

.gallery {
  padding-block: 4rem;
}

.gallery-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 40rem) {
  .gallery {
    padding-block: 6rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border);
}

.gallery-item img {
  aspect-ratio: 4 / 3;
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.testimonials {
  background-color: color-mix(in oklab, var(--card) 40%, transparent);
  padding-block: 4rem;
}

@media (min-width: 40rem) {
  .testimonials {
    padding-block: 5rem;
  }
}

/* Telefone 1 stulpelis (visos 10 atsiliepimų iš eilės). */
.testimonials-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

/* sm (tablet): 2 stulpeliai. */
@media (min-width: 40rem) {
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* lg: 3 stulpeliai, o 10-as atsiliepimas paslepiamas — lieka tikslus 3×3 = 9. */
@media (min-width: 64rem) {
  .testimonials-grid {
    gap: 1.5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .testimonial-card:nth-child(10) {
    display: none;
  }
}

.testimonial-card {
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1.5rem;
}

.testimonial-card blockquote {
  margin-top: 0.875rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.testimonial-author {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.875rem;
}

.final-cta {
  padding-block: 5rem;
}

@media (min-width: 40rem) {
  .final-cta {
    padding-block: 7rem;
  }
}

.cta-box {
  overflow: hidden;
  border-radius: var(--radius-3xl);
  border: 1px solid var(--border);
  padding: 2.5rem;
  text-align: center;
  background: var(--gradient-primary);
  box-shadow: var(--shadow-glow);
}

.cta-box h2 {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--primary-foreground);
}

.cta-box p {
  margin: 1rem auto 0;
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: color-mix(in oklab, var(--primary-foreground) 90%, transparent);
}

@media (min-width: 40rem) {
  .cta-box {
    padding: 4rem;
  }

  .cta-box h2 {
    font-size: 3.75rem;
    line-height: 1;
  }

  .cta-box p {
    font-size: 1.25rem;
  }
}

.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 2.5rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (min-width: 40rem) {
  .footer-top {
    flex-direction: row;
    align-items: center;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--muted-foreground);
}

.footer-links a,
.footer-links span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a {
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--foreground);
}

.footer-links svg {
  width: 1rem;
  height: 1rem;
}

.footer-legal {
  margin-top: 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1.25rem;
  font-size: 0.75rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.footer-legal p:first-child {
  font-weight: 600;
  color: var(--foreground);
}

.footer-legal p + p {
  margin-top: 0.5rem;
}

.footer-copy {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--muted-foreground);
}

.dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background-color: rgb(0 0 0 / 0.8);
  animation: fade-in 0.2s ease;
}

.dialog {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 50;
  display: grid;
  width: 100%;
  max-width: 32rem;
  transform: translate(-50%, -50%);
  gap: 1rem;
  border: 1px solid var(--border);
  background-color: var(--background);
  /*
   * Viršutinis paddingas didesnis nei kitų kraštų — .dialog-header mobiliajame
   * centruotas (žr. žemiau), o be šito antraštės tekstas atsidurdavo po
   * absoliučiai pozicionuotu X mygtuku (top:1rem) ir jis vos matėsi.
   */
  padding: 2.75rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-lg);
  max-height: 92vh;
  overflow-y: auto;
  animation: dialog-in 0.2s ease;
}

@media (min-width: 40rem) {
  .dialog {
    max-width: 42rem;
    border-radius: var(--radius-lg);
  }
}

[hidden] {
  display: none !important;
}

.dialog-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  border-radius: var(--radius-sm);
  opacity: 0.7;
  transition: opacity 0.15s ease;
  line-height: 0;
}

.dialog-close:hover {
  opacity: 1;
}

.dialog-close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--ring);
}

.dialog-close svg {
  width: 1rem;
  height: 1rem;
}

.dialog-header {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.dialog-header > * + * {
  margin-top: 0.375rem;
}

@media (min-width: 40rem) {
  .dialog-header {
    text-align: left;
  }
}

.dialog-title {
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.025em;
}

@media (min-width: 40rem) {
  .dialog-title {
    font-size: 1.875rem;
  }
}

.dialog-desc {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--muted-foreground);
}

.quote-form > * + * {
  margin-top: 1.25rem;
}

.field-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 40rem) {
  .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field > label {
  font-size: 0.875rem;
  line-height: 1;
  font-weight: 500;
}

.field input {
  display: flex;
  height: 3rem;
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--input);
  background-color: var(--background);
  padding: 0.25rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input::placeholder {
  color: var(--muted-foreground);
}

.field input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 1px var(--ring);
}

@media (min-width: 48rem) {
  .field input {
    font-size: 0.875rem;
  }
}

.field-group-title {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}

.field-group-body {
  margin-top: 0.75rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 40rem) {
  .field-group-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--muted-foreground);
}

.form-note svg {
  width: 1rem;
  height: 1rem;
}

.select {
  position: relative;
}

.select-trigger {
  display: flex;
  height: 3rem;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  white-space: nowrap;
  border-radius: var(--radius-md);
  border: 1px solid var(--input);
  background-color: var(--background);
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  box-shadow: var(--shadow-xs);
  text-align: left;
}

.select-trigger[data-placeholder="true"] .select-value {
  color: var(--muted-foreground);
}

.select-trigger:focus-visible {
  outline: none;
  box-shadow: 0 0 0 1px var(--ring);
}

.select-value {
  overflow: hidden;
  text-overflow: ellipsis;
}

.select-chevron {
  width: 1rem;
  height: 1rem;
  opacity: 0.5;
  flex-shrink: 0;
}

.select-content {
  position: absolute;
  z-index: 50;
  top: calc(100% + 0.25rem);
  left: 0;
  width: 100%;
  min-width: 8rem;
  max-height: 18rem;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background-color: var(--popover);
  color: var(--popover-foreground);
  box-shadow: var(--shadow-md);
  padding: 0.25rem;
  animation: select-in 0.15s ease;
}

.select-item {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  border-radius: var(--radius-sm);
  padding: 0.375rem 2rem 0.375rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  user-select: none;
  text-align: left;
  cursor: default;
}

.select-item:hover,
.select-item:focus,
.select-item.is-highlighted {
  outline: none;
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.select-item .check {
  position: absolute;
  right: 0.5rem;
  display: none;
  height: 0.875rem;
  width: 0.875rem;
  align-items: center;
  justify-content: center;
}

.select-item[aria-selected="true"] .check {
  display: flex;
}

.select-item .check svg {
  width: 1rem;
  height: 1rem;
}

.quote-done {
  padding-block: 2.5rem;
  text-align: center;
}

.quote-done-icon {
  margin-inline: auto;
  display: grid;
  height: 3.5rem;
  width: 3.5rem;
  place-items: center;
  border-radius: 9999px;
  background-color: color-mix(in oklab, var(--primary) 15%, transparent);
}

.quote-done-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

.quote-done h3 {
  margin-top: 1rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
}

.quote-done p {
  margin-top: 0.5rem;
  color: var(--muted-foreground);
}

.quote-done .btn {
  margin-top: 1.5rem;
}

.form-error {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--destructive);
  text-align: center;
}

.toaster {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 356px;
  max-width: 100vw;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem;
  border-radius: 0.5rem;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
  pointer-events: auto;
  animation: toast-in 0.35s cubic-bezier(0.21, 1.02, 0.73, 1);
}

.toast--success {
  background: hsl(143 85% 96%);
  border: 1px solid hsl(145 92% 91%);
  color: hsl(140 100% 27%);
}

.toast--error {
  background: hsl(359 100% 97%);
  border: 1px solid hsl(359 100% 94%);
  color: hsl(360 100% 45%);
}

.toast svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.toast.is-leaving {
  animation: toast-out 0.2s ease forwards;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes select-in {
  from {
    opacity: 0;
    transform: translateY(-0.5rem) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateY(-100%);
  }
}

body.dialog-open {
  overflow: hidden;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  animation: dialog-in 0.2s ease;
}

.cookie-banner p {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted-foreground);
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
}

.cookie-banner-actions .btn {
  flex: 1;
}

@media (min-width: 40rem) {
  .cookie-banner {
    left: auto;
    right: 1.5rem;
    bottom: 1.5rem;
    max-width: 22rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 34rem;
  margin-inline: auto;
  padding: 2rem 1.5rem 5rem;
}

.error-page-anim {
  width: 100%;
  max-width: 17rem;
  margin-bottom: 0.5rem;
}

.error-page-anim svg {
  display: block;
  width: 100%;
  height: auto;
}

.error-page-code {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}

.error-page h1 {
  margin-top: 0.5rem;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  text-wrap: balance;
}

.error-page-message {
  margin-top: 0.75rem;
  margin-bottom: 2rem;
  color: var(--muted-foreground);
  font-size: 1.0625rem;
  line-height: 1.6;
}

@media (min-width: 40rem) {
  .error-page {
    padding-top: 3.5rem;
  }

  .error-page h1 {
    font-size: 2.5rem;
  }
}
