:root {
  color-scheme: dark;
  --bg-dark: #020b0d;
  --bg-panel: rgba(3, 18, 22, 0.9);
  --bg-panel-soft: rgba(5, 28, 34, 0.8);
  --border: rgba(0, 245, 212, 0.38);
  --border-strong: rgba(0, 245, 212, 0.85);
  --accent: #00f5d4;
  --accent-hover: #00d9bc;
  --text: #eafffc;
  --muted: #a8d8d2;
  --placeholder: #6ca6a0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { min-height: 100%; }
body { min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; isolation: isolate; background: var(--bg-dark); color: var(--text); font: 16px/1.6 Inter, "Segoe UI", Arial, sans-serif; }

.starfield-background { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: #01080a; }
.starfield-background__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.72; filter: brightness(0.55) saturate(1.1) contrast(1.08); }
.starfield-background__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 12, 14, 0.76), rgba(2, 12, 14, 0.42) 50%, rgba(2, 12, 14, 0.76)); }

header { position: sticky; top: 0; z-index: 5; width: 100%; border-bottom: 1px solid var(--border); background: rgba(2, 14, 17, 0.94); backdrop-filter: blur(12px); box-shadow: 0 4px 20px rgba(0, 245, 212, 0.08); }
.nav-container { max-width: 1100px; margin: 0 auto; padding: 1.1rem 2rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.logo { color: var(--text); font-size: 1.2rem; font-weight: 700; letter-spacing: 0.5px; text-decoration: none; }
.logo span { color: var(--accent); text-shadow: 0 0 10px rgba(0, 245, 212, 0.55); }

nav ul { display: flex; flex-wrap: wrap; gap: 1.25rem 1.75rem; list-style: none; }
nav a { color: var(--muted); font-size: 0.92rem; font-weight: 500; text-decoration: none; transition: color 0.2s, text-shadow 0.2s; }
nav a:hover, nav a.active { color: var(--text); text-shadow: 0 0 8px rgba(0, 245, 212, 0.45); }
nav a.active { border-bottom: 2px solid var(--accent); padding-bottom: 0.25rem; box-shadow: 0 4px 10px -4px rgba(0, 245, 212, 0.6); }
nav a:focus-visible, .logo:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

main { position: relative; z-index: 1; width: min(100% - 2rem, 1100px); margin: auto; padding: 3.5rem 0; flex: 1; text-align: center; }
main.container { display: flex; flex-direction: column; justify-content: center; }
.page-survey main.container { max-width: 900px; }

/* Kontaktų puslapio centravimas per vidurį */
.page-contact-details main { 
  max-width: 900px; 
  flex: 1; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
}
.page-contact-details main > .card {
  width: 100%;
}

.page-contact-form main { max-width: 760px; }

.hero-box, .form-card, main > .card {
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border: 2px solid var(--border-strong);
  border-radius: 12px;
  background: var(--bg-panel);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.45), 0 0 28px rgba(0, 245, 212, 0.16);
  backdrop-filter: blur(9px) saturate(1.1);
}

h1 { max-width: 750px; margin: 0 auto 0.75rem; font-size: 2.5rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; text-shadow: 0 0 14px rgba(0, 245, 212, 0.22); }
.card h2, .highlight-item h2, .detail h2, .rekvizitai-card h2 { color: var(--text); font-size: 1.5rem; font-weight: 700; margin-bottom: 0.85rem; }
.rekvizitai-card h1 { font-size: 2.35rem; }
.header-block { margin-bottom: 2.5rem; text-align: center; }
.header-block p, .intro, .form-card .desc { max-width: 650px; margin: 0 auto; color: var(--muted); font-size: 1.05rem; }

.form-card .desc { margin-bottom: 2rem; font-size: 0.95rem; }
.grid, .highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1.25rem; padding-top: 2rem; border-top: none; }
.card, .highlight-item {
  min-width: 0;
  padding: 1.5rem;
  border: 2px solid var(--border-strong);
  border-radius: 10px;
  background: var(--bg-panel-soft);
  text-align: center;
  overflow-wrap: anywhere;
  backdrop-filter: blur(5px);
  box-shadow: 0 0 18px rgba(0, 245, 212, 0.08);
}
.card-num { display: none !important; }
.card p, .highlight-item span { color: var(--muted); font-size: 0.92rem; }

