/* ============================================
   Juridiskais birojs Vindex — Classic Elegant
   Navy & Gold · Serif · Traditional
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #1a2744;
  --navy-light: #243356;
  --gold: #c9a84c;
  --gold-hover: #b8963e;
  --cream: #f8f6f0;
  --cream-dark: #f0ede4;
  --text-dark: #1a2744;
  --text-body: #4d5a6e;
  --text-light: rgba(255,255,255,0.88);
  --text-muted: rgba(255,255,255,0.6);
  --border-light: #d5cfc0;
  --white: #fff;
  --black: #000;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  --max-w: 1140px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
.serif { font-family: var(--font-serif); }
.sans { font-family: var(--font-sans); }
.gold { color: var(--gold); }
.navy { color: var(--navy); }
.white { color: var(--white); }

/* section-label on dark backgrounds stays gold */
.page-hero .section-label,
.cta-banner .section-label,
.footer .section-label,
.hero .section-label {
  color: var(--gold);
}

.section-label {
  font-family: var(--font-sans);
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-title--white { color: var(--white); }

.divider {
  width: 60px;
  height: 3px;
  background-color: var(--gold);
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}
.divider::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.85) 50%, transparent 100%);
  animation: dividerShimmer 0.8s 0.6s ease-out forwards;
}
@keyframes dividerShimmer {
  from { left: -100%; }
  to { left: 250%; }
}

.divider--center { margin-left: auto; margin-right: auto; }

.section-subtitle {
  font-family: var(--font-sans);
  color: var(--text-body);
  font-size: 1rem;
  max-width: 500px;
}

.section-subtitle--center { margin: 0 auto; }
.section-subtitle--light { color: var(--text-muted); }

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

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: all var(--transition);
  text-align: center;
}

.btn--gold {
  background: linear-gradient(to right, var(--gold-hover) 50%, var(--gold) 50%);
  background-size: 200% 100%;
  background-position: right center;
  color: var(--navy);
  transition: background-position 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.btn--gold:hover { background-position: left center; }

.btn--blue {
  background: linear-gradient(to right, var(--navy-light) 50%, var(--navy) 50%);
  background-size: 200% 100%;
  background-position: right center;
  color: #ffffff;
  transition: background-position 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.btn--blue:hover { background-position: left center; }

.btn--outline {
  border: none;
  background: none;
  color: var(--gold);
  padding: 14px 2px;
  position: relative;
  letter-spacing: 0.15em;
}
.btn--outline::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0.3);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.btn--outline:hover::after {
  transform: scaleX(1);
}

/* Hero-specific: modern styled buttons */
.hero__buttons .btn {
  padding: 14px 34px;
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: 1px;
}

/* Primary — white fill, navy text (brand color from logo), slides to navy on hover */
.hero__buttons .btn--gold {
  background: linear-gradient(to right, var(--navy) 50%, #ffffff 50%);
  background-size: 200% 100%;
  background-position: right center;
  color: var(--navy);
  border: none;
  transition: background-position 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.4s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.hero__buttons .btn--gold::before { content: none; }
.hero__buttons .btn--gold::after  { content: none; }
.hero__buttons .btn--gold:hover {
  background-position: left center;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}

/* Secondary — ghost border, slides white fill on hover */
.hero__buttons .btn--outline {
  background: transparent;
  color: rgba(255,255,255,0.82);
  border: 1px solid rgba(255,255,255,0.32);
  transition: color 0.3s ease, border-color 0.3s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.hero__buttons .btn--outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.07);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}
.hero__buttons .btn--outline::after { content: none; }
.hero__buttons .btn--outline:hover {
  color: rgba(255,255,255,0.95);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.2);
}
.hero__buttons .btn--outline:hover::before { transform: scaleX(1); }

.btn--full { width: 100%; }

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background-color var(--transition), box-shadow var(--transition);
  background-color: transparent;
}

.navbar.scrolled {
  background-color: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.12);
}
.navbar.scrolled .navbar__link { color: var(--navy); }
.navbar.scrolled .navbar__link:hover,
.navbar.scrolled .navbar__link.active { color: var(--gold); border-bottom-color: var(--gold); }
.navbar.scrolled .navbar__logo-img { filter: none; }
.navbar.scrolled .navbar__lang { border-color: var(--gold); color: var(--gold); }
.navbar.scrolled .navbar__burger svg { stroke: var(--navy); }

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.navbar__logo {
  display: flex;
  align-items: center;
}

.navbar__logo-img {
  height: 40px;
  width: auto;
  max-width: 160px;
  filter: brightness(0) invert(1);
  transition: opacity var(--transition), filter 0.3s ease;
}

.navbar__logo-img:hover { opacity: 0.85; }

