/* ═══════════════════════════════════
   CHI SIAMO — page-specific styles
   Estratto da chi-siamo.html originale
═══════════════════════════════════ */

/* ── STORIA ── */
.story-sec { overflow: clip; }
.story-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; min-height: 520px;
}
.story-visual {
  position: relative; overflow: hidden;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.story-visual-inner {
  text-align: center; padding: 3rem;
  position: relative; z-index: 1;
}
.story-visual::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(31,31,128,.25) 0%, var(--navy) 70%);
}
.story-logo {
  width: 120px; height: 120px; object-fit: contain;
  border-radius: 50%; background: #fff; padding: 8px;
  box-shadow: 0 0 0 1px rgba(82,82,204,.2), 0 8px 40px rgba(0,0,30,.5);
  margin: 0 auto 1.5rem;
}
.story-est {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-style: italic;
  color: rgba(255,255,255,.3); letter-spacing: .1em;
}
.story-content {
  padding: clamp(2.5rem,4vw,4.5rem) clamp(1.5rem,4vw,3.5rem);
  display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(ellipse at 80% 20%, rgba(31,31,128,.1) 0%, transparent 60%), var(--ink);
}
.story-p {
  font-size: .88rem; line-height: 2.1;
  color: rgba(255,255,255,.58); font-weight: 300;
  margin-bottom: 1.2rem;
}
.story-p strong { color: var(--mist); font-weight: 500; }
.story-p:last-of-type { margin-bottom: 0; }

@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-visual { min-height: 280px; }
}

/* ── NUMBERS ── */
.nums {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--gbr);
  border-bottom: 1px solid var(--gbr);
}
.num-item {
  text-align: center;
  padding: clamp(2rem,4vw,3.5rem) 1rem;
  border-right: 1px solid var(--gbr);
  background: var(--ink); cursor: default;
  transition: background .35s;
}
.num-item:last-child { border-right: none; }
.num-item:hover { background: rgba(14,14,72,.3); }
.num-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem,5vw,3.5rem);
  font-weight: 300; color: var(--gold2);
  line-height: 1; margin-bottom: .4rem;
}
.num-val sup { font-size: .5em; color: var(--gold); }
.num-label {
  font-size: .54rem; letter-spacing: .24em;
  text-transform: uppercase; color: rgba(255,255,255,.35);
}

@media (max-width: 700px) {
  .nums { grid-template-columns: 1fr 1fr; }
  .num-item:nth-child(2) { border-right: none; }
  .num-item { border-bottom: 1px solid var(--gbr); }
  .num-item:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 400px) {
  .nums { grid-template-columns: 1fr; }
  .num-item { border-right: none; }
}

/* ── CAPITANO ── */
.cap-sec { overflow: clip; }
.cap-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; min-height: 560px;
}
.cap-visual {
  position: relative; overflow: hidden;
  background: var(--navy); display: flex; flex-direction: column;
}
.cap-photo-area {
  flex: 1; display: flex; align-items: center;
  justify-content: center; position: relative;
}
.cap-photo-area::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(31,31,128,.3) 0%, var(--navy) 70%);
}
.cap-placeholder {
  position: relative; z-index: 1;
  color: rgba(255,255,255,.15); text-align: center; padding: 2rem;
}
.cap-placeholder svg { width: 80px; height: 80px; margin: 0 auto .8rem; }
.cap-placeholder p { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; }
.cap-quote-strip {
  background: rgba(229,179,64,.06);
  border-top: 1px solid rgba(229,179,64,.15);
  padding: 1.5rem 2rem;
}
.cap-quote-strip p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: .95rem;
  line-height: 1.7; color: rgba(255,255,255,.55);
}
.cap-quote-strip cite {
  display: block; margin-top: .5rem;
  font-style: normal; font-family: 'DM Sans', sans-serif;
  font-size: .52rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold);
}
.cap-content {
  padding: clamp(2.5rem,4vw,4.5rem) clamp(1.5rem,4vw,3.5rem);
  display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(ellipse at 20% 80%, rgba(31,31,128,.1) 0%, transparent 60%), var(--ink);
}
.cap-p {
  font-size: .88rem; line-height: 2.1;
  color: rgba(255,255,255,.58); font-weight: 300;
  margin-bottom: 1.2rem;
}
.cap-p strong { color: var(--mist); font-weight: 500; }
.cap-certs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.cert {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 16px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.05);
  font-size: .58rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.82); cursor: default;
  transition: border-color .3s, color .3s, background .3s;
}
.cert::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--per); flex-shrink: 0;
}
.cert:hover { border-color: rgba(136,136,224,.6); color: #fff; background: rgba(82,82,204,.12); }

@media (max-width: 860px) {
  .cap-grid { grid-template-columns: 1fr; }
}

/* ── VALORI ── */
.val-sec {
  padding: clamp(3.5rem,8vw,8rem) clamp(1.2rem,5vw,4rem);
  background: radial-gradient(ellipse at 50% 0%, rgba(31,31,128,.12) 0%, transparent 55%), var(--deep);
  overflow: clip;
}
.val-grid {
  max-width: 1200px; margin: 2rem auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
}
@media (max-width: 700px) { .val-grid { grid-template-columns: 1fr; } }
.val-card {
  padding: 2.5rem 2rem; position: relative;
  overflow: hidden; background: rgba(14,14,72,.22);
  border: 1px solid var(--gbr); cursor: default;
  transition: background .35s, border-color .35s;
}
.val-card:hover { background: rgba(31,31,128,.2); border-color: rgba(82,82,204,.2); }
.val-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transition: transform .5s;
}
.val-card:hover::before { transform: scaleX(1); }
.val-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 300; font-style: italic;
  color: rgba(255,255,255,.04); line-height: 1; margin-bottom: .8rem;
}
.val-t {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; color: var(--white);
  margin-bottom: .6rem; font-weight: 400;
}
.val-d { font-size: .74rem; line-height: 1.9; color: rgba(255,255,255,.48); font-weight: 300; }

