/* =========================================================
   DND Solutions, MB — kontaktų puslapis
   Brand colours from the client-supplied logo (DND LOGO .pdf).
   ========================================================= */

:root {
  --navy-900: #0f1a2b;
  --navy-800: #16233a;
  --navy-700: #1f3050;
  --cream: #f5f1e6;
  --white: #ffffff;
  --gray-200: #e6e4dd;
  --gray-300: #c9cdd4;
  --gray-400: #a4a79f;
  --accent: #e8a33d;

  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 16px;

  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--cream);
  background: linear-gradient(165deg, var(--navy-900) 0%, var(--navy-700) 100%);
  background-attachment: fixed;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2 {
  line-height: 1.2;
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--white);
  color: var(--navy-900);
  padding: 12px 18px;
  border-radius: 8px;
  z-index: 10;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 12px;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
  padding: 48px 20px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* -------------------- Header / logo -------------------- */
.brand {
  text-align: center;
  margin-bottom: 40px;
}

.brand h1 {
  margin: 0;
}

.brand img {
  width: 200px;
  height: auto;
  margin: 0 auto 24px;
}

.brand p {
  color: var(--gray-300);
  font-size: 1rem;
}

/* -------------------- Contact list -------------------- */
.contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.contacts li {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.contacts li:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
}

.icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(232, 163, 61, 0.16);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon svg {
  width: 21px;
  height: 21px;
}

.label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 3px;
}

.value {
  font-size: 1.06rem;
  font-weight: 700;
  word-break: break-word;
}

.value small {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-300);
  margin-top: 2px;
}

/* -------------------- Footer -------------------- */
.site-footer {
  text-align: center;
  padding: 28px 20px 36px;
  font-size: 0.84rem;
  color: var(--gray-400);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer p {
  margin-bottom: 6px;
}

@media (min-width: 560px) {
  .wrap {
    padding-top: 64px;
  }

  .brand img {
    width: 240px;
  }
}