.navbar__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Dropdown nav item */
.navbar__item {
  position: relative;
  display: flex;
  align-items: center;
}
.navbar__item > .navbar__link::after {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  margin-bottom: 2px;
  opacity: 0.55;
  vertical-align: middle;
  transition: transform 0.2s ease;
}
.navbar__item:hover > .navbar__link::after {
  transform: rotate(-135deg);
  margin-bottom: -2px;
}
.navbar__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #fff;
  border: 1px solid rgba(26,39,68,0.1);
  box-shadow: 0 12px 32px rgba(26,39,68,0.13);
  min-width: 168px;
  padding: 16px 0 4px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 300;
}
.navbar__item:hover .navbar__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.navbar__dropdown-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid rgba(26,39,68,0.06);
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
  text-decoration: none;
}
.navbar__dropdown-link:last-child { border-bottom: none; }
.navbar__dropdown-link:hover { background: rgba(26,39,68,0.04); color: var(--gold-hover); }
.navbar__dropdown-link svg { width: 13px; height: 13px; flex-shrink: 0; opacity: 0.55; }

.navbar__link {
  font-family: var(--font-sans);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.88rem;
  font-weight: 400;
  transition: color var(--transition);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.navbar__lang {
  font-family: var(--font-sans);
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 4px 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.7rem;
  transition: background var(--transition);
}
.navbar__lang:hover { background: rgba(201,168,76,0.15); }

.navbar__burger {
  display: none;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
}

.navbar__burger svg { width: 24px; height: 24px; stroke: var(--white); fill: none; }

.navbar__mobile {
  display: none;
  background-color: var(--navy);
  border-top: 1px solid rgba(201,168,76,0.2);
}

.navbar__mobile.open { display: block; }

.navbar__mobile-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 16px 24px;
  color: var(--white);
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(201,168,76,0.1);
  transition: color var(--transition);
}
.navbar__mobile-link:hover { color: var(--gold); }

.navbar__mobile-lang {
  padding: 16px 24px;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,39,68,0.92) 0%, rgba(26,39,68,0.75) 60%, rgba(26,39,68,0.5) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 120px 24px 80px;
  text-align: left;
}

.hero__content--split {
  display: flex;
  align-items: flex-start;
  gap: 56px;
}

.hero__text { flex: 1; }

.hero__photo {
  flex: 0 0 320px;
  position: relative;
}

.hero__photo img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  border-bottom: 4px solid var(--gold);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* Portrait variant — Gvido hero */
.hero__photo--portrait {
  flex: 0 0 310px;
  position: relative;
  margin-top: 8px;
}

/* Offset border frame — sits 12px to the right and below the photo */
.hero__photo--portrait::before {
  content: '';
  position: absolute;
  top: 12px;
  right: -12px;
  width: 100%;
  height: calc(100% - 52px);
  border: 1.5px solid rgba(201, 168, 76, 0.4);
  z-index: 0;
  pointer-events: none;
}

.hero__photo--portrait img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: top center;
  border-bottom: 3px solid var(--gold);
  box-shadow: -10px 14px 44px rgba(0,0,0,0.5);
  position: relative;
  z-index: 1;
  display: block;
}

.hero__photo-caption {
  position: relative;
  z-index: 2;
  margin-top: 12px;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.92);
  line-height: 1.4;
}

.hero__photo-caption span {
  display: block;
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 4px;
}

@media (max-width: 1024px) {
  .hero__content--split { flex-direction: column; align-items: center; gap: 32px; }
  .hero__photo { flex: 0 0 auto; max-width: 400px; }
  .hero__photo--portrait { flex: 0 0 auto; width: 260px; margin-top: 0; }
}

@media (max-width: 768px) {
  .hero__photo { max-width: 100%; }
  .hero__photo--portrait { width: 220px; }
  .hero__photo--portrait img { height: 300px; }
  .hero__photo--portrait::before { display: none; }
}

@media (max-width: 640px) {
  .hero__photo--portrait { display: none; }
}

