/* JurisVienna — Luxury Boutique Legal */
:root {
  --jv-dark: #1a1a2e;
  --jv-dark-light: #252540;
  --jv-dark-card: #2a2a45;
  --jv-gold: #d4af37;
  --jv-gold-light: #e8c860;
  --jv-burgundy: #722f37;
  --jv-burgundy-light: #8b3a44;
  --jv-text: #e8e6e3;
  --jv-text-muted: #a0a0b8;
  --jv-white: #ffffff;
  --jv-font: 'Cormorant Garamond', 'Georgia', serif;
  --jv-font-sans: 'Montserrat', 'Helvetica Neue', sans-serif;
  --jv-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --jv-radius: 4px;
  --jv-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--jv-font-sans);
  background-color: var(--jv-dark);
  color: var(--jv-text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--jv-font);
  font-weight: 500;
  line-height: 1.3;
  color: var(--jv-white);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

a {
  color: var(--jv-gold);
  text-decoration: none;
  transition: color var(--jv-transition);
}

a:hover {
  color: var(--jv-gold-light);
}

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

.jv-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header — Minimal */
.jv-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  transition: background var(--jv-transition);
}

.jv-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.jv-logo {
  font-family: var(--jv-font);
  font-size: 1.5rem;
  color: var(--jv-white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jv-logo span {
  color: var(--jv-gold);
}

.jv-nav {
  display: flex;
  gap: 32px;
  list-style: none;
}

.jv-nav a {
  color: var(--jv-text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  position: relative;
}

.jv-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--jv-gold);
  transition: width var(--jv-transition);
}

.jv-nav a:hover,
.jv-nav a.jv-active {
  color: var(--jv-gold);
}

.jv-nav a:hover::after,
.jv-nav a.jv-active::after {
  width: 100%;
}

.jv-burger {
  display: none;
  background: none;
  border: none;
  color: var(--jv-gold);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px;
}

/* Hero */
.jv-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  margin-top: 60px;
  overflow: hidden;
}

.jv-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.jv-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jv-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.92) 0%,
    rgba(26, 26, 46, 0.7) 50%,
    rgba(114, 47, 55, 0.4) 100%
  );
  z-index: 1;
}

.jv-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 80px 24px;
  margin: 0 auto 0 max(24px, calc((100% - 1200px) / 2 + 24px));
}

.jv-hero-tag {
  display: inline-block;
  color: var(--jv-gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--jv-gold);
}

.jv-hero h1 {
  margin-bottom: 24px;
}

.jv-hero p {
  font-size: 1.15rem;
  color: var(--jv-text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}

.jv-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--jv-font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  transition: all var(--jv-transition);
}

.jv-btn-primary {
  background: var(--jv-gold);
  color: var(--jv-dark);
}

.jv-btn-primary:hover {
  background: var(--jv-gold-light);
  color: var(--jv-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.jv-btn-outline {
  background: transparent;
  color: var(--jv-gold);
  border: 1px solid var(--jv-gold);
}

.jv-btn-outline:hover {
  background: var(--jv-gold);
  color: var(--jv-dark);
}

.jv-btn-burgundy {
  background: var(--jv-burgundy);
  color: var(--jv-white);
}

.jv-btn-burgundy:hover {
  background: var(--jv-burgundy-light);
}

/* Sections */
.jv-section {
  padding: 100px 0;
}

.jv-section-dark {
  background: var(--jv-dark-light);
}

.jv-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.jv-section-header .jv-label {
  color: var(--jv-gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
  display: block;
}

.jv-section-header p {
  color: var(--jv-text-muted);
  max-width: 600px;
  margin: 16px auto 0;
}

.jv-divider {
  width: 60px;
  height: 2px;
  background: var(--jv-gold);
  margin: 16px auto;
}

/* Cards Grid */
.jv-grid {
  display: grid;
  gap: 32px;
}

.jv-grid-2 { grid-template-columns: repeat(2, 1fr); }
.jv-grid-3 { grid-template-columns: repeat(3, 1fr); }

.jv-card {
  background: var(--jv-dark-card);
  border: 1px solid rgba(212, 175, 55, 0.1);
  overflow: hidden;
  transition: transform var(--jv-transition), box-shadow var(--jv-transition);
}

.jv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--jv-shadow);
}

.jv-card-img {
  height: 220px;
  overflow: hidden;
}

.jv-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.jv-card:hover .jv-card-img img {
  transform: scale(1.05);
}

.jv-card-body {
  padding: 28px;
}

.jv-card-body h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.jv-card-body p {
  color: var(--jv-text-muted);
  font-size: 0.95rem;
}

.jv-card-icon {
  color: var(--jv-gold);
  font-size: 1.6rem;
  margin-bottom: 16px;
}

/* Split Layout */
.jv-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.jv-split-img {
  position: relative;
}

.jv-split-img img {
  width: 100%;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.jv-split-img::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: 12px;
  border: 1px solid var(--jv-gold);
  z-index: -1;
}

.jv-split-content h2 {
  margin-bottom: 20px;
}

.jv-split-content p {
  color: var(--jv-text-muted);
  margin-bottom: 16px;
}

.jv-list {
  list-style: none;
  margin: 24px 0;
}

.jv-list li {
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
  color: var(--jv-text-muted);
}

.jv-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--jv-gold);
  font-size: 0.8rem;
}

