/* RA&FIX minimālistiskais dizains */
:root {
  --bg: #1d1e1f;
  --panel: #252627;
  --panel2: #2b2c2d;
  --text: #f4f3ee;
  --muted: #b8b8b3;
  --line: rgba(255, 255, 255, 0.18);
  --accent: #f1d94e;
  --max: 1120px;
}

body {
  background: var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: -0.01em;
}

body::before {
  background-size: min(82vw, 920px) auto;
  opacity: 0.42;
  filter: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(29, 30, 31, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

#sakums,
#pakalpojumi,
#cenas,
#kontakti {
  scroll-margin-top: 140px;
}

.topbar,
.navbar {
  background: transparent;
}

.topbar {
  border-color: var(--line);
}

.topbar-inner {
  min-height: 36px;
  font-size: 0.78rem;
}

.topbar-inner > span,
.topbar-inner > a[href^="mailto:"] {
  padding-right: 18px;
  border-right: 1px solid rgba(241, 217, 78, 0.55);
}

.social-links a,
.menu a {
  font-weight: 600;
}

.menu {
  gap: 10px;
}

.menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 0.88rem;
  transition: border-color 0.18s, background 0.18s, color 0.18s;
}

.menu a:hover,
.menu a:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  color: #171717;
  outline: none;
}

.social-links a,
.contact-socials a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.social-links a:not(:last-child),
.contact-socials a:not(:last-child) {
  padding-right: 14px;
  border-right: 1px solid rgba(241, 217, 78, 0.55);
}

.social-links a::before,
.contact-socials a::before {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
}

.social-links a[href*="tiktok"]::before,
.contact-socials a[href*="tiktok"]::before {
  content: "♪";
}

.social-links a[href*="instagram"]::before,
.contact-socials a[href*="instagram"]::before {
  content: "◎";
  font-size: 1.15rem;
}

.social-links a[href*="youtube"]::before,
.contact-socials a[href*="youtube"]::before {
  content: "▶";
  font-size: 0.78rem;
}

.social-links a[href*="facebook"]::before,
.contact-socials a[href*="facebook"]::before {
  content: "f";
  font-family: Arial, sans-serif;
  font-size: 1rem;
}

.navbar {
  min-height: 82px;
}

