/* ============================================================
   HOME PAGE STYLES
   Additional CSS for index.html — sections below the hero
   ============================================================ */


/* ---- Identity / Brand Statement -------------------------- */

.identity-section {
  padding: 96px 0;
  text-align: center;
}

.identity-inner {
  max-width: 720px;
  margin: 0 auto;
}

.identity-section .section-label {
  color: var(--gold);
}

.identity-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: var(--bg-white);
  margin: 12px 0 28px;
  line-height: 1.2;
}

.identity-section .lead {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 40px;
}

.identity-cta {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold);
  border: 1px solid rgba(176, 141, 87, 0.45);
  padding: 13px 32px;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  text-decoration: none;
}

.identity-cta:hover {
  background: var(--gold);
  color: var(--bg-white);
  border-color: var(--gold);
}


/* ---- Who We Are ------------------------------------------ */

.who-section {
  padding: 100px 0 80px;
  background: var(--bg-light);
}

.who-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.who-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 16px;
}

.who-sub {
  font-size: 1.05rem;
  color: var(--slate);
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: 0;
}

.who-transition {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
  margin-top: 48px;
  margin-bottom: 28px;
}

.who-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.who-pillar {
  background: var(--bg-white);
  padding: 36px 32px;
  border-top: 2px solid var(--border);
  transition: border-top-color 0.3s;
}

.who-pillar:hover {
  border-top-color: var(--gold);
}

.who-pillar-icon {
  color: var(--navy);
  margin-bottom: 20px;
  opacity: 0.5;
}

.who-pillar h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.who-pillar p {
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.6;
}

.who-metrics {
  display: flex;
  gap: 56px;
  margin-bottom: 40px;
  padding-top: 8px;
}

.who-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.who-metric strong {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1;
}

.who-metric span {
  font-size: 0.78rem;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.who-closing {
  font-size: 0.9rem;
  color: var(--grey);
  font-weight: 500;
}

@media (max-width: 768px) {
  .who-section { padding: 64px 0 48px; }
  .who-pillars { grid-template-columns: 1fr; gap: 16px; }
  .who-metrics { flex-direction: column; gap: 24px; }
  .who-secondary-list { flex-direction: column; gap: 8px; }
}


/* ---- What We Seek ---------------------------------------- */

/* ---- Investment Parameters — Institutional Redesign ---------- */
/* Palette overrides for this section only:
   --seek-gold:   #C8A75E  (10% più luminoso del global --gold)
   --seek-text:   #F2F4F7  (bianco leggermente caldo, massimo contrasto)
   --seek-muted:  rgba(242,244,247, 0.58) — soglia minima leggibilità
   --seek-rule:   rgba(242,244,247, 0.17) — linee 17% opacità (range 15–20%)
*/

.seek-section {
  padding: 120px 0;                   /* +20px vs --section-py: più respiro */
  background: var(--navy);
}

.seek-inner {
  display: grid;
  grid-template-columns: 60fr 40fr;   /* 60/40 — destra più ariosa */
  gap: 0;
  align-items: start;
}

.seek-section .section-label {
  color: #C8A75E;
  margin-bottom: 14px;
  letter-spacing: 0.14em;
}

/* Headline: 56–64px sul viewport standard 1440px */
.seek-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 4.5vw, 4rem);   /* ≈ 45px → 64px */
  font-weight: 400;
  color: #F2F4F7;
  line-height: 1.1;
  margin-bottom: 52px;                      /* ampio respiro sotto il titolo */
  letter-spacing: -0.02em;
}

/* Block labels: FINANCIAL THRESHOLD / QUALITATIVE PROFILE */
.seek-block-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C8A75E;
  margin: 0 0 16px;
}

/* Hard criteria — tabella con tab stop preciso */
.seek-criteria-hard {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.seek-criterion {
  display: flex;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid rgba(242, 244, 247, 0.17);
}

.seek-criterion:last-child {
  border-bottom: none;
}

/* Valore: Inter SemiBold, 17px, bianco pieno — massima leggibilità */
.seek-criterion-value {
  font-family: var(--font-body);
  font-size: 1.0625rem;               /* 17px */
  font-weight: 600;
  color: #F2F4F7;
  min-width: 140px;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

/* Label colonna destra: muted ma leggibile — mai sotto 58% */
.seek-criterion-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(242, 244, 247, 0.58);
}

/* Divisore hard/soft: 1px, 17% opacità */
.seek-divider {
  margin: 40px 0 28px;
  border: none;
  border-top: 1px solid rgba(242, 244, 247, 0.17);
}

/* Soft criteria: leggibili (58% min), non in competizione */
.seek-list-soft {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}

.seek-list-soft li {
  font-size: 0.9rem;                  /* 14.4px: leggibile, subordinato */
  color: rgba(242, 244, 247, 0.60);
  padding: 7px 0 7px 20px;
  line-height: 1.6;
  position: relative;
}

.seek-list-soft li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #C8A75E;
  font-size: 0.75em;
  top: 9px;
  line-height: 1;
}