.hero__tagline {
  font-family: var(--font-sans);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.hero__title {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero__title-prefix {
  display: block;
  font-size: clamp(1.2rem, 3vw, 2rem);
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 8px;
}

.hero__divider {
  width: 60px;
  height: 3px;
  background-color: var(--gold);
  margin-bottom: 24px;
}

.hero__subtitle {
  font-family: var(--font-serif);
  color: rgba(255,255,255,0.8);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-style: italic;
  max-width: 600px;
  margin-bottom: 16px;
}

.hero__desc {
  font-family: var(--font-sans);
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 28px;
}

/* Trust meta strip — 3 scannable facts */
.hero__meta {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.hero__meta-item {
  display: flex;
  flex-direction: column;
  padding-right: 24px;
  margin-right: 24px;
  border-right: 1px solid rgba(255,255,255,0.14);
}
.hero__meta-item:last-child {
  padding-right: 0;
  margin-right: 0;
  border-right: none;
}
.hero__meta-item strong {
  font-family: var(--font-serif);
  font-size: 1.26rem;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  line-height: 1.2;
}
.hero__meta-item span {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.58);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 3px;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: heroFadeUp 0.5s 1s ease both, bounce 2s 1.5s infinite;
  text-decoration: none;
  cursor: pointer;
}

.hero__scroll svg {
  width: 32px; height: 32px;
  stroke: rgba(255,255,255,0.4);
  fill: none;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* --- Hero entrance animations --- */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroDividerExpand {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

.hero__title   { animation: heroFadeUp 0.65s 0.15s ease both; }
.hero__divider { transform-origin: left; animation: heroDividerExpand 0.5s 0.4s ease both; }
.hero__subtitle { animation: heroFadeUp 0.6s 0.5s ease both; }
.hero__desc    { animation: heroFadeUp 0.6s 0.6s ease both; }
.hero__meta    { animation: heroFadeUp 0.6s 0.65s ease both; }
.hero__buttons { animation: heroFadeUp 0.6s 0.75s ease both; }
.hero__photo--portrait { animation: heroFadeUp 0.7s 0.3s ease both; }

/* --- Services --- */
.services {
  padding: 96px 0;
  background-color: var(--cream-dark);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.service-card {
  background: var(--white);
  border-top: 3px solid var(--gold);
  box-shadow: 0 4px 20px rgba(26,39,68,0.08);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(26,39,68,0.15);
}

.service-card__icon {
  width: 48px; height: 48px;
  background-color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.service-card:hover .service-card__icon {
  transform: scale(1.1) rotate(4deg);
  background-color: var(--gold-hover);
}

.service-card__icon svg { width: 22px; height: 22px; stroke: var(--white); fill: none; }

.service-card__title {
  font-family: var(--font-serif);
  color: var(--navy);
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.service-card__desc {
  font-family: var(--font-sans);
  color: var(--text-body);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* --- About --- */
.about {
  padding: 96px 0 56px;
  background-color: var(--white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__subtitle {
  font-family: var(--font-serif);
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 16px;
}

.about__text {
  font-family: var(--font-sans);
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ── Metrics band (full-width stats strip) ── */
.metrics-band {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
/* Subtle diagonal texture */
.metrics-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,0.014) 40px,
    rgba(255,255,255,0.014) 41px
  );
  pointer-events: none;
}
.metrics-band__accent {
  height: 1px;
  background: linear-gradient(to right, transparent 0%, rgba(201,168,76,0.35) 30%, rgba(201,168,76,0.35) 70%, transparent 100%);
}
.metrics-band__inner {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}
.metrics-band__item {
  flex: 1;
  padding: 54px 32px;
  text-align: center;
}
.metrics-band__divider {
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}
.metrics-band__value {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 3.4rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.metrics-band__label {
  font-family: var(--font-sans);
  color: rgba(255,255,255,0.62);
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
@media (max-width: 900px) {
  .metrics-band__inner { flex-wrap: wrap; padding: 0 24px; }
  .metrics-band__item { flex: 1 1 calc(50% - 1px); padding: 40px 20px; }
  .metrics-band__divider:nth-child(4) { display: none; }
  .metrics-band__divider { height: 1px; width: 100%; flex-basis: 100%; }
}
@media (max-width: 540px) {
  .metrics-band__item { flex: 1 1 100%; padding: 32px 20px; }
  .metrics-band__divider { display: none; }
  .metrics-band__value { font-size: 2.6rem; }
}

/* Keep old .about__stats for any other pages */
.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.stat {
  border-left: 2px solid var(--gold);
  padding-left: 16px;
}

.stat__value {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 2rem;
  line-height: 1;
}

.stat__label {
  font-family: var(--font-sans);
  color: var(--text-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  margin-top: 4px;
}

.about__image-wrapper {
  position: relative;
}

.about__image-wrapper img {
  width: 100%;
  height: auto;
}

.about__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,39,68,0.6), transparent);
}

.about__values {
  background-color: var(--navy);
  padding: 32px;
  margin-top: 24px;
  position: relative;
  overflow: hidden;
}
.about__values::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-55deg, transparent, transparent 40px, rgba(255,255,255,0.015) 40px, rgba(255,255,255,0.015) 41px);
  pointer-events: none;
}

.about__values-title {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.value-item:last-child { margin-bottom: 0; }

.value-item__icon svg {
  width: 18px; height: 18px;
  stroke: var(--gold);
  fill: none;
  flex-shrink: 0;
  margin-top: 2px;
  transition: transform 0.3s ease;
}
.value-item:hover .value-item__icon svg {
  transform: scale(1.2);
}

.value-item__title {
  font-family: var(--font-sans);
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
}

.value-item__desc {
  font-family: var(--font-sans);
  color: rgb(255 255 255 / 92%);
  font-size: 0.8rem;
  line-height: 1.6;
}

/* --- Contact --- */
.contact {
  padding: 96px 0;
  background-color: var(--cream);
}

.contact__grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 48px;
  margin-top: 48px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-item__icon {
  width: 40px; height: 40px;
  background-color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.contact-item:hover .contact-item__icon {
  transform: scale(1.1);
}

.contact-item__icon svg { width: 18px; height: 18px; stroke: var(--white); fill: none; }

.contact-item__label {
  font-family: var(--font-sans);
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-item__value {
  font-family: var(--font-sans);
  color: var(--text-body);
  font-size: 1rem;
}

.contact-item__value a {
  color: var(--text-body);
  transition: color var(--transition);
}
.contact-item__value a:hover { color: var(--gold); }

.form__group { margin-bottom: 16px; }

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__label {
  display: block;
  font-family: var(--font-sans);
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.65rem;
  margin-bottom: 8px;
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--gold);
}

.form__textarea { resize: vertical; }

/* ── Floating labels ── */
.form__group:has(.form__floating) { position: relative; }
.form__group:has(.form__floating) .form__input,
.form__group:has(.form__floating) .form__textarea {
  padding: 20px 16px 7px;
}
.form__floating {
  position: absolute;
  left: 16px;
  top: 15px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: #6b6b6b;
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.18s ease, color 0.18s ease;
}
.form__input:focus ~ .form__floating,
.form__input:not(:placeholder-shown) ~ .form__floating,
.form__textarea:focus ~ .form__floating,
.form__textarea:not(:placeholder-shown) ~ .form__floating {
  transform: translateY(-9px) scale(0.72);
  color: var(--navy);
}

/* ── Pre-footer contact strip ── */
.pre-footer {
  background: var(--navy);
  padding: 64px 0;
}
.pre-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255,255,255,0.12);
}
.pre-footer__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 32px;
  border-right: 1px solid rgba(255,255,255,0.12);
  transition: background 0.3s ease;
  cursor: default;
}
.pre-footer__item:last-child { border-right: none; }
.pre-footer__item:hover { background: rgba(255,255,255,0.04); }
.pre-footer__icon {
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.pre-footer__item:hover .pre-footer__icon {
  transform: translateY(-5px) scale(1.12);
}
.pre-footer__icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--gold);
  stroke-width: 1.25;
  fill: none;
  transition: stroke-width 0.3s ease;
}
.pre-footer__item:hover .pre-footer__icon svg {
  stroke-width: 1.6;
}
.pre-footer__label {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
}
.pre-footer__value {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: rgba(255,255,255,0.92);
  line-height: 1.6;
}
.pre-footer__value a {
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  transition: color 0.25s ease;
}
.pre-footer__value a:hover { color: var(--gold); }
@media (max-width: 768px) {
  .pre-footer__grid { grid-template-columns: 1fr; }
  .pre-footer__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 32px 24px; }
  .pre-footer__item:last-child { border-bottom: none; }
}

/* --- Footer --- */
.footer {
  background-color: var(--navy);
  padding: 24px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  align-content: center;
}

.footer__copy {
  font-family: var(--font-sans);
  color: rgba(255,255,255,0.35);
  font-size: 0.72rem;
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__link {
  font-family: var(--font-sans);
  color: rgba(255,255,255,0.35);
  font-size: 0.72rem;
  transition: color 0.25s ease;
}
.footer__link:hover { color: rgba(255,255,255,0.7); }

/* --- Contact map --- */
.contact-map {
  position: relative;
  height: 552px;
  overflow: hidden;
}

.contact-map__iframe {
  position: absolute;
  inset: 0;
}

.contact-map__iframe iframe {
  width: 100%;
  height: 100%;
  display: block;
  filter: grayscale(15%) contrast(1.05);
}

.contact-map__card {
  position: absolute;
  bottom: 36px;
  left: 36px;
  background: var(--navy);
  color: #fff;
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 340px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  border-left: 3px solid var(--gold);
}

.contact-map__card-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--gold);
  margin-top: 2px;
}

.contact-map__card-icon svg {
  width: 100%;
  height: 100%;
}

.contact-map__card-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-map__card-addr {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin-bottom: 12px;
}

.contact-map__card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: gap 0.2s ease;
}

.contact-map__card-link:hover { gap: 10px; }

.contact-map__card-link svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 640px) {
  .contact-map { height: 432px; }
  .contact-map__card { bottom: 16px; left: 16px; right: 16px; max-width: none; }
}

/* --- Subpages --- */
.page-hero {
  background-color: var(--navy);
  padding: 140px 0 80px;
  text-align: center;
}

.page-hero__title {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 16px;
}

.page-hero__subtitle {
  font-family: var(--font-sans);
  color: rgba(255,255,255,0.95);
  font-size: 1.4rem;
  max-width: 600px;
  margin: 0 auto;
}

.page-hero__lead {
  font-family: var(--font-sans);
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  max-width: 620px;
  margin: 20px auto 0;
  line-height: 1.75;
}

.page-content {
  padding: 80px 0;
  background-color: var(--cream);
}

.page-content p {
  font-family: var(--font-sans);
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.page-content h3 {
  font-family: var(--font-serif);
  color: var(--navy);
  font-size: 1.3rem;
  margin: 32px 0 12px;
}

/* Services list for subpage */
.services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.services-list__item {
  background: var(--white);
  border-left: 3px solid var(--gold);
  padding: 24px;
  transition: box-shadow var(--transition);
}

.services-list__item:hover {
  box-shadow: 0 8px 24px rgba(26,39,68,0.1);
}

.services-list__title {
  font-family: var(--font-serif);
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.services-list__desc {
  font-family: var(--font-sans);
  color: var(--text-body);
  font-size: 0.85rem;
  line-height: 1.7;
}

/* --- Services bento grid (photo cards) --- */
.svc-section {
  background: #0d1426;
}

.svc-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.svc-card {
  position: relative;
  min-height: 320px;
  background: var(--navy);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: default;
}

.svc-card--wide { grid-column: span 2; min-height: 360px; }
.svc-card--full { grid-column: 1 / -1; min-height: 320px; }

/* Background photo */
.svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  transition: transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: saturate(0.7) brightness(0.6);
}
.svc-card:hover::before {
  transform: scale(1.05);
  filter: saturate(0.85) brightness(0.5);
}

/* Heavy gradient overlay — text always readable */
.svc-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6, 12, 32, 0.98) 0%,
    rgba(6, 12, 32, 0.82) 40%,
    rgba(6, 12, 32, 0.25) 75%,
    rgba(6, 12, 32, 0.05) 100%
  );
  z-index: 1;
}

