/* Live visual parity — current sipari.eu chrome */

:root {
  --line-hair: 0.5px;
}

/* —— Fixed transparent nav over hero —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: transparent;
  border: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.site-header.is-scrolled {
  background: rgba(255, 248, 251, 0.96);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.nav-inner {
  min-height: 0;
  padding: 12px 0;
  width: min(100% - 2rem, 1170px);
}

/* Logo: SIPARI / ATTORNEYS equal width, white on hero */
.logo {
  display: inline-grid;
  width: max-content;
  line-height: 1;
  font-size: 12px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.55);
}
.logo-sipari,
.logo-rest {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
}
.logo-sipari {
  color: #fff;
  font-size: 1.85em;
}
.logo-rest {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1em;
  margin-top: 0.12em;
}
.site-header.is-scrolled .logo-sipari {
  color: var(--ink);
}
.site-header.is-scrolled .logo-rest {
  color: #9a9a9a;
}

/* Nav links — live style.css: uppercase 14px */
.nav-list a {
  position: relative;
  top: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: color 0.2s ease, top 0.2s ease;
}
.nav-list a:hover,
.nav-list a:focus {
  color: var(--dragonfruit);
  top: -2px;
}
.nav-list a.active {
  color: rgba(255, 255, 255, 0.95);
}
.site-header.is-scrolled .nav-list a {
  color: rgba(30, 16, 51, 0.55);
}
.site-header.is-scrolled .nav-list a:hover,
.site-header.is-scrolled .nav-list a:focus {
  color: var(--dragonfruit);
}
.site-header.is-scrolled .nav-list a.active {
  color: var(--ink);
}

/* Kontakt CTA — glass on hero, ink when scrolled */
.nav-list a.nav-cta {
  top: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 8px 18px;
  font-weight: 600;
  border-radius: var(--radius);
}
.nav-list a.nav-cta:hover,
.nav-list a.nav-cta:focus {
  background: var(--dragonfruit);
  border-color: var(--dragonfruit);
  color: #fff;
  transform: translateY(-1px);
}
.site-header.is-scrolled .nav-list a.nav-cta {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.site-header.is-scrolled .nav-list a.nav-cta:hover {
  background: var(--dragonfruit);
  border-color: var(--dragonfruit);
  color: #fff;
}

/* Lang pills */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  border: 0;
  background: none;
  padding: 0;
}
.lang-switcher .lang-sep {
  display: none;
}
.lang-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 0.3rem 0.45rem;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  text-decoration: none;
}
.lang-switcher a:hover {
  color: var(--dragonfruit);
}
.lang-switcher a.active,
.lang-switcher a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-weight: 400;
}
.site-header.is-scrolled .lang-switcher a {
  color: rgba(30, 16, 51, 0.55);
}
.site-header.is-scrolled .lang-switcher a.active,
.site-header.is-scrolled .lang-switcher a[aria-current="page"] {
  background: rgba(30, 16, 51, 0.08);
  color: var(--ink);
}

/* Mobile toggle on dark hero */
.nav-toggle {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
}
.nav-toggle span {
  background: #fff;
}
.site-header.is-scrolled .nav-toggle {
  border-color: var(--line);
  background: var(--white);
}
.site-header.is-scrolled .nav-toggle span {
  background: var(--night);
}