.details { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1rem; margin-top: 1.75rem; }
.detail { min-width: 0; padding: 1.25rem; border: 2px solid var(--border); border-radius: 9px; background: var(--bg-panel-soft); overflow-wrap: anywhere; transition: border-color 0.2s, box-shadow 0.2s; }
.detail:hover { border-color: var(--border-strong); box-shadow: 0 0 15px rgba(0, 245, 212, 0.16); }
.detail p, .detail a { color: var(--muted); overflow-wrap: anywhere; }
.detail a:hover { color: var(--accent); text-shadow: 0 0 8px rgba(0, 245, 212, 0.45); }

.cta-button, .button, .submit-button, .btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: #01181a;
  font: inherit;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 245, 212, 0.35);
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.cta-button:hover, .button:hover, .submit-button:hover, .btn:hover {
  transform: translateY(-2px);
  border-color: #7affed;
  background: #3dffe5;
  box-shadow: 0 0 28px rgba(0, 245, 212, 0.6);
}

.form-group { margin-bottom: 1.2rem; text-align: center; }
label { display: block; margin-bottom: 0.45rem; color: var(--text); font-size: 0.92rem; font-weight: 600; text-align: center; }
input, textarea, select, .form-control {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0, 245, 212, 0.35);
  border-radius: 7px;
  background: rgba(3, 20, 24, 0.65);
  color: var(--text);
  font: inherit;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea { min-height: 150px; resize: vertical; }
input::placeholder, textarea::placeholder, .form-control::placeholder { color: var(--placeholder); opacity: 1; }
select option { background: #03161a; color: var(--text); }
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(0, 245, 212, 0.25);
  box-shadow: 0 0 14px rgba(0, 245, 212, 0.22);
}

.form-card .btn, .card .submit-button { width: 100%; }
.status, .status-msg { min-height: 1.5rem; margin-top: 1rem; color: var(--accent); }

footer { position: relative; z-index: 1; flex: 0 0 auto; width: 100%; min-width: 0; padding: clamp(0.8rem, 3vw, 1.35rem) clamp(0.75rem, 4vw, 2rem); border-top: 1px solid var(--border); background: rgba(2, 14, 17, 0.94); color: var(--muted); font-size: 0.875rem; text-align: center; }
footer p { max-width: 1100px; margin: 0 auto; overflow-wrap: anywhere; }

@media (max-width: 640px) {
  .nav-container { padding: 1rem; justify-content: center; }
  nav ul { justify-content: center; gap: 0.7rem 1rem; }
  main { width: min(100% - 1.25rem, 1100px); padding: 1.25rem 0; }
  .hero-box, .form-card, main > .card { padding: clamp(1rem, 5vw, 1.5rem); }
  .grid, .highlights, .details { grid-template-columns: minmax(0, 1fr); gap: 0.85rem; }
  .card, .highlight-item { padding: 1.1rem; }
  .detail { padding: 1rem; }
  .cta-button, .button, .submit-button, .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .cta-button:hover, .button:hover, .submit-button:hover, .btn:hover { transform: none; }
  .starfield-background__video { display: none; }
}

.cta-wrap { margin-top: 2rem; text-align: center; }