.svc-card__num {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 2;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: rgba(201,168,76,0.45);
  transition: color 0.3s ease;
}
.svc-card:hover .svc-card__num { color: rgba(201,168,76,0.85); }

.svc-card__body {
  position: relative;
  z-index: 2;
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
}

.svc-card__line {
  width: 24px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 12px;
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.svc-card:hover .svc-card__line { width: 48px; }

.svc-card__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: rgba(255,255,255,0.95);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0;
}
.svc-card--wide .svc-card__title,
.svc-card--full .svc-card__title { font-size: 1.4rem; }

/* Description: hidden by default, reveals on hover */
.svc-card__desc {
  font-family: var(--font-sans);
  font-size: 0.97rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  margin-top: 12px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease 0.05s, max-height 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.svc-card:hover .svc-card__desc {
  opacity: 1;
  max-height: 600px;
}

.svc-card__toggle { display: none; }

/* CTA link — clean gold underline style */
.svc-card__cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  margin-top: 16px;
  position: relative;
  padding-bottom: 3px;
  transition: gap 0.3s ease, color 0.3s ease;
}
.svc-card__cta::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  opacity: 0.55;
  transition: opacity 0.35s ease;
}
.svc-card:hover .svc-card__cta::after { opacity: 1; }

@media (max-width: 1024px) {
  .svc-bento { grid-template-columns: repeat(2, 1fr); }
  .svc-card--wide,
  .svc-card--full { grid-column: span 2; }
  /* Show desc on tablet (no hover) */
  .svc-card__desc { opacity: 1; max-height: 600px; }
}