@media (max-width: 860px) {
  .nav-panel {
    background: rgba(255, 248, 251, 0.98);
  }
  .nav-panel .nav-list a,
  .nav-panel .lang-switcher a {
    color: rgba(30, 16, 51, 0.7);
  }
  .nav-panel .nav-list a.nav-cta {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
    text-align: center;
  }
  .nav-panel .lang-switcher {
    gap: 0.35rem;
  }
  .nav-panel .lang-switcher a {
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0.55rem 0.85rem;
    font-size: 17px;
    font-weight: 600;
  }
  .nav-panel .lang-switcher a.active {
    background: rgba(30, 16, 51, 0.08);
    color: var(--ink);
  }
  /* Privacy / solid-header pages: lang stays in header bar */
  .privacy-doc .nav-panel {
    display: flex;
    position: static;
    inset: auto;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .privacy-doc .lang-switcher a,
  .site-header .lang-switcher a {
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0.55rem 0.75rem;
    font-size: 16px;
    font-weight: 600;
  }
}

/* —— Hero panel (current live) —— */
.hero.hero-panel-cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  height: auto;
  padding: 5.5rem 0 4rem;
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 10, 36, 0.82) 0%, rgba(20, 10, 36, 0.58) 48%, rgba(20, 10, 36, 0.3) 78%, rgba(20, 10, 36, 0.2) 100%),
    linear-gradient(180deg, rgba(20, 10, 36, 0.4) 0%, transparent 30%, transparent 70%, rgba(20, 10, 36, 0.45) 100%);
}
.hero-panel-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  padding: 5.5rem 1rem 4rem;
  padding-left: clamp(4rem, 14vw, 9.5rem);
}
.hero-panel {
  max-width: 54rem;
  width: 100%;
  text-align: left;
  color: #fff;
}
.hero-panel-eyebrow,
.hero-panel-title,
.hero-panel-lead,
.hero-panel-link,
.hero-panel-meta,
.hero-panel-meta a {
  text-shadow:
    0 0 12px rgba(20, 10, 36, 0.45),
    0 0 28px rgba(20, 10, 36, 0.28),
    0 1px 2px rgba(20, 10, 36, 0.35);
}
.hero-panel-eyebrow {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  margin: 0 0 1.6rem;
  color: #fff;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.3;
}
.hero-panel-eyebrow-line {
  display: block;
  width: 100%;
  height: var(--line-hair);
  background: var(--dragonfruit);
}
.hero-panel-title {
  margin: 0 0 1.5rem;
  color: #fff;
  font-weight: 400;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
}
.hero-panel-title > span {
  display: block;
  white-space: normal;
  overflow-wrap: break-word;
}
.hero-panel-lead {
  margin: 0 0 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 1.85vw, 1.5rem);
  font-weight: 300;
  line-height: 1.5;
}
@media (min-width: 992px) {
  .hero-panel-title > span,
  .hero-panel-lead {
    white-space: nowrap;
  }
}
.hero-panel-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-bottom: 3rem;
}
.hero-panel-btn {
  display: inline-block;
  padding: 1.1rem 1.9rem;
  background: var(--dragonfruit);
  color: #fff;
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  font-weight: 400;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.2s ease;
}
.hero-panel-btn:hover,
.hero-panel-btn:focus {
  background: var(--dragonfruit-deep);
  color: #fff;
}
.hero-panel-link {
  color: #fff;
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  font-weight: 300;
  text-decoration: none;
  border-bottom: var(--line-hair) solid rgba(255, 255, 255, 0.7);
  padding-bottom: 0.12rem;
}
.hero-panel-link:hover,
.hero-panel-link:focus {
  color: var(--dragonfruit);
  border-bottom-color: var(--dragonfruit);
}
.hero-panel-link span {
  display: inline-block;
  transition: transform 0.2s ease;
}
.hero-panel-link:hover span {
  transform: translateX(3px);
}
.hero-panel-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 300;
}
.hero-panel-meta a {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
}
.hero-panel-meta a:hover {
  color: #fff;
}
.hero-panel-meta-sep {
  display: inline-block;
  width: var(--line-hair);
  height: 0.9rem;
  margin: 0 0.9rem;
  background: rgba(255, 255, 255, 0.35);
}
@media (max-width: 768px) {
  .hero.hero-panel-cover {
    min-height: 0;
    align-items: flex-start;
    padding: 8.5rem 0 2.75rem;
  }
  .hero-panel-container {
    padding: 0 1.25rem 0 3.35rem;
  }
  .hero-panel-title {
    font-size: clamp(1.55rem, 7.2vw, 2.35rem);
    line-height: 1.22;
  }
  .hero-panel-title > span,
  .hero-panel-lead {
    white-space: normal;
  }
  .hero-panel-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2.25rem;
  }
  .hero-panel-meta {
    font-size: clamp(0.82rem, 3.1vw, 1.05rem);
  }
}