/* ── BARCA ── */
.boat-sec { overflow: clip; border-top: 1px solid var(--gbr); border-bottom: 1px solid var(--gbr); }
.boat-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; min-height: 480px;
}
.boat-visual {
  position: relative; overflow: hidden;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.boat-visual::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(31,31,128,.3) 0%, var(--navy) 70%);
}
.boat-visual img {
  width: 100%; height: 100%; object-fit: cover;
  position: relative; z-index: 1;
}
.boat-placeholder {
  position: relative; z-index: 1;
  color: rgba(255,255,255,.15); text-align: center; padding: 2rem;
}
.boat-placeholder svg { width: 80px; margin: 0 auto .8rem; fill: currentColor; opacity: .4; }
.boat-placeholder p { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; }
.boat-content {
  padding: clamp(2.5rem,4vw,4.5rem) clamp(1.5rem,4vw,3.5rem);
  display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(ellipse at 80% 20%, rgba(31,31,128,.1) 0%, transparent 60%), var(--ink);
}
.boat-p {
  font-size: .88rem; line-height: 2.1;
  color: rgba(255,255,255,.58); font-weight: 300;
  margin-bottom: 1.2rem;
}
.boat-p strong { color: var(--mist); font-weight: 500; }
.boat-specs {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: .4rem; margin-top: .5rem;
}
.boat-spec {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--r); background: rgba(255,255,255,.05);
  font-size: .62rem; letter-spacing: .1em;
  color: rgba(255,255,255,.82); cursor: default;
  transition: border-color .3s;
}
.boat-spec:hover { border-color: rgba(82,82,204,.4); }
.boat-spec::before {
  content: ''; width: 5px; height: 5px;
  border-radius: 50%; background: var(--vi); flex-shrink: 0;
}
.boat-spec.gold::before { background: var(--gold); }

@media (max-width: 860px) {
  .boat-grid { grid-template-columns: 1fr; }
  .boat-visual { min-height: 260px; }
}
@media (max-width: 500px) { .boat-specs { grid-template-columns: 1fr; } }

/* ── TIMELINE ── */
.tl-sec {
  padding: clamp(3.5rem,8vw,8rem) clamp(1.2rem,5vw,4rem);
  background: var(--ink); overflow: clip;
}
.tl-wrap {
  max-width: 700px; margin: 2rem auto 0;
  position: relative; padding-left: 2.5rem;
}
.tl-wrap::before {
  content: ''; position: absolute; left: 8px;
  top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, var(--gold), rgba(229,179,64,.08));
}
.tl-item { position: relative; padding: 0 0 2.5rem 1.5rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ''; position: absolute; left: -2.5rem; top: .35rem;
  width: 17px; height: 17px; border-radius: 50%;
  border: 2px solid var(--gold); background: var(--ink);
  transition: background .3s;
}
.tl-item:hover::before { background: var(--gold); }
.tl-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; color: var(--gold2);
  font-weight: 300; line-height: 1; margin-bottom: .3rem;
}
.tl-text {
  font-size: .78rem; line-height: 1.9;
  color: rgba(255,255,255,.5); font-weight: 300;
}