@media (max-width: 640px) {
  .svc-bento { grid-template-columns: 1fr; gap: 2px; }
  .svc-card--wide,
  .svc-card--full { grid-column: span 1; min-height: 260px; }
  .svc-card { min-height: 240px; }
  .svc-card__desc { opacity: 1; max-height: 600px; }
}

/* --- Services v2: editorial catalog layout --- */
.services-v2-hero {
  background: var(--navy);
  padding: 132px 0 64px;
  color: var(--white);
}

.services-v2-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: 72px;
}

.services-v2-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 0.98;
  color: var(--white);
  margin-bottom: 24px;
}

.services-v2-hero__lead {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.35;
  color: rgba(255,255,255,0.9);
  max-width: 760px;
  margin-bottom: 18px;
}

.services-v2-hero__text {
  max-width: 660px;
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 32px;
}

.services-v2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.services-v2-actions .btn--outline {
  border: 1px solid rgba(201,168,76,0.48);
  color: var(--gold);
  padding: 14px 26px;
}

.services-v2-actions .btn--outline::after {
  content: none;
}

.services-v2-actions .btn--outline:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.1);
}

.services-v2-proof {
  position: relative;
  border: 1px solid rgba(201,168,76,0.32);
  padding: 12px;
}

.services-v2-proof img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92);
}

.services-v2-proof__panel {
  position: absolute;
  left: -28px;
  right: 28px;
  bottom: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
}

.services-v2-proof__panel div {
  background: rgba(26,39,68,0.86);
  padding: 20px;
}

.services-v2-proof__panel strong {
  display: block;
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 8px;
}

.services-v2-proof__panel span {
  display: block;
  color: rgba(255,255,255,0.76);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.45;
}

.services-v2-intro {
  background: var(--cream);
  padding: 72px 0 36px;
  border-bottom: 1px solid var(--border-light);
}

.services-v2-intro__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: start;
}

.services-v2-intro__grid p {
  color: var(--text-body);
  font-size: 1.02rem;
  line-height: 1.85;
  margin-top: 4px;
}

.services-v2-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.services-v2-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(26,39,68,0.14);
  background: rgba(255,255,255,0.52);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color var(--transition), color var(--transition), background-color var(--transition);
}

.services-v2-chips a:hover {
  border-color: var(--gold);
  color: var(--gold-hover);
  background: var(--white);
}

.services-v2-list {
  background: var(--cream);
  padding: 28px 0 88px;
}

.services-v2-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid var(--border-light);
}

.services-v2-item--accent {
  margin: 0 -28px;
  padding: 34px 28px;
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(201,168,76,0.24);
}

.services-v2-item__num {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 1.25rem;
  line-height: 1;
  padding-top: 8px;
}

.services-v2-item__body h2 {
  font-family: var(--font-serif);
  color: var(--navy);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.15;
  margin-bottom: 12px;
}

.services-v2-item__body p {
  color: var(--text-body);
  font-size: 0.98rem;
  line-height: 1.82;
  max-width: 820px;
  margin-bottom: 10px;
}