/* —— Section chrome —— */
.section {
  position: relative;
  overflow: hidden;
  padding: 2.75rem 0;
}
.section-alt {
  background: var(--paper);
}
.container {
  width: min(100% - 2rem, 1170px);
  margin-inline: auto;
}
.section-head {
  position: relative;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  margin: 0 0 1.1rem;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--night);
  line-height: 1.3;
}
.eyebrow::before {
  content: "";
  display: block;
  width: 34px;
  height: var(--line-hair);
  background: var(--dragonfruit);
  flex-shrink: 0;
}
.eyebrow-sep {
  display: block;
  width: 14px;
  height: var(--line-hair);
  background: var(--night);
  flex-shrink: 0;
}
.eyebrow-num {
  color: inherit;
}
.section-sub {
  margin: 0;
  color: var(--ink-soft);
  font-size: 19px;
  font-weight: 300;
  line-height: 1.55;
}
.heading-colored {
  color: #6e5f7a;
  font-weight: 300;
  font-size: 26px;
  margin-bottom: 1.15rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.about-figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  isolation: isolate;
}
.about-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(165deg, rgba(30, 16, 51, 0.14) 0%, transparent 45%),
    linear-gradient(0deg, rgba(255, 248, 251, 0.18) 0%, transparent 28%);
  mix-blend-mode: soft-light;
}
.about-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.03) brightness(1.02);
}
.about-copy p {
  margin: 0 0 1.15rem;
  font-weight: 300;
}
.about-copy p:last-child {
  margin-bottom: 0;
}
@media (max-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Services accordion —— */
.svc-list {
  display: flex;
  flex-direction: column;
}
.layout-list .svc-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 0.85rem;
  row-gap: 0.3rem;
  align-items: start;
  padding: 1.1rem 0;
  border-top: var(--line-hair) solid rgba(30, 16, 51, 0.16);
  overflow-anchor: none;
}
.layout-list .svc-item:last-child {
  border-bottom: var(--line-hair) solid rgba(30, 16, 51, 0.16);
}
.layout-list .svc-item.is-open {
  padding-bottom: 0.35rem;
}
.layout-list .svc-icon {
  display: flex;
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
  margin: 0.2rem 0 0;
  color: var(--night);
}
.layout-list .svc-icon .icon-svg {
  width: 20px;
  height: 20px;
}
.layout-list .svc-copy {
  display: contents;
}
.layout-list .svc-copy h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: 22px;
  font-weight: 300;
  color: var(--night);
}
@media (min-width: 992px) {
  .layout-list .svc-copy h3 {
    font-size: 24px;
  }
}
.layout-list .svc-copy > p {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  max-width: 72ch;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
}
.layout-list .list-row-cta {
  grid-column: 3;
  grid-row: 1;
  margin: 0;
  justify-self: end;
  align-self: start;
}
.layout-list .list-row-cta:has(.svc-toggle) {
  grid-row: 1 / span 2;
  align-self: center;
}
.layout-list .svc-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--dragonfruit);
  font-family: inherit;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s ease;
}
.layout-list .svc-toggle .svc-arrow {
  display: inline-block;
  font-size: 1.4rem;
  transition: transform 0.2s ease;
}
.layout-list .svc-item.is-open .svc-toggle .svc-arrow {
  transform: rotate(90deg);
}
.layout-list .svc-toggle:hover,
.layout-list .svc-item.is-open .svc-toggle {
  color: var(--dragonfruit-deep);
}
.layout-list .svc-toggle:hover .svc-arrow {
  transform: translateX(3px);
}
.layout-list .svc-item.is-open .svc-toggle:hover .svc-arrow {
  transform: rotate(90deg) translateX(3px);
}
.layout-list .svc-toggle:focus-visible {
  outline: 2px solid var(--dragonfruit);
  outline-offset: 3px;
}
.layout-list .svc-body {
  grid-column: 2 / -1;
  grid-row: 3;
  margin: 0.55rem 0 0.5rem;
  overflow-anchor: none;
}
.layout-list .svc-body:not([hidden]) {
  animation: svcReveal 0.28s ease;
}
.layout-list .svc-sub {
  padding: 1rem 0 1.05rem 1.15rem;
  border-top: var(--line-hair) solid rgba(30, 16, 51, 0.12);
}
.layout-list .svc-sub h4 {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 0 0 0.55rem;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.3;
  color: var(--night);
}
.layout-list .svc-sub h4::before {
  content: "";
  flex: 0 0 auto;
  width: 0.42em;
  height: 0.42em;
  margin-top: 0.22em;
  border-left: 1.5px solid var(--dragonfruit);
  border-bottom: 1.5px solid var(--dragonfruit);
  box-sizing: border-box;
}
.layout-list .svc-sub p {
  margin: 0;
  max-width: 72ch;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
}
.layout-list .svc-item:hover .svc-copy h3,
.layout-list .svc-item:hover .svc-icon {
  color: var(--dragonfruit-deep);
}
@keyframes svcReveal {
  from { opacity: 0; transform: translateY(-0.3rem); }
  to { opacity: 1; transform: none; }
}
@media (min-width: 992px) {
  .layout-list .svc-toggle { font-size: 1.45rem; }
  .layout-list .svc-sub h4 { font-size: 20px; }
}
@media (max-width: 768px) {
  .layout-list .svc-item {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .layout-list .svc-icon {
    grid-column: 1;
    grid-row: 1;
  }
  .layout-list .svc-copy h3 {
    grid-column: 2;
    grid-row: 1;
  }
  .layout-list .list-row-cta:has(.svc-toggle) {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    align-self: start;
    margin: 0.2rem 0 0.45rem;
  }
  .layout-list .svc-copy > p {
    grid-column: 2;
    grid-row: 3;
  }
  .layout-list .svc-body {
    grid-column: 1 / -1;
    grid-row: 4;
    padding-left: calc(20px + 0.85rem);
  }
  .layout-list .svc-toggle { font-size: 1.25rem; }
  .eyebrow {
    font-size: 13px;
    letter-spacing: 0.2em;
  }
  .eyebrow::before { width: 24px; }
}

/* Team */
.team-person {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  margin-bottom: 4rem;
}
.team-person:last-child {
  margin-bottom: 0;
}
.team-person--reverse .team-photo { order: 2; }
.team-person--reverse .team-copy { order: 1; }
.team-photo {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  isolation: isolate;
}
.team-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(165deg, rgba(30, 16, 51, 0.12) 0%, transparent 48%),
    linear-gradient(0deg, rgba(255, 248, 251, 0.16) 0%, transparent 30%);
  mix-blend-mode: soft-light;
}
.team-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.88) contrast(1.04) brightness(1.02);
}
.team-person--reverse .team-photo img {
  object-position: center 18%;
}
.team-copy h2 {
  font-weight: 300;
  font-size: 26px;
  margin: 0 0 0.35rem;
  color: var(--night);
}
.team-role {
  color: var(--dragonfruit-deep);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.04em;
  margin: 0 0 1rem;
}
.team-copy p {
  margin: 0 0 0.65rem;
  font-weight: 300;
  color: var(--ink-soft);
}
@media (max-width: 800px) {
  .team-person,
  .team-person--reverse {
    grid-template-columns: 1fr;
  }
  .team-person--reverse .team-photo,
  .team-person--reverse .team-copy {
    order: initial;
  }
  .team-person {
    margin-bottom: 2.75rem;
  }
  .team-person:last-child {
    margin-bottom: 0;
  }
  .about-grid,
  .contact-grid,
  .useful-list {
    gap: 1.25rem;
  }
}