/* Formų puslapių išdėstymas */
.page-survey main.container, .page-contact-form main { padding-block: clamp(0.5rem, 2vh, 1.25rem); }
.page-contact-form main { display: flex; flex-direction: column; justify-content: center; }
.page-survey .form-card { padding: clamp(0.8rem, 2vh, 1.4rem) clamp(1rem, 3vw, 2rem); }
.page-contact-form main > .card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.5rem, 3.5vh, 2.5rem) clamp(1.25rem, 4vw, 3rem);
}
.page-contact-form #contact-form {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 1rem;
}
.page-survey h1 { margin-bottom: 0.4rem; font-size: clamp(1.5rem, 3vh, 2rem); }
.page-contact-form h1 { margin-bottom: 1.25rem; font-size: clamp(1.8rem, 3.5vh, 2.35rem); }
.page-survey .form-card .desc { margin-bottom: 0.75rem; font-size: 0.9rem; line-height: 1.4; }
.page-survey .form-group { margin-bottom: 0.55rem; }
.page-contact-form .form-group { margin-bottom: 0; }
.page-survey label { margin-bottom: 0.2rem; font-size: 0.84rem; line-height: 1.3; }
.page-contact-form label { margin-bottom: 0.45rem; font-size: 0.92rem; line-height: 1.4; }
.page-survey input, .page-survey select { min-height: 40px; padding: 0.45rem 0.75rem; }
.page-contact-form input { min-height: 46px; padding: 0.65rem 0.95rem; }
.page-contact-form textarea { height: 7.5rem; min-height: 6.5rem; padding: 0.75rem 0.95rem; }
.page-survey .btn { min-height: 42px; margin-top: 0.4rem; padding: 0.55rem 1rem; }
.page-contact-form .submit-button { min-height: 48px; margin-top: 0.5rem; padding: 0.75rem 1.25rem; }
.page-survey .status-msg { min-height: 0; margin-top: 0.35rem; }
.page-contact-form .status { min-height: 1.25rem; margin-top: 0.25rem; }

/* Poreikių anketos (apklausa.html) neoninė turkio tema ir simetrinis išdėstymas */
.page-survey {
  --primary: #00f5d4;
  --primary-hover: #00d9bc;
  --text-main: #eafffc;
  --text-muted: #a8d8d2;
  --card-bg: rgba(3, 18, 22, 0.9);
  --survey-border: rgba(0, 245, 212, 0.38);
}
.page-survey .video-bg { position: fixed; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.72; filter: brightness(0.55) saturate(1.1) contrast(1.08); pointer-events: none; }
.page-survey .overlay { position: fixed; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(2, 12, 14, 0.76), rgba(2, 12, 14, 0.42) 50%, rgba(2, 12, 14, 0.76)); pointer-events: none; }
.page-survey .page-content { flex: 1; display: flex; align-items: center; justify-content: center; padding-block: clamp(0.5rem, 2vh, 1.25rem); }

.page-survey .rekvizitai-card {
  width: 100%;
  max-width: 900px;
  min-height: clamp(32rem, calc(100svh - 13rem), 44rem);
  margin: 0 auto;
  padding: clamp(1.5rem, 3.5vh, 2.5rem);
  border: 2px solid var(--border-strong);
  border-radius: 12px;
  background: var(--card-bg);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.45), 0 0 28px rgba(0, 245, 212, 0.16);
  backdrop-filter: blur(9px) saturate(1.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-survey #quizForm {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.page-survey .step-content {
  flex: 1;
  background: var(--bg-panel-soft);
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1rem 0;
  box-shadow: 0 0 18px rgba(0, 245, 212, 0.08);
  backdrop-filter: blur(5px);
}