/* Metadata secondaria: Geography + Sectors — ridotti, subordinati */
.seek-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(242, 244, 247, 0.17);
}

.seek-meta-item {
  display: flex;
  gap: 16px;
  align-items: baseline;
}

/* Label geography/sectors: piccolo, gold, non invade */
.seek-label {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C8A75E;
  white-space: nowrap;
  min-width: 72px;
  flex-shrink: 0;
}

/* Valore geography/sectors: ancora più muted — è metadata */
.seek-value {
  font-size: 0.78rem;
  color: rgba(242, 244, 247, 0.50);
  line-height: 1.5;
}

.seek-link {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: #C8A75E;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color 0.2s;
}

.seek-link:hover {
  color: #F2F4F7;
}

/* ---- Colonna destra: numeri come ancore visive assolute ---------- */
.seek-visual {
  display: flex;
  flex-direction: column;
  padding-left: 56px;
  padding-top: 52px;                  /* allinea primo numero col titolo heading */
  border-left: 1px solid rgba(242, 244, 247, 0.17);
  margin-left: 0;
}

.seek-stat {
  padding: 44px 0;                    /* generoso — colonna destra ariosa */
  border-bottom: 1px solid rgba(242, 244, 247, 0.17);
}

.seek-stat:first-child {
  padding-top: 0;
}

.seek-stat:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Numero: Cormorant Garamond Regular, 72–90px — dominante assoluto */
.seek-stat strong {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 6.2vw, 5.6rem);   /* ≈ 72px → 90px */
  font-weight: 400;
  color: #F2F4F7;
  display: block;
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}

/* Label: gold uppercase compatta — descrittiva ma in background */
.seek-stat span {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #C8A75E;
  line-height: 1.6;
}


/* ---- The Searcher ---------------------------------------- */

.searcher-section {
  padding: var(--section-py) 0;
}

.searcher-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  align-items: start;
}

.searcher-section .section-label {
  color: var(--gold);
}

.searcher-label h2 {
  color: var(--navy);
  margin-bottom: 14px;
}

.searcher-section .lead {
  color: var(--grey);
  margin-bottom: 32px;
}

.searcher-link {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.25s;
}

.searcher-link:hover {
  color: var(--gold);
}

.searcher-points {
  padding-top: 4px;
}

.searcher-point {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.searcher-point:last-child {
  border-bottom: none;
}

.searcher-dash {
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
  padding-top: 3px;
  line-height: 1.65;
}

.searcher-point p {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.65;
  margin: 0;
  max-width: none;
}


/* ---- Value Creation -------------------------------------- */

.vc-section {
  padding: 100px 0 88px;
  overflow: hidden;
  position: relative;
  background: #0B1121;
}

/* Background image — texture only */
.vc-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/milan-bg.jpg') center center / cover no-repeat;
  filter: saturate(0.35) brightness(0.65) blur(4px);
  z-index: 0;
}

/* Navy overlay 93% */
.vc-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(11, 17, 33, 0.96) 0%,
    rgba(11, 17, 33, 0.94) 30%,
    rgba(11, 17, 33, 0.94) 70%,
    rgba(11, 17, 33, 0.96) 100%);
  z-index: 1;
}

.vc-section > .container {
  position: relative;
  z-index: 2;
}

.vc-section .services-header {
  margin-bottom: 52px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(176, 141, 87, 0.15);
}

.vc-section .section-label {
  color: var(--gold);
}

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

.vc-section .section-subtitle {
  color: rgba(255, 255, 255, 0.5);
}

.vc-pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(176, 141, 87, 0.30);
  position: relative;
}

/* Bottom anchoring shadow */
.vc-pillars::before {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -5%;
  right: -5%;
  height: 80px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.25) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.vc-pillar {
  position: relative;
  background: linear-gradient(180deg, #0B1121 0%, #070C18 100%);
  padding: 28px 32px 44px;
  min-height: 440px;
  display: grid;
  grid-template-rows: 60px 3.6em 1fr auto;
  overflow: hidden;
  transition: background 0.5s ease, box-shadow 0.5s ease;
}

/* Gold top bar on hover */
.vc-pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: var(--gold);
  transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 2;
}