.brand img {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 0;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.brand b {
  font-family: Georgia, serif;
  font-size: 1.25rem;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.brand small {
  font-size: 0.75rem;
}

.hero {
  min-height: 570px;
  background: rgba(29, 30, 31, 0.58);
  border-color: var(--line);
}

.hero-grid {
  grid-template-columns: 1.55fr 0.65fr;
  gap: 90px;
}

.eyebrow {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

.hero h1 {
  max-width: 760px;
  margin: 20px 0 24px;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.01;
}

.hero h1::after {
  content: "";
  display: block;
  width: 96px;
  height: 3px;
  margin-top: 26px;
  background: var(--accent);
}

.hero-copy,
.section-intro {
  max-width: 620px;
  color: var(--muted);
  font-size: 1rem;
}

.button {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 2px;
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-card {
  padding: 28px;
  background: rgba(37, 38, 39, 0.82);
  border: 1px solid rgba(241, 217, 78, 0.72);
  border-radius: 3px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}

.hero-card .hero-icon {
  display: none;
}

.hero-card strong {
  margin: 0 0 8px;
  font-size: 1.3rem;
}

.section,
.prices-section,
.contact-section {
  padding: 92px 0;
  background: rgba(29, 30, 31, 0.70);
}

.prices-section {
  background: rgba(37, 38, 39, 0.74);
}

.section h2 {
  margin: 8px 0 18px;
  font-size: clamp(2.15rem, 4.5vw, 3.45rem);
}

.service-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 0 48px;
  margin-top: 44px;
  border-bottom: 1px solid var(--line);
}

.service-card {
  min-height: 190px;
  padding: 28px 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
}

.service-card:hover {
  transform: none;
  border-color: var(--accent);
}

.service-card > span {
  display: none;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.service-card p {
  max-width: 430px;
  min-height: 54px;
  margin: 0 0 16px;
  font-size: 0.94rem;
}

.service-card a {
  font-size: 0.86rem;
  text-decoration: none;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  margin-top: 44px;
  border-top: 0;
}

.service-hint {
  margin-top: 24px;
  margin-bottom: 4px;
}

.service-list details {
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-list summary::after {
  display: none;
  content: none;
}

.service-list summary {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 24px 0;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

.service-list summary::-webkit-details-marker {
  display: none;
}

.service-list summary::before {
  content: "+";
  color: var(--accent);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s;
}

.service-list details[open] summary::before {
  transform: rotate(45deg);
}

.service-description {
  max-width: 720px;
  padding: 0 0 24px 28px;
}

.service-description p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.94rem;
}

.service-description a {
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.price-hint {
  gap: 8px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 500;
}

.price-notice {
  display: grid;
  gap: 5px;
  margin-top: 24px;
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  background: rgba(241, 217, 78, 0.08);
}

.price-notice strong {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 800;
}

.price-notice span {
  color: var(--text);
  font-size: 0.9rem;
}

.price-hint span {
  display: none;
}

.price-hint {
  flex-wrap: wrap;
  gap: 8px 12px;
}

.price-hint strong {
  padding: 8px 11px;
  border-left: 3px solid var(--accent);
  background: rgba(241, 217, 78, 0.10);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-hint .hint-detail {
  display: inline;
  color: var(--muted);
}

.price-list {
  margin-top: 22px;
  border-color: var(--line);
}

.price-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 54px 48px;
  margin-top: 48px;
}

.price-group h3 {
  margin: 0;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.price-group .price-list {
  margin-top: 20px;
}

.price-list details {
  padding: 0;
  border-color: var(--line);
}

.price-list summary {
  padding: 22px 0;
  font-size: 1rem;
  font-weight: 600;
}

.price-list summary > span {
  gap: 12px;
}

.price-list summary > span::before {
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 400;
}

.price-list summary b {
  font-size: 1rem;
}

.price-list details p,
.price-list details ul {
  max-width: 720px;
  margin: 0 0 24px 30px;
  font-size: 0.94rem;
}

.contact-grid {
  gap: 90px;
}

form {
  gap: 16px;
}

label {
  gap: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

input,
textarea {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.035);
}

.contact-card {
  padding: 32px;
  background: rgba(37, 38, 39, 0.82);
  border-color: var(--line);
  border-radius: 2px;
}

.contact-card h3 {
  font-size: 1.65rem;
}

.contact-card p {
  margin: 18px 0;
  font-size: 0.94rem;
}

.contact-socials {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-socials a {
  font-size: 0.82rem;
  font-weight: 600;
}

footer {
  background: rgba(29, 30, 31, 0.94);
  border-color: var(--line);
  font-size: 0.82rem;
}

@media (max-width: 850px) {
  .site-header {
    background: #1d1e1f;
  }

  .menu {
    z-index: 1100;
    background: #252627;
    border-color: rgba(241, 217, 78, 0.55);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.58);
    opacity: 1;
  }

  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-card {
    max-width: none;
  }

  .menu a {
    justify-content: flex-start;
    width: 100%;
  }

  .section,
  .prices-section,
  .contact-section {
    padding: 72px 0;
  }

  .price-groups {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 560px) {
  .topbar {
    display: none;
  }

  .navbar {
    min-height: 62px;
  }

  .brand {
    gap: 9px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand b {
    font-size: 1.05rem;
    text-underline-offset: 4px;
  }

  .menu-button {
    min-width: 40px;
    min-height: 40px;
    padding: 3px 9px;
  }

  .menu {
    left: 14px;
    right: 14px;
    padding: 12px;
  }

  #sakums,
  #pakalpojumi,
  #cenas,
  #kontakti {
    scroll-margin-top: 70px;
  }

  body::before {
    background-size: 92vw auto;
    opacity: 0.35;
  }

  .social-links,
  .contact-socials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    overflow: hidden;
  }

  .social-links a,
  .contact-socials a {
    justify-content: center;
    min-width: 0;
    padding: 8px 5px !important;
    border-right: 0 !important;
    font-size: 0.74rem;
    white-space: nowrap;
  }

  .social-links a:nth-child(odd),
  .contact-socials a:nth-child(odd) {
    border-right: 1px solid rgba(241, 217, 78, 0.55) !important;
  }

  .social-links a:nth-child(-n + 2),
  .contact-socials a:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero {
    padding: 78px 0;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .price-list summary {
    align-items: start;
  }
}

.consent-row {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 400;
}

.website-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-status {
  display: none;
  margin-top: 24px;
  padding: 13px 15px;
  border-left: 3px solid var(--accent);
  background: rgba(241, 217, 78, 0.08);
  font-size: 0.9rem;
}

.form-status.success,
.form-status.error {
  display: block;
}

.form-status.success {
  color: var(--accent);
}

.form-status.error {
  border-color: #f07b72;
  background: rgba(240, 123, 114, 0.08);
  color: #ffaaa2;
}

.consent-row input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.consent-row a {
  color: var(--text);
  text-underline-offset: 3px;
}

.footer-links {
  display: flex;
  gap: 22px;
}

.privacy-page {
  min-height: 100vh;
  padding: 64px 0 90px;
  background: rgba(29, 30, 31, 0.76);
}

.privacy-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.privacy-nav .brand img {
  vertical-align: middle;
}

.back-link {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.privacy-content {
  max-width: 760px;
  padding-top: 70px;
}

.privacy-content h1 {
  margin: 12px 0 18px;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.privacy-content h2 {
  margin: 42px 0 12px;
  font-size: 1.25rem;
}

.privacy-content p,
.privacy-content li {
  color: var(--muted);
}

.privacy-content a {
  color: var(--text);
}

@media (max-width: 560px) {
  footer .container {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .privacy-page {
    padding-top: 28px;
  }

  .privacy-content {
    padding-top: 50px;
  }
}