.services-v2-item__body p:last-child { margin-bottom: 0; }

.services-v2-item__link {
  margin-top: 10px;
  color: var(--gold-hover);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  white-space: nowrap;
}

.services-v2-process {
  background: var(--navy);
  padding: 88px 0;
  color: var(--white);
}

.services-v2-process .section-title {
  color: var(--white);
  max-width: 540px;
}

.services-v2-process p {
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  line-height: 1.8;
}

.services-v2-process__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
}

.services-v2-steps {
  display: grid;
  gap: 14px;
}

.services-v2-steps div {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
}

.services-v2-steps span {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 1.35rem;
  line-height: 1;
}

.services-v2-steps h3 {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.services-v2-steps p {
  grid-column: 2;
  margin: -8px 0 0;
  font-size: 0.95rem;
}

@media (max-width: 1024px) {
  .services-v2-hero__grid,
  .services-v2-intro__grid,
  .services-v2-process__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .services-v2-proof {
    max-width: 520px;
  }
}

@media (max-width: 768px) {
  .services-v2-hero {
    padding: 112px 0 46px;
  }
  .services-v2-actions {
    flex-direction: column;
  }
  .services-v2-proof__panel {
    position: static;
    margin-top: 1px;
  }
  .services-v2-item,
  .services-v2-item--accent {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-left: 0;
    margin-right: 0;
    padding: 28px 0;
    background: transparent;
    border-left: 0;
    border-right: 0;
  }
  .services-v2-item__link {
    justify-self: start;
  }
  .services-v2-steps div {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .services-v2-steps p {
    grid-column: auto;
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  .services-v2-proof__panel {
    grid-template-columns: 1fr;
  }
  .services-v2-chips a {
    width: 100%;
    justify-content: center;
  }
}

/* --- Birojs: partner intro split --- */
.partner-intro {
  display: grid;
  grid-template-columns: 52% 48%;
  height: clamp(480px, 62vh, 620px);
  overflow: hidden;
}

.partner-intro__text {
  background: #fff;
  padding: 56px 56px 56px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.partner-intro__heading {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--navy);
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.15;
}

.partner-intro__p {
  font-family: var(--font-sans);
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.partner-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
}
.partner-facts__item { display: flex; flex-direction: column; }
.partner-facts__num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
}
.partner-facts__label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted-dark, #6b7280);
  margin-top: 8px;
}

@media (max-width: 600px) {
  .partner-facts {
    flex-wrap: nowrap;
    gap: 12px;
  }
  .partner-facts__item { flex: 1 1 0; min-width: 0; }
  .partner-facts__num { font-size: 1.35rem; white-space: nowrap; }
  .partner-facts__label {
    font-size: 0.56rem;
    letter-spacing: 0.06em;
    line-height: 1.3;
    margin-top: 6px;
  }
}

.partner-intro__visual {
  position: relative;
  overflow: hidden;
}

.partner-intro__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.partner-intro__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 56px 32px 28px;
  background: linear-gradient(to top, rgba(10,18,44,0.92) 0%, rgba(10,18,44,0.5) 60%, transparent 100%);
  color: #fff;
  font-family: var(--font-sans);
}

.partner-intro__caption strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.partner-intro__caption span {
  display: block;
  font-size: 0.72rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-top: 3px;
}

/* --- Birojs: stats band --- */
.birojs-stats {
  background: var(--navy);
  padding: 56px 0;
  border-top: 1px solid rgba(201,168,76,0.15);
}

.birojs-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.birojs-stats__item {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.birojs-stats__item:last-child {
  border-right: none;
}

.birojs-stats__num {
  font-family: var(--font-serif);
  font-size: 3.12rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.birojs-stats__label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.62);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* --- Birojs: values --- */
.birojs-values {
  background: #f7f6f3;
  padding: 80px 0;
}

.birojs-values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.birojs-val-card {
  background: #fff;
  padding: 40px 32px;
  border-bottom: 3px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.birojs-val-card:hover {
  border-bottom-color: var(--gold);
  box-shadow: 0 8px 32px rgba(26,39,68,0.08);
}

.birojs-val-card__icon {
  width: 44px;
  height: 44px;
  color: var(--gold);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}
.birojs-val-card:hover .birojs-val-card__icon {
  transform: scale(1.15) translateY(-3px);
}

.birojs-val-card__icon svg {
  width: 100%;
  height: 100%;
}

.birojs-val-card__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 12px;
}

.birojs-val-card__desc {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .partner-intro { grid-template-columns: 1fr; height: auto; }
  .partner-intro__visual { order: -1; min-height: 360px; max-height: 420px; }
  .partner-intro__text { padding: 48px 40px; }
  .birojs-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .birojs-stats__item:nth-child(2) { border-right: none; }
  .birojs-stats__item:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.08); }
  .birojs-values__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .partner-intro__visual { min-height: 260px; max-height: 300px; }
  .partner-intro__text { padding: 36px 24px; }
  .partner-intro__heading { font-size: 1.6rem; }
}

@media (max-width: 640px) {
  .partner-intro__text { padding: 40px 24px; }
  .partner-intro__heading { font-size: 1.75rem; }
  .birojs-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .birojs-stats__num { font-size: 2.4rem; }
}

