/* Shared yacht ownership page */

.shared-stats {
  background: var(--navy-950);
  color: #fff;
}

.shared-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 2.4rem 0;
}

.shared-stats__grid > div {
  display: grid;
  gap: 0.35rem;
  justify-items: center;
  text-align: center;
  padding: 0 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.shared-stats__grid > div:first-child {
  border-left: 0;
}

.shared-stats strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  color: var(--teal-500);
}

.shared-stats span {
  color: #c8d7e1;
  font-size: 0.9rem;
}

.shared-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.shared-split h2 {
  color: var(--navy-950);
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.12;
  margin: 0.6rem 0 1.1rem;
}

.shared-split p {
  color: #4a5d6e;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.shared-quote {
  margin-top: 1.6rem;
  padding-left: 1.2rem;
  border-left: 3px solid var(--teal-500);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  color: var(--navy-900) !important;
}

.shared-compare-cards {
  display: grid;
  gap: 1rem;
}

.shared-card {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.shared-card h3 {
  color: var(--navy-950);
  font-size: 1.3rem;
  margin-bottom: 0.9rem;
}

.shared-card--accent {
  background: var(--navy-900);
  border-color: transparent;
}

.shared-card--accent h3,
.shared-card--accent .shared-list li {
  color: #fff;
}

.shared-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
}

.shared-list li {
  position: relative;
  padding-left: 1.6rem;
  color: #33475a;
  line-height: 1.5;
}

.shared-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal-500);
  font-weight: 800;
}

.shared-list--minus li::before {
  content: "—";
  color: #9aa9b5;
}

/* Fleet */

.shared-boats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 2.4rem;
}

.shared-boat {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.shared-boat__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dce7e9;
}

.shared-boat__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.shared-boat:hover .shared-boat__media img {
  transform: scale(1.035);
}

.shared-boat__length {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(8, 26, 45, 0.82);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.shared-boat__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.6rem;
}

.shared-boat__type {
  color: var(--teal-700);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.shared-boat__body h3 {
  margin: 0.55rem 0 0.6rem;
  color: var(--navy-950);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  line-height: 1.15;
}

.shared-boat__body > p:not(.shared-boat__type) {
  color: #4a5d6e;
  line-height: 1.65;
}

.shared-boat__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 1.3rem 0 1.4rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.shared-boat__facts dt {
  color: #6b7d8c;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.shared-boat__facts dd {
  margin: 0.25rem 0 0;
  color: var(--navy-950);
  font-weight: 800;
}

.shared-boat__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: auto;
}

.shared-note {
  margin-top: 1.4rem;
  color: #6b7d8c !important;
  font-size: 0.85rem;
  line-height: 1.6;
}

.shared-fleet .shared-note,
.shared-comparison .shared-note {
  text-align: center;
}

.shared-note a {
  color: var(--teal-700);
  font-weight: 700;
}

/* Structure */

.shared-bar {
  display: flex;
  gap: 4px;
  margin-bottom: 1.6rem;
  border-radius: 12px;
  overflow: hidden;
}

.shared-bar span {
  padding: 1rem 0.6rem;
  background: var(--teal-600);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.shared-bar span:first-child {
  background: var(--navy-900);
}

/* Tables */

.shared-table-wrap {
  overflow-x: auto;
  margin-top: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.shared-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.shared-table th,
.shared-table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  color: #33475a;
}

.shared-table thead th {
  background: var(--navy-900);
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shared-table tbody th {
  color: var(--navy-950);
}

.shared-table tr:last-child th,
.shared-table tr:last-child td {
  border-bottom: 0;
}

.shared-table .is-total th,
.shared-table .is-total td {
  font-weight: 800;
  color: var(--navy-950);
  background: var(--sand-100);
}

.shared-comparison .shared-table td:last-child {
  color: var(--teal-700);
  font-weight: 700;
}

.shared-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.shared-points article {
  padding: 1.4rem;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--line);
}

.shared-points h3 {
  color: var(--navy-950);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.shared-points p {
  color: #4a5d6e;
  line-height: 1.6;
}

/* Economics */

.shared-sum {
  display: grid;
  margin: 0;
}

.shared-sum > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.shared-sum dt {
  color: #4a5d6e;
}

.shared-sum dd {
  margin: 0;
  color: var(--navy-950);
  font-weight: 700;
}

.shared-sum .is-total dt,
.shared-sum .is-total dd {
  color: var(--navy-950);
  font-weight: 800;
}

.shared-sum .is-highlight {
  margin-top: 0.8rem;
  padding: 1rem;
  border: 0;
  border-radius: 12px;
  background: var(--navy-900);
}

.shared-sum .is-highlight dt,
.shared-sum .is-highlight dd {
  color: #fff;
  font-weight: 800;
}

.shared-sum .is-highlight dd {
  color: var(--teal-500);
}

.shared-disclaimer {
  padding: 1.6rem 0 2.4rem;
  color: #6b7d8c;
  font-size: 0.78rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .shared-split,
  .shared-boats,
  .shared-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .shared-stats__grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .shared-stats__grid > div {
    border-left: 0;
  }

  .shared-boat__facts {
    grid-template-columns: 1fr 1fr;
  }

  .shared-bar span {
    font-size: 0.66rem;
    padding: 0.8rem 0.3rem;
  }
}