/* —— Useful = live white cards —— */
.useful-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.useful-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 1rem 1.15rem;
  background: #fff;
  border: 1px solid #f0d6e4;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(20, 10, 36, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.useful-item:hover {
  transform: translateY(-2px);
  border-color: #e8c4d6;
  box-shadow: 0 6px 20px rgba(20, 10, 36, 0.08);
}
.useful-item .svc-icon {
  margin-bottom: 0.85rem;
  color: var(--night);
}
.useful-item .svc-icon .icon-svg {
  display: inline-flex;
  width: 44px;
  height: 44px;
  padding: 10px;
  box-sizing: border-box;
  background: #fff9fc;
  border-radius: var(--radius);
}
.useful-item:hover .svc-icon .icon-svg {
  background: rgba(255, 70, 150, 0.55);
}
.useful-item .svc-copy {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.useful-item h3 {
  margin: 0 0 0.5rem;
  font-weight: 300;
  font-size: 22px;
  color: var(--night);
}
@media (min-width: 992px) {
  .useful-item h3 {
    font-size: 24px;
  }
}
.useful-item h3 a {
  color: var(--night);
}
.useful-item h3 a:hover {
  color: var(--dragonfruit-deep);
}
.useful-item .svc-copy > p {
  margin: 0 0 0.75rem;
  color: var(--ink-soft);
  font-weight: 300;
}
.useful-item .svc-copy > p:last-child {
  margin-top: auto;
  margin-bottom: 0;
}
.useful-item .btn-primary {
  border-radius: var(--radius);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.useful-item .btn-primary:hover {
  background: var(--butter, #ff4696);
  border-color: var(--butter, #ff4696);
  color: var(--iris, #1e1033);
}
@media (max-width: 900px) {
  .useful-list {
    grid-template-columns: 1fr;
  }
}

/* Contact — live: info left, form right (Bootstrap pull/push) */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.contact-aside { order: 1; }
.contact-form { order: 2; }
.contact-form .field {
  margin-bottom: 1.15rem;
}
.contact-form label {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="url"],
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #f0d6e4;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 2px 12px rgba(20, 10, 36, 0.05);
  font: inherit;
  font-size: 1.5rem;
  color: var(--ink);
  height: 4.75rem;
  min-height: 0;
  box-sizing: border-box;
}
.contact-form textarea {
  height: auto;
  min-height: 10rem;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #e8c4d6;
  box-shadow: 0 6px 20px rgba(20, 10, 36, 0.08);
}
.field-hint {
  margin: 0.35rem 0 0;
  font-size: 1.5rem;
  line-height: 1.45;
  font-weight: 300;
  color: var(--muted);
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.file-field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}
.file-field__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}
.file-field__btn {
  padding: 0.65rem 1.1rem;
  border: 1px solid #f0d6e4;
  border-radius: var(--radius);
  background: #fff;
  font: inherit;
  cursor: pointer;
}
.file-field__btn:hover {
  border-color: var(--dragonfruit);
  color: var(--dragonfruit-deep);
}
.file-field__name {
  font-size: 1.5rem;
  line-height: 1.45;
  color: var(--muted);
}
.contact-form .btn-dark,
.contact-form button[type="submit"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 400;
  padding: 0.85rem 1.75rem;
  min-height: 0;
}
.contact-form .btn-dark:hover,
.contact-form button[type="submit"]:hover {
  background: var(--dragonfruit);
  border-color: var(--dragonfruit);
  color: #fff;
}
.form-status {
  margin-top: 0.85rem;
  min-height: 1.4em;
  font-size: 1.5rem;
  line-height: 1.45;
  font-weight: 300;
}
.form-status.is-ok { color: #1a7a4c; }
.form-status.is-err { color: #b42318; }

.contact-info {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-info li {
  position: relative;
  padding: 0 0 0 2.75rem;
  margin: 0 0 1.5rem;
}
.contact-info li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 1.35rem;
  height: 1.35rem;
  background-color: currentColor;
  color: var(--night);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  transition: color 0.2s ease;
}
.contact-info li > a {
  display: inline-block;
  color: var(--ink-soft);
  transition: color 0.2s ease, transform 0.2s ease;
}
.contact-info li:hover > a,
.contact-info li:hover::before {
  color: var(--dragonfruit);
}
.contact-info li:hover > a {
  transform: translateY(-2px);
}
.contact-info .address::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 4.993-5.403 10.193-7.386 11.855a1 1 0 0 1-1.228 0C9.403 20.193 4 14.993 4 10a8 8 0 0 1 16 0'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 4.993-5.403 10.193-7.386 11.855a1 1 0 0 1-1.228 0C9.403 20.193 4 14.993 4 10a8 8 0 0 1 16 0'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}
.contact-info .phone::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}
.contact-info .email::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E");
}
.contact-info .url::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20'/%3E%3Cpath d='M2 12h20'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20'/%3E%3Cpath d='M2 12h20'/%3E%3C/svg%3E");
}
.contact-info .telegram::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m22 2-7 20-4-9-9-4Z'/%3E%3Cpath d='M22 2 11 13'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m22 2-7 20-4-9-9-4Z'/%3E%3Cpath d='M22 2 11 13'/%3E%3C/svg%3E");
}
.contact-info .whatsapp::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3C/svg%3E");
}
.contact-info .linkedin::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z'/%3E%3Crect width='4' height='12' x='2' y='9'/%3E%3Ccircle cx='4' cy='4' r='2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z'/%3E%3Crect width='4' height='12' x='2' y='9'/%3E%3Ccircle cx='4' cy='4' r='2'/%3E%3C/svg%3E");
}
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside,
  .contact-form { order: initial; }
}

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  background: var(--night-deep);
  color: rgba(255, 255, 255, 0.78);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.footer-heading {
  margin: 0 0 0.65rem;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
}
.footer-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 300;
}
.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}
.site-footer a:hover {
  color: var(--dragonfruit);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 70, 150, 0.28);
  font-size: 14px;
}
/* base.css limits all p to 70ch — footer meta must use full row when width allows */
.footer-bottom > p {
  max-width: none;
  margin: 0;
  flex: 1 1 auto;
}
.social-row {
  display: flex;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.social-row a {
  display: inline-flex;
  color: rgba(255, 255, 255, 0.85);
}
.social-row .social-icon-svg {
  width: 20px;
  height: 20px;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Gototop — floating, semi-transparent */
.gototop {
  position: fixed;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: var(--z-toast);
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(30, 16, 51, 0.55);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(20, 10, 36, 0.22);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
}
.gototop.is-visible {
  opacity: 0.72;
  pointer-events: auto;
  transform: none;
}
.gototop.is-visible:hover,
.gototop.is-visible:focus-visible {
  opacity: 1;
  background: rgba(30, 16, 51, 0.88);
}
.gototop:focus-visible {
  outline: 2px solid var(--dragonfruit);
  outline-offset: 3px;
}
.gototop .icon-svg {
  width: 1.15rem;
  height: 1.15rem;
}
.gototop[hidden] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .layout-list .svc-body:not([hidden]) { animation: none; }
}


/* Privacy / non-hero pages: solid header */
.privacy-doc .site-header {
  background: rgba(255, 248, 251, 0.96);
  box-shadow: var(--shadow-sm);
}
.privacy-doc .logo-sipari { color: var(--ink); }
.privacy-doc .logo-rest { color: #9a9a9a; }
.privacy-doc .nav-list a,
.privacy-doc .lang-switcher a { color: rgba(30, 16, 51, 0.55); }
.privacy-doc .lang-switcher a.active {
  background: rgba(30, 16, 51, 0.08);
  color: var(--ink);
}
.privacy-doc .nav-toggle {
  border-color: var(--line);
  background: var(--white);
}
.privacy-doc .nav-toggle span { background: var(--night); }