/* --- Mēs praktizējamies --- */
.practice {
  padding: 56px 0 96px;
  background-color: var(--white);
}

.practice__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
}

.practice__left {}

.practice__goal {
  font-family: var(--font-sans);
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.practice__photo {
  position: relative;
}

.practice__photo img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 3px solid var(--navy);
  box-shadow: 0 12px 40px rgba(26,39,68,0.15);
}

.practice__photo-caption {
  margin-top: 12px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-body);
}

.practice__photo-caption span {
  display: block;
  font-size: 0.72rem;
  color: var(--navy-light);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 3px;
}

.practice__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.practice-item {
  border-bottom: 1px solid var(--border-light);
  padding: 24px 0;
  transition: padding-left 0.3s ease;
}
.practice-item:first-child { border-top: 1px solid var(--border-light); }

.practice-item:hover { padding-left: 8px; }

.practice-item__title {
  font-family: var(--font-serif);
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.practice-item__title::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  flex-shrink: 0;
  transition: width 0.3s ease;
}
.practice-item:hover .practice-item__title::before { width: 28px; background-color: var(--gold); }

.practice-item__desc {
  font-family: var(--font-sans);
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.7;
  padding-left: 28px;
}

.practice-item__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  margin-left: 28px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  border-bottom: 1px solid rgba(191,163,106,0.4);
  padding-bottom: 2px;
  transition: gap 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.practice-item__link:hover { gap: 11px; color: var(--gold-hover); border-color: var(--gold-hover); }
.practice-item__link svg { width: 12px; height: 12px; }

@media (max-width: 1024px) {
  .practice__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* --- Process steps --- */
.process {
  padding: 80px 0;
  background-color: var(--cream);
}

.process .section-title { color: var(--navy); }
.process .section-subtitle { color: var(--text-body); }

.process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.process-step {
  text-align: left;
  padding: 44px 36px;
  background: var(--white);
  border: 1px solid rgba(26,39,68,0.08);
  border-top: 3px solid var(--navy);
  box-shadow: 0 2px 16px rgba(26,39,68,0.04);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.process-step:hover {
  box-shadow: 0 8px 32px rgba(26,39,68,0.1);
  transform: translateY(-3px);
}
.process-step:hover .process-step__num { color: var(--gold); transition: color 0.35s ease; }

.process-step__num {
  font-family: var(--font-serif);
  color: rgba(26,39,68,0.15);
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.process-step__title {
  font-family: var(--font-serif);
  color: var(--navy);
  font-size: 1.15rem;
  margin-bottom: 14px;
  font-weight: 600;
}

.process-step__desc {
  font-family: var(--font-sans);
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.78;
}

/* --- Testimonial --- */
.testimonial {
  padding: 80px 0;
  background: var(--white);
}
.testimonial__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.testimonial__quote {
  font-family: var(--font-serif);
  font-size: 7rem;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.25;
  margin-bottom: -12px;
}
.testimonial__text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--navy);
  line-height: 1.85;
  margin: 0 0 32px;
  quotes: none;
}
.testimonial__author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.testimonial__line {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 8px;
}
.testimonial__name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--navy);
}
.testimonial__role {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--text-body);
}

/* --- CTA Banner --- */
.cta-banner__trust {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--navy);
  opacity: 0.55;
  margin-top: 20px;
}
.cta-banner {
  background:
    radial-gradient(ellipse 65% 120% at 38% 50%, rgba(255,255,255,0.14) 0%, transparent 65%),
    repeating-linear-gradient(-45deg, transparent 0, transparent 20px, rgba(255,255,255,0.032) 20px, rgba(255,255,255,0.032) 21px),
    linear-gradient(130deg, #d4b94a 0%, #c9a84c 45%, #b48736 100%);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Decorative large letter */
.cta-banner::before {
  content: 'V';
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-55%);
  font-family: var(--font-serif);
  font-size: clamp(10rem, 18vw, 22rem);
  font-weight: 700;
  color: rgba(255,255,255,0.065);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

/* Thin decorative lines top + bottom */
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 20%, rgba(255,255,255,0.3) 80%, transparent 100%) 0 14px / 100% 1px no-repeat,
    linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.16) 20%, rgba(255,255,255,0.16) 80%, transparent 100%) 0 calc(100% - 14px) / 100% 1px no-repeat;
}

.cta-banner__title {
  font-family: var(--font-serif);
  color: var(--navy);
  font-size: 1.75rem;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.01em;
}

.cta-banner .btn--navy {
  background: linear-gradient(to right, var(--navy-light) 50%, var(--navy) 50%);
  background-size: 200% 100%;
  background-position: right center;
  color: var(--white);
  transition: background-position 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  z-index: 1;
}
.cta-banner .btn--navy:hover {
  background-position: left center;
}