/* Wealth Selector */
.jv-selector {
  background: var(--jv-dark-card);
  border: 1px solid rgba(212, 175, 55, 0.15);
  padding: 48px;
  max-width: 800px;
  margin: 0 auto;
}

.jv-selector-group {
  margin-bottom: 28px;
}

.jv-selector-group label {
  display: block;
  color: var(--jv-gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  font-weight: 600;
}

.jv-selector-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--jv-dark);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--jv-text);
  font-family: var(--jv-font-sans);
  font-size: 0.95rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23d4af37' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.jv-selector-group select:focus {
  outline: none;
  border-color: var(--jv-gold);
}

.jv-selector-result {
  margin-top: 36px;
  padding: 28px;
  background: rgba(114, 47, 55, 0.15);
  border-left: 3px solid var(--jv-burgundy);
  display: none;
}

.jv-selector-result.jv-visible {
  display: block;
}

.jv-selector-result h4 {
  color: var(--jv-gold);
  margin-bottom: 12px;
  font-family: var(--jv-font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.jv-selector-result p {
  color: var(--jv-text);
  line-height: 1.8;
}

.jv-selector-result .jv-structure-name {
  font-family: var(--jv-font);
  font-size: 1.4rem;
  color: var(--jv-white);
  margin-bottom: 12px;
}

/* Page Header */
.jv-page-header {
  padding: 140px 0 60px;
  text-align: center;
  background: linear-gradient(180deg, var(--jv-dark-light) 0%, var(--jv-dark) 100%);
  margin-top: 60px;
}

.jv-page-header .jv-label {
  color: var(--jv-gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
  display: block;
}

.jv-page-header p {
  color: var(--jv-text-muted);
  max-width: 600px;
  margin: 16px auto 0;
}

/* Forms */
.jv-form {
  max-width: 600px;
  margin: 0 auto;
}

.jv-form-group {
  margin-bottom: 24px;
}

.jv-form-group label {
  display: block;
  color: var(--jv-text-muted);
  font-size: 0.85rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.jv-form-group input,
.jv-form-group textarea,
.jv-form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--jv-dark);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--jv-text);
  font-family: var(--jv-font-sans);
  font-size: 0.95rem;
  transition: border-color var(--jv-transition);
}

.jv-form-group input:focus,
.jv-form-group textarea:focus,
.jv-form-group select:focus {
  outline: none;
  border-color: var(--jv-gold);
}

.jv-form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.jv-form-note {
  font-size: 0.8rem;
  color: var(--jv-text-muted);
  margin-top: 16px;
  text-align: center;
}

.jv-form-success {
  display: none;
  padding: 20px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--jv-gold);
  text-align: center;
  color: var(--jv-gold);
  margin-top: 20px;
}

.jv-form-success.jv-visible {
  display: block;
}

/* Contact Info */
.jv-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.jv-contact-item {
  text-align: center;
  padding: 36px 24px;
  background: var(--jv-dark-card);
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.jv-contact-item i {
  font-size: 1.8rem;
  color: var(--jv-gold);
  margin-bottom: 16px;
}

.jv-contact-item h4 {
  font-family: var(--jv-font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--jv-gold);
  margin-bottom: 8px;
}

.jv-contact-item p,
.jv-contact-item a {
  color: var(--jv-text-muted);
  font-size: 0.95rem;
}

/* About */
.jv-team-card {
  text-align: center;
  padding: 48px 32px;
  background: var(--jv-dark-card);
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.jv-team-card .jv-team-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto 24px;
  overflow: hidden;
  border: 2px solid var(--jv-gold);
}

.jv-team-card .jv-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jv-team-card h3 {
  margin-bottom: 4px;
}

.jv-team-card .jv-team-role {
  color: var(--jv-gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.jv-team-card p {
  color: var(--jv-text-muted);
  font-size: 0.95rem;
}

/* Stats */
.jv-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  padding: 60px 0;
}

.jv-stat-number {
  font-family: var(--jv-font);
  font-size: 2.8rem;
  color: var(--jv-gold);
  line-height: 1;
  margin-bottom: 8px;
}

.jv-stat-label {
  color: var(--jv-text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Privacy */
.jv-privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.jv-privacy-content h2 {
  margin: 40px 0 16px;
  font-size: 1.5rem;
}

.jv-privacy-content h3 {
  margin: 28px 0 12px;
  font-size: 1.2rem;
  color: var(--jv-gold);
}

.jv-privacy-content p,
.jv-privacy-content li {
  color: var(--jv-text-muted);
  margin-bottom: 12px;
}

.jv-privacy-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

/* Footer */
.jv-footer {
  background: var(--jv-dark-light);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  padding: 60px 0 30px;
}

.jv-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.jv-footer h4 {
  font-family: var(--jv-font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--jv-gold);
  margin-bottom: 20px;
}

.jv-footer p {
  color: var(--jv-text-muted);
  font-size: 0.9rem;
}

.jv-footer-links {
  list-style: none;
}

.jv-footer-links li {
  margin-bottom: 10px;
}

.jv-footer-links a {
  color: var(--jv-text-muted);
  font-size: 0.9rem;
}

.jv-footer-links a:hover {
  color: var(--jv-gold);
}

.jv-footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.jv-footer-bottom p {
  color: var(--jv-text-muted);
  font-size: 0.8rem;
}

/* Cookie Banner */
.jv-cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--jv-dark-card);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding: 20px 24px;
  display: none;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
}

.jv-cookie.jv-visible {
  display: block;
}

.jv-cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.jv-cookie p {
  color: var(--jv-text-muted);
  font-size: 0.9rem;
  flex: 1;
  min-width: 280px;
}

.jv-cookie p a {
  color: var(--jv-gold);
  text-decoration: underline;
}

.jv-cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.jv-cookie-actions .jv-btn {
  padding: 10px 24px;
  font-size: 0.8rem;
}

/* FAB Radial Menu */
.jv-fab-container {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9998;
}

.jv-fab-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 46, 0.6);
  z-index: 9997;
  opacity: 0;
  visibility: hidden;
  transition: all var(--jv-transition);
}