/* Soft glow on hover */
.vc-pillar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(180deg, rgba(176, 141, 87, 0) 0%, rgba(176, 141, 87, 0) 100%);
  transition: background 0.5s ease;
  pointer-events: none;
  z-index: 0;
}

.vc-pillar:hover {
  background: #0D1322;
  box-shadow: 0 0 60px rgba(176, 141, 87, 0.08);
  z-index: 4;
}

.vc-pillar:hover::before {
  width: 100%;
}

.vc-pillar:hover::after {
  background: linear-gradient(180deg, rgba(176, 141, 87, 0.06) 0%, rgba(176, 141, 87, 0) 100%);
}

/* Numbers: grid row 1 = 108px */
.vc-pillar-num {
  font-family: var(--font-heading);
  font-size: 10.5rem;
  font-weight: 300;
  color: rgba(176, 141, 87, 0.07);
  letter-spacing: -0.01em;
  line-height: 0.8;
  overflow: hidden;
  margin: 0 0 0 -3px;
  align-self: start;
  position: relative;
  z-index: 1;
  transition: color 0.5s ease;
  user-select: none;
}

.vc-pillar:hover .vc-pillar-num {
  color: rgba(176, 141, 87, 0.18);
}

/* Title: grid row 2 = 3.6em — all titles start at exact same pixel */
.vc-pillar h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  align-self: start;
  line-height: 1.22;
  letter-spacing: -0.015em;
  position: relative;
  z-index: 1;
  transition: color 0.4s ease;
}

.vc-pillar:hover h3 {
  color: #fff;
}

.vc-pillar p {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.75;
  flex: 1;
  margin: 0 0 28px 0;
  max-width: 300px;
  position: relative;
  z-index: 1;
  transition: color 0.4s ease;
}

.vc-pillar:hover p {
  color: rgba(255, 255, 255, 0.75);
}

.vc-pillar-link {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  margin-top: auto;
  display: inline-block;
  position: relative;
  z-index: 1;
  padding-bottom: 4px;
  flex-shrink: 0;
  transition: color 0.3s ease;
}

/* Animated underline on hover */
.vc-pillar-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.vc-pillar:hover .vc-pillar-link::after,
.vc-pillar-link:hover::after {
  width: 100%;
}

.vc-pillar-link:hover {
  color: #dfc489;
}

/* Staggered entrance */
@keyframes pillarFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.vc-pillar {
  animation: pillarFadeUp 0.6s ease both;
}

.vc-pillar:nth-child(1) { animation-delay: 0.05s; }
.vc-pillar:nth-child(2) { animation-delay: 0.13s; }
.vc-pillar:nth-child(3) { animation-delay: 0.21s; }
.vc-pillar:nth-child(4) { animation-delay: 0.29s; }
.vc-pillar:nth-child(5) { animation-delay: 0.37s; }


/* ---- Responsive (homepage) ------------------------------- */

@media (max-width: 1200px) {
  .vc-pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .searcher-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .who-pillars {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .vc-pillars {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .vc-pillars {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   HERO LOGO — CS Holding wordmark on editorial cream plaque.
   The logo has navy C + grey S + dark frame. On the 78% dark hero
   overlay those colours would vanish, so we place the logo on a
   semi-transparent cream panel that keeps the original brand colours
   readable while the dark video still shows around it.
   ============================================================ */

.panel-question--logo {
  /* Neutralise text-specific styles inherited from .panel-question */
  font-size: 0 !important;
  line-height: 0 !important;
  letter-spacing: 0 !important;
  font-style: normal !important;
  /* Block element centred inside .panel-content via text-align + auto margins */
  display: block;
  text-align: center;
  margin: 0 auto 40px !important;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  /* Subtle fade-in on load */
  opacity: 0;
  transform: translateY(10px);
  animation: heroLogoIn 1.1s ease-out 0.25s forwards;
}

.hero-logo {
  display: block;
  margin: 0 auto;            /* horizontal centre inside the parent block */
  width: 100%;
  max-width: 300px;
  height: auto;
  /* Pure white monochrome logo on the dark hero — matches the editorial
     Cormorant italic treatment used elsewhere on the page. */
  filter:
    brightness(0) invert(1)
    drop-shadow(0 2px 14px rgba(0, 0, 0, 0.45));
}

@keyframes heroLogoIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 768px) {
  .panel-question--logo {
    margin: 0 auto 30px !important;
  }
  .hero-logo {
    max-width: 220px;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    max-width: 180px;
  }
}