.page-survey .teal-input {
  border: 1px solid rgba(0, 245, 212, 0.35);
  background: rgba(3, 20, 24, 0.65);
  color: var(--text-main);
  transition: all 0.2s ease;
}
.page-survey .teal-input::placeholder { color: var(--placeholder); }
.page-survey .teal-input:hover, .page-survey .teal-input:focus { background: rgba(5, 28, 34, 0.85); }
.page-survey .teal-input:hover { border-color: rgba(0, 245, 212, 0.75); }
.page-survey .teal-input:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(0, 245, 212, 0.25);
  box-shadow: 0 0 12px rgba(0, 245, 212, 0.25);
}
.page-survey .teal-input option { background: #03161a; color: var(--text-main); }
.page-survey .custom-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2300f5d4' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.75' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 1rem center;
  background-repeat: no-repeat;
  background-size: 1.4em 1.4em;
}
.page-survey .teal-btn-primary {
  background: linear-gradient(135deg, #00f5d4 0%, #00bfa5 100%);
  color: #01181a;
  box-shadow: 0 0 18px rgba(0, 245, 212, 0.35);
  transition: all 0.25s ease;
}
.page-survey .teal-btn-primary:hover {
  background: linear-gradient(135deg, #6bffea 0%, #00f5d4 100%);
  box-shadow: 0 0 26px rgba(0, 245, 212, 0.6);
  transform: translateY(-1px);
}
.page-survey .step-content { display: none; }
.page-survey .step-content.active { display: block; animation: survey-fade-in 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes survey-fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.page-survey footer .container { width: min(calc(100% - 2rem), 1100px); margin: 0 auto; padding: 0; }
.page-survey .step-content > .space-y-5 > * + *, .page-survey .step-content > .space-y-4 > * + * { margin-top: 1rem; }

@media (max-width: 760px) { .page-survey .page-content { padding-block: 1rem; } .page-survey .rekvizitai-card { padding: 1rem; } .page-survey .step-content { padding: 1rem; } }
@media (max-width: 480px) { .page-survey .step-content h2 { font-size: 1.35rem; } .page-survey .step-content > .space-y-5 > * + *, .page-survey .step-content > .space-y-4 > * + * { margin-top: 0.7rem; } }
@media (prefers-reduced-motion: reduce) { .page-survey .video-bg { display: none; } .page-survey .step-content.active { animation: none; } }

/* Pagalbinės klasės apklausa.html puslapiui */
.page-survey [class~="hidden"] { display: none !important; }
.page-survey [class~="block"] { display: block; }
.page-survey [class~="flex"] { display: flex; }
.page-survey [class~="inline-flex"] { display: inline-flex; }
.page-survey [class~="items-center"] { align-items: center; }
.page-survey [class~="justify-between"] { justify-content: space-between; }
.page-survey [class~="justify-center"] { justify-content: center; }
.page-survey [class~="ml-auto"] { margin-left: auto; }
.page-survey [class~="gap-2"] { gap: 0.5rem; }
.page-survey [class~="gap-3"] { gap: 0.75rem; }
.page-survey [class~="gap-4"] { gap: 1rem; }
.page-survey [class~="w-full"] { width: 100%; }
.page-survey [class~="w-1/5"] { width: 20%; }
.page-survey [class~="w-8"], .page-survey [class~="h-8"] { width: 2rem; height: 2rem; }
.page-survey [class~="w-16"], .page-survey [class~="h-16"] { width: 4rem; height: 4rem; }
.page-survey [class~="h-2"] { height: 0.5rem; }
.page-survey [class~="h-full"] { height: 100%; }
.page-survey [class~="text-xs"] { font-size: 0.75rem; line-height: 1rem; }
.page-survey [class~="text-sm"] { font-size: 0.875rem; line-height: 1.25rem; }
.page-survey [class~="text-lg"] { font-size: 1.125rem; line-height: 1.75rem; }
.page-survey [class~="text-xl"] { font-size: 1.25rem; line-height: 1.75rem; }
.page-survey [class~="text-2xl"] { font-size: 1.5rem; line-height: 2rem; }
.page-survey [class~="font-medium"] { font-weight: 500; }
.page-survey [class~="font-semibold"] { font-weight: 600; }
.page-survey [class~="font-bold"] { font-weight: 700; }
.page-survey [class~="text-center"] { text-align: center; }
.page-survey [class~="uppercase"] { text-transform: uppercase; }
.page-survey [class~="tracking-tight"] { letter-spacing: -0.025em; }
.page-survey [class~="tracking-wider"] { letter-spacing: 0.1em; }
.page-survey [class~="leading-relaxed"] { line-height: 1.625; }
.page-survey [class~="text-teal-50"] { color: #eafffc; }
.page-survey [class~="text-teal-200"] { color: #99fff1; }
.page-survey [class~="text-teal-300"] { color: #5ceee6; }
.page-survey [class~="text-teal-400"] { color: var(--accent); }
.page-survey [class~="text-slate-200"] { color: #dcf7f4; }
.page-survey [class~="text-slate-300"] { color: #a8d8d2; }
.page-survey [class~="border"] { border: 1px solid; }
.page-survey [class~="border-b"] { border-bottom: 1px solid; }
.page-survey [class~="border-t"] { border-top: none !important; }
.page-survey [class~="border-teal-400/30"] { border-color: rgba(0, 245, 212, 0.35); }
.page-survey [class~="border-teal-500/20"] { border-color: transparent !important; }
.page-survey [class~="border-teal-500/30"] { border-color: transparent !important; }
.page-survey [class~="bg-teal-500/15"] { background-color: rgba(0, 245, 212, 0.14); }
.page-survey [class~="bg-teal-500/20"] { background-color: rgba(0, 245, 212, 0.2); }
.page-survey [class~="bg-teal-950/30"] { background-color: rgba(3, 28, 32, 0.45); }
.page-survey [class~="bg-slate-900/90"] { background-color: rgba(2, 14, 17, 0.92); }
.page-survey [class~="bg-gradient-to-r"] { background-image: linear-gradient(90deg, #009e8c, #00f5d4, #7affed); box-shadow: 0 0 12px rgba(0, 245, 212, 0.6); }
.page-survey [class~="overflow-hidden"] { overflow: hidden; }
.page-survey [class~="rounded-full"] { border-radius: 9999px; }
.page-survey [class~="rounded-xl"] { border-radius: 0.75rem; }
.page-survey [class~="max-w-md"] { max-width: 28rem; }
.page-survey [class~="mx-auto"] { margin-left: auto; margin-right: auto; }
.page-survey [class~="mt-2"] { margin-top: 0.5rem; }
.page-survey [class~="mt-6"] { margin-top: 1.5rem; }
.page-survey [class~="mt-8"] { margin-top: 2rem; }
.page-survey [class~="mb-1.5"] { margin-bottom: 0.375rem; }
.page-survey [class~="mb-2"] { margin-bottom: 0.5rem; }
.page-survey [class~="mb-3"] { margin-bottom: 0.75rem; }
.page-survey [class~="mb-6"] { margin-bottom: 1.5rem; }
.page-survey [class~="p-0.5"] { padding: 0.125rem; }
.page-survey [class~="px-3.5"] { padding-left: 0.875rem; padding-right: 0.875rem; }
.page-survey [class~="px-4"] { padding-left: 1rem; padding-right: 1rem; }
.page-survey [class~="px-5"] { padding-left: 1.25rem; padding-right: 1.25rem; }
.page-survey [class~="px-6"] { padding-left: 1.5rem; padding-right: 1.5rem; }
.page-survey [class~="px-8"] { padding-left: 2rem; padding-right: 2rem; }
.page-survey [class~="py-1.5"] { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.page-survey [class~="py-2.5"] { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.page-survey [class~="py-3"] { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.page-survey [class~="py-8"] { padding-top: 2rem; padding-bottom: 2rem; }
.page-survey [class~="pb-3.5"] { padding-bottom: 0.875rem; }
.page-survey [class~="pb-6"] { padding-bottom: 1.5rem; }
.page-survey [class~="pt-5"] { padding-top: 1.25rem; }
.page-survey [class~="resize-none"] { resize: none; }
.page-survey [class~="appearance-none"] { appearance: none; }
.page-survey [class~="shadow-inner"] { box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3); }
.page-survey [class~="shadow-sm"] { box-shadow: 0 1px 4px rgba(0, 245, 212, 0.15); }
.page-survey [class~="transition"], .page-survey [class~="transition-all"] { transition: all 0.2s ease; }
.page-survey [class~="duration-300"] { transition-duration: 0.3s; }
.page-survey [class~="hover:bg-teal-900/40"]:hover { background-color: rgba(0, 245, 212, 0.15); }
.page-survey [class~="hover:border-teal-400/50"]:hover { border-color: rgba(0, 245, 212, 0.65); }
.page-survey [class~="fa-spin"] { animation: survey-spin 1s linear infinite; }
@keyframes survey-spin { to { transform: rotate(360deg); } }
@media (min-width: 768px) { .page-survey [class~="md:text-3xl"] { font-size: 2.1rem; line-height: 2.4rem; } }

/* Fiksuota apatinė eilutė (footer) formų puslapiuose */
.page-survey footer, .page-contact-form footer { position: fixed; inset: auto 0 0; z-index: 10; }
.page-survey .page-content, .page-contact-form main { padding-bottom: calc(5rem + env(safe-area-inset-bottom)); }
.page-survey .rekvizitai-card, .page-contact-form main > .card { max-height: calc(100vh - 13rem); overflow-y: auto; overscroll-behavior: contain; }
.page-survey .step-content > .space-y-5, .page-survey .step-content > .space-y-4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem 1rem; }
.page-survey .step-content > .space-y-5 > * + *, .page-survey .step-content > .space-y-4 > * + * { margin-top: 0; }
.page-survey .step-content > .flex { margin-bottom: 0.8rem; padding-bottom: 0.6rem; border-top: none !important; }
.page-survey .rekvizitai-card > div:first-child { margin-bottom: 0.85rem; padding-bottom: 0.85rem; border-bottom: none !important; }
.page-survey .rekvizitai-card > div:first-child [class~="mt-6"] { margin-top: 0.55rem; border-top: none !important; }
.page-survey .teal-input { min-height: 42px; padding: 0.5rem 0.75rem; }
.page-survey .teal-btn-primary { min-height: 40px; padding: 0.5rem 1rem; }

@media (max-width: 640px) {
  .page-survey .step-content > .space-y-5, .page-survey .step-content > .space-y-4 { grid-template-columns: minmax(0, 1fr); gap: 0.45rem; }
  .page-survey .step-content > .flex { margin-bottom: 0.6rem; }
  .page-survey .rekvizitai-card { padding: 0.8rem; }
  .page-survey .rekvizitai-card > div:first-child { margin-bottom: 0.65rem; padding-bottom: 0.65rem; }
  .page-survey .teal-input { min-height: 38px; }
  .page-survey .step-content h2 { font-size: 1.25rem; }
  .page-contact-form main > .card { padding: 1.1rem; }
  .page-contact-form #contact-form { gap: 0.65rem; }
  .page-contact-form textarea { height: 5rem; min-height: 5rem; }
}

/* VIENODOS KORTELĖS VISUOSE PUSLAPIUOSE */
.card,
.highlight-item,
.detail {
  min-height: 0;
  max-height: none;
  padding: 0.9rem 1rem;
  border: 2px solid var(--border-strong);
  border-radius: 10px;
  background: var(--bg-panel-soft);
  box-shadow: 0 0 18px rgba(0, 245, 212, 0.08);
  text-align: center;
  overflow-wrap: anywhere;
}

.card h2,
.highlight-item h2,
.detail h2 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.card p,
.highlight-item span,
.detail p,
.detail a {
  font-size: 0.87rem;
  line-height: 1.4;
  color: var(--muted);
}

.hero-box,
.form-card,
main > .card,
.page-survey .rekvizitai-card,
.page-contact-form main > .card,
.page-contact-details main > .card {
  min-height: 0;
  max-height: none;
  overflow: visible;
  padding: 1.5rem 1.75rem;
  border: 2px solid var(--border-strong);
  border-radius: 12px;
  background: var(--bg-panel);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.45), 0 0 28px rgba(0, 245, 212, 0.16);
  display: block;
  justify-content: initial;
  gap: 0;
}

.grid,
.highlights,
.details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  padding-top: 0.9rem;
  margin-top: 0.9rem;
  border-top: none;
  align-items: start;
}

@media (max-width: 640px) {
  .grid,
  .highlights,
  .details {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.65rem;
  }
  .card,
  .highlight-item,
  .detail {
    padding: 0.8rem 0.9rem;
  }
  .hero-box,
  .form-card,
  main > .card,
  .page-survey .rekvizitai-card,
  .page-contact-form main > .card,
  .page-contact-details main > .card {
    padding: 1.1rem 1.1rem;
  }
}