/* --- Go To Top Button --- */
.go-top {
  position: fixed;
  bottom: 36px;
  right: 36px;
  z-index: 8888;
  width: 48px;
  height: 48px;
  background-color: var(--navy);
  border: 1px solid rgba(201,168,76,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease, background-color 0.25s ease, border-color 0.25s ease;
  pointer-events: none;
}
.go-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.go-top:hover {
  background-color: var(--gold);
  border-color: transparent;
}
.go-top svg {
  width: 18px;
  height: 18px;
  stroke: rgba(255,255,255,0.9);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.25s ease, transform 0.25s ease;
}
.go-top:hover svg {
  stroke: var(--navy);
  transform: translateY(-2px);
}

/* --- Cookie Banner --- */
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background-color: var(--navy);
  border-top: 2px solid var(--gold);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  animation: cookieBannerIn 0.5s 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.cb__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cb__text {
  font-family: var(--font-sans);
  color: var(--text-light);
  font-size: 0.85rem;
  line-height: 1.5;
  flex: 1;
}

.cb__text a {
  color: var(--gold);
  text-decoration: underline;
}

.cb__buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cb__btn {
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.cb__btn--accept {
  background: linear-gradient(to right, var(--gold-hover) 50%, var(--gold) 50%);
  background-size: 200% 100%;
  background-position: right center;
  color: var(--navy);
  transition: background-position 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cb__btn--accept:hover { background-position: left center; }

.cb__btn--reject {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--text-light);
}
.cb__btn--reject:hover { border-color: var(--gold); color: var(--gold); }

@media (max-width: 768px) {
  .cb__inner { flex-direction: column; text-align: center; }
  .cb__buttons { width: 100%; }
  .cb__btn { flex: 1; }
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-left.visible { opacity: 1; transform: translateX(0); }

.fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger delays for bento grid cards */
.svc-bento .fade-in:nth-child(1)  { transition-delay: 0.00s; }
.svc-bento .fade-in:nth-child(2)  { transition-delay: 0.08s; }
.svc-bento .fade-in:nth-child(3)  { transition-delay: 0.00s; }
.svc-bento .fade-in:nth-child(4)  { transition-delay: 0.08s; }
.svc-bento .fade-in:nth-child(5)  { transition-delay: 0.16s; }
.svc-bento .fade-in:nth-child(6)  { transition-delay: 0.00s; }
.svc-bento .fade-in:nth-child(7)  { transition-delay: 0.08s; }
.svc-bento .fade-in:nth-child(8)  { transition-delay: 0.00s; }
.svc-bento .fade-in:nth-child(9)  { transition-delay: 0.08s; }
.svc-bento .fade-in:nth-child(10) { transition-delay: 0.16s; }
.svc-bento .fade-in:nth-child(11) { transition-delay: 0.00s; }
.svc-bento .fade-in:nth-child(12) { transition-delay: 0.08s; }
.svc-bento .fade-in:nth-child(13) { transition-delay: 0.00s; }
.svc-bento .fade-in:nth-child(14) { transition-delay: 0.08s; }

/* Stagger for birojs stats */
.birojs-stats__grid .fade-in:nth-child(1) { transition-delay: 0.00s; }
.birojs-stats__grid .fade-in:nth-child(2) { transition-delay: 0.10s; }
.birojs-stats__grid .fade-in:nth-child(3) { transition-delay: 0.20s; }
.birojs-stats__grid .fade-in:nth-child(4) { transition-delay: 0.30s; }

/* Mobile: replace X-axis animations with Y to avoid horizontal overflow */
@media (max-width: 768px) {
  .fade-left, .fade-right {
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
  }
  .fade-left.visible, .fade-right.visible {
    transform: translateY(0);
  }
}

/* --- Contacts page hero — light variant --- */
.page-hero--light {
  background: var(--cream);
}
.page-hero--light .page-hero__title { color: var(--navy); }
.page-hero--light .page-hero__subtitle { color: var(--text-body); }
.page-hero--light .section-label { color: var(--navy); opacity: 0.55; }
.page-hero--light .divider { background: var(--gold); }

/* === FAQ Section === */
.faq {
  padding: 80px 0;
  background: var(--cream);
}
.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.faq__item {
  border-bottom: 1px solid rgba(26,39,68,0.1);
}
.faq__item:first-child {
  border-top: 1px solid rgba(26,39,68,0.1);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--navy);
  user-select: none;
  gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::marker { content: ""; font-size: 0; }
.faq__item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.faq__item[open] summary::after {
  transform: rotate(45deg);
}
.faq__answer {
  padding: 4px 0 22px;
  font-size: 0.93rem;
  line-height: 1.75;
  color: rgba(26,39,68,0.72);
  max-width: 700px;
}
.faq__answer a {
  color: var(--navy);
  text-decoration: underline;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .contact__grid { grid-template-columns: 1fr; }
  .services-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .navbar__links { display: none; }
  .navbar__burger { display: block; }
  .services__grid { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: 1fr 1fr; }
  .process__steps { grid-template-columns: 1fr; }
  .process-step { border-right: none; }
  .footer__inner { flex-direction: column; text-align: center; }
  .form__row { grid-template-columns: 1fr; }
  .hero__buttons { flex-direction: column; }
  .hero__buttons .btn { text-align: center; }
  .hero__meta { gap: 12px; }
  .hero__meta-item { padding-right: 16px; margin-right: 16px; }
}