.jv-fab-overlay.jv-visible {
  opacity: 1;
  visibility: visible;
}

.jv-fab {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--jv-gold);
  color: var(--jv-dark);
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
  transition: all var(--jv-transition);
  position: relative;
  z-index: 9999;
}

.jv-fab:hover {
  background: var(--jv-gold-light);
  transform: scale(1.05);
}

.jv-fab.jv-open {
  background: var(--jv-burgundy);
  color: var(--jv-white);
  transform: rotate(45deg);
}

.jv-fab.jv-open:hover {
  background: var(--jv-burgundy-light);
}

.jv-fab-menu {
  position: absolute;
  bottom: 70px;
  right: 0;
  list-style: none;
}

.jv-fab-item {
  position: absolute;
  bottom: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(0.5);
}

.jv-fab-menu.jv-open .jv-fab-item {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.jv-fab-menu.jv-open .jv-fab-item:nth-child(1) {
  bottom: 70px;
  right: 0;
  transition-delay: 0.05s;
}

.jv-fab-menu.jv-open .jv-fab-item:nth-child(2) {
  bottom: 50px;
  right: 60px;
  transition-delay: 0.1s;
}

.jv-fab-menu.jv-open .jv-fab-item:nth-child(3) {
  bottom: 0;
  right: 80px;
  transition-delay: 0.15s;
}

.jv-fab-menu.jv-open .jv-fab-item:nth-child(4) {
  bottom: -50px;
  right: 60px;
  transition-delay: 0.2s;
}

.jv-fab-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--jv-dark-card);
  border: 1px solid var(--jv-gold);
  color: var(--jv-gold);
  font-size: 1.1rem;
  justify-content: center;
  transition: all var(--jv-transition);
  text-decoration: none;
  position: relative;
}

.jv-fab-link:hover {
  background: var(--jv-gold);
  color: var(--jv-dark);
}

.jv-fab-tooltip {
  position: absolute;
  right: 58px;
  white-space: nowrap;
  background: var(--jv-dark-card);
  color: var(--jv-text);
  padding: 6px 14px;
  font-size: 0.8rem;
  border: 1px solid rgba(212, 175, 55, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all var(--jv-transition);
  pointer-events: none;
}

.jv-fab-link:hover .jv-fab-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Service Detail */
.jv-service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 80px;
}

.jv-service-detail:nth-child(even) {
  direction: rtl;
}

.jv-service-detail:nth-child(even) > * {
  direction: ltr;
}

.jv-service-detail-img img {
  width: 100%;
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.jv-service-detail-content h3 {
  margin-bottom: 16px;
}

.jv-service-detail-content p {
  color: var(--jv-text-muted);
  margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 992px) {
  .jv-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .jv-split { grid-template-columns: 1fr; gap: 40px; }
  .jv-footer-grid { grid-template-columns: 1fr 1fr; }
  .jv-stats { grid-template-columns: repeat(2, 1fr); }
  .jv-contact-grid { grid-template-columns: 1fr; }
  .jv-service-detail { grid-template-columns: 1fr; }
  .jv-service-detail:nth-child(even) { direction: ltr; }
}

@media (max-width: 768px) {
  .jv-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--jv-dark);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  }

  .jv-nav.jv-open { display: flex; }

  .jv-burger { display: block; }

  .jv-grid-2,
  .jv-grid-3 { grid-template-columns: 1fr; }

  .jv-hero-content {
    margin: 0 auto;
    text-align: center;
    padding: 60px 24px;
  }

  .jv-hero p { margin-left: auto; margin-right: auto; }

  .jv-selector { padding: 28px; }

  .jv-footer-grid { grid-template-columns: 1fr; }

  .jv-fab-container { bottom: 20px; right: 20px; }

  .jv-cookie-inner { flex-direction: column; text-align: center; }
}
