/* ===========================================
   GST REAL ESTATE · Design System
   Palette: avorio · blu inchiostro · bordeaux · oro champagne
   =========================================== */

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

:root {
  --ivory: #faf7f2;
  --ivory-soft: #f3ede2;
  --ivory-warm: #f0e9d8;
  --ink: #1c2a4e;
  --ink-soft: #2a3a64;
  --ink-deep: #131f3b;
  --bordeaux: #6b1d2e;
  --bordeaux-soft: #8a2a3d;
  --gold: #c9a961;
  --gold-soft: #d9bd80;
  --gold-deep: #a88a45;
  --text: #1c2a4e;
  --text-muted: #5a6480;
  --text-light: #8a92a8;
  --line: #d8d2c4;
  --line-soft: #e8e2d4;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --container: 1240px;
  --container-narrow: 920px;

  --shadow-sm: 0 4px 16px rgba(28, 42, 78, 0.06);
  --shadow-md: 0 12px 32px rgba(28, 42, 78, 0.08);
  --shadow-lg: 0 24px 64px rgba(28, 42, 78, 0.12);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "ss02";
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--bordeaux); }

::selection { background: var(--gold); color: var(--ink); }

/* ===== UTILITY ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 32px; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bordeaux);
  display: inline-block;
  margin-bottom: 24px;
  position: relative;
  padding-left: 36px;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 1px;
  background: var(--bordeaux);
}

.eyebrow-gold { color: var(--gold-deep); }
.eyebrow-gold::before { background: var(--gold-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 300; letter-spacing: -0.02em; }
h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 300; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 400; }
h4 { font-size: 1.35rem; font-weight: 500; }

em { font-style: italic; color: var(--bordeaux); }
.gold-italic { font-style: italic; color: var(--gold-deep); }

p { color: var(--text-muted); line-height: 1.75; }
.lead { font-size: 1.15rem; line-height: 1.7; color: var(--ink-soft); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  border: none;
  font-family: var(--font-body);
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: var(--ivory);
}
.btn-primary:hover {
  background: var(--bordeaux);
  color: var(--ivory);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--ivory);
}

.btn-gold {
  background: var(--gold);
  color: var(--ink-deep);
  font-weight: 700;
}
.btn-gold:hover {
  background: var(--ink-deep);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-trust {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-trust-item {
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.hero-trust-item::first-letter {
  color: var(--gold);
  font-weight: 700;
}

.btn-ghost-light {
  background: transparent;
  color: var(--ivory);
  border: 1px solid var(--gold);
}
.btn-ghost-light:hover {
  background: var(--gold);
  color: var(--ink);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bordeaux);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--bordeaux);
  padding-bottom: 4px;
  transition: all 0.3s var(--ease);
}
.btn-link:hover {
  color: var(--ink);
  border-color: var(--ink);
  gap: 14px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
  z-index: 1000;
  transition: all 0.3s ease;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.brand-mark { color: var(--bordeaux); font-style: italic; padding: 0 4px; }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--bordeaux); }

.lang-switch {
  display: flex;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.14em;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}
.lang-switch a { padding: 0 4px; }
.lang-switch a.active { color: var(--bordeaux); }

.menu-toggle { display: none; }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 180px 0 120px;
  background: var(--ivory);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -10%; right: -15%;
  width: 70%;
  height: 120%;
  background: radial-gradient(ellipse at top right, rgba(201, 169, 97, 0.1) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%; left: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(circle, rgba(107, 29, 46, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-content h1 { margin-bottom: 32px; }
.hero-content .lead {
  margin-bottom: 16px;
  max-width: 540px;
}
.hero-content .lead-secondary {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 40px;
  padding-left: 20px;
  border-left: 2px solid var(--gold);
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-deep) 100%);
  overflow: hidden;
}
.hero-visual::after {
  content: 'GST';
  position: absolute;
  bottom: 32px;
  right: 40px;
  font-family: var(--font-display);
  font-size: 9rem;
  font-weight: 300;
  font-style: italic;
  color: var(--gold);
  opacity: 0.16;
  line-height: 1;
}
.hero-visual-inner {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(201, 169, 97, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 28px;
  padding: 48px 40px;
}
.hero-visual-cta {
  position: relative;
  z-index: 2;
  display: inline-block;
  align-self: flex-start;
  background: var(--gold);
  color: var(--ink-deep);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 14px 26px;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}
.hero-visual-cta:hover {
  background: var(--ivory);
  transform: translateY(-2px);
}
.hero-visual-corner {
  position: absolute;
  top: 32px; left: 40px;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
}
.hero-quote {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--ivory);
  line-height: 1.4;
  position: relative;
  z-index: 2;
  font-weight: 300;
}
.hero-quote-author {
  display: block;
  margin-top: 20px;
  font-family: var(--font-body);
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 600;
}

/* ===== PATHWAYS ===== */
.pathways {
  padding: 120px 0;
  background: var(--ivory-soft);
}
.pathway-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 72px;
}
.pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pathway-card {
  background: var(--ivory);
  padding: 56px 40px;
  border: 1px solid var(--line-soft);
  position: relative;
  transition: all 0.5s var(--ease);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  overflow: hidden;
}
.pathway-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.pathway-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.pathway-card:hover::before { transform: scaleX(1); }
.pathway-number {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 300;
  font-style: italic;
  color: var(--gold-deep);
  line-height: 1;
  margin-bottom: 32px;
  opacity: 0.6;
}
.pathway-card h3 { margin-bottom: 20px; }
.pathway-card p {
  margin-bottom: 32px;
  flex: 1;
  font-size: 0.97rem;
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 140px 0;
  position: relative;
}
.section-header {
  margin-bottom: 72px;
  max-width: 760px;
}
.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-header h2 { margin-bottom: 24px; }
.section-header p {
  font-size: 1.08rem;
  line-height: 1.75;
}

.section-ink {
  background: var(--ink);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
.section-ink::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.section-ink h1, .section-ink h2, .section-ink h3, .section-ink h4 {
  color: var(--ivory);
}
.section-ink p { color: rgba(250, 247, 242, 0.92); }
.section-ink .eyebrow { color: var(--gold); }
.section-ink .eyebrow::before { background: var(--gold); }
.section-ink em { color: var(--gold); }

/* ===== EXPRESS SERVICES (privati piccoli) ===== */
.express-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.express-card {
  background: var(--ivory);
  border: 1px solid var(--line-soft);
  padding: 36px 32px;
  transition: all 0.35s var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
}
.express-card:hover {
  border-color: var(--bordeaux);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.express-card-tag {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--ivory-warm);
}
.express-card h4 {
  margin-bottom: 16px;
  padding-right: 80px;
  font-size: 1.35rem;
}
.express-card p {
  font-size: 0.94rem;
  margin-bottom: 28px;
  line-height: 1.65;
  flex: 1;
}
.express-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.express-price-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--bordeaux);
  letter-spacing: -0.02em;
}
.express-price-meta {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 0.06em;
  text-align: right;
  line-height: 1.4;
}

/* ===== MEDIUM CARDS (servizi medi) ===== */
.medium-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.medium-card {
  background: var(--ivory);
  padding: 44px 40px;
  border-left: 3px solid var(--bordeaux);
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-sm);
}
.medium-card:hover {
  border-left-color: var(--gold);
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}
.medium-card .meta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--bordeaux);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}
.medium-card h3 { margin-bottom: 16px; font-size: 1.5rem; }
.medium-card p { margin-bottom: 0; font-size: 0.97rem; }

/* ===== AZIENDE B2B CARDS ===== */
.aziende-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.azienda-card {
  background: rgba(250, 247, 242, 0.04);
  padding: 44px 36px;
  border-left: 2px solid var(--gold);
  transition: all 0.35s var(--ease);
  position: relative;
}
.azienda-card:hover {
  background: rgba(250, 247, 242, 0.08);
  transform: translateX(6px);
  border-left-width: 4px;
}
.azienda-card h3 {
  margin-bottom: 16px;
  color: var(--ivory);
  font-size: 1.5rem;
}
.azienda-card .meta {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}
.azienda-card p {
  margin-bottom: 0;
  font-size: 0.96rem;
  color: rgba(250, 247, 242, 0.9);
}

/* ===== MACRO & MATTONI ===== */
.macro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.macro-card {
  background: var(--ivory);
  border: 1px solid var(--line-soft);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.macro-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--bordeaux);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.macro-card:hover::before { transform: scaleX(1); }
.macro-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.macro-meta {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: block;
}
.macro-card h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
.macro-card p {
  font-size: 0.95rem;
  margin-bottom: 28px;
  flex: 1;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: center;
}
.about-image {
  aspect-ratio: 4/5;
  background: linear-gradient(170deg, var(--ivory-soft) 0%, var(--ink) 110%);
  position: relative;
  overflow: hidden;
}
.about-image::after {
  content: 'W·T';
  position: absolute;
  bottom: 36px;
  right: 36px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 6rem;
  color: var(--gold);
  opacity: 0.35;
  line-height: 1;
  font-weight: 300;
}
.about-image-inner {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(201, 169, 97, 0.3);
}
.about-content > .eyebrow { margin-bottom: 24px; }
.about-content h2 { margin-bottom: 32px; }
.about-content p {
  margin-bottom: 24px;
  font-size: 1.02rem;
  line-height: 1.8;
}
.about-content p:first-of-type {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 32px;
}

/* ===== INTERNATIONAL ===== */
.international {
  background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory-soft) 100%);
  padding: 120px 0;
  position: relative;
  text-align: center;
}
.international-content {
  max-width: 920px;
  margin: 0 auto;
}
.international h2 {
  font-style: italic;
  color: var(--ink);
  margin-bottom: 16px;
}
.international .lead {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.4;
  margin: 24px auto 40px;
  max-width: 780px;
  font-weight: 400;
}
.international-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 72px;
  text-align: left;
}
.feature-item {
  padding: 32px 24px 0;
  border-top: 2px solid var(--gold);
}
.feature-item h4 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 1.3rem;
}
.feature-item p { font-size: 0.95rem; }

/* ===== FAQ ===== */
.faq-list {
  max-width: 920px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0;
  line-height: 1.3;
  transition: color 0.3s var(--ease);
}
.faq-question:hover { color: var(--bordeaux); }
.faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin-left: 24px;
  position: relative;
  border: 1px solid var(--ink);
  border-radius: 50%;
  transition: all 0.3s var(--ease);
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--ink);
  transition: all 0.3s var(--ease);
}
.faq-icon::before { width: 12px; height: 1px; transform: translate(-50%, -50%); }
.faq-icon::after { width: 1px; height: 12px; transform: translate(-50%, -50%); }
.faq-item.open .faq-icon { background: var(--bordeaux); border-color: var(--bordeaux); }
.faq-item.open .faq-icon::before, .faq-item.open .faq-icon::after { background: var(--ivory); }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}
.faq-item.open .faq-answer {
  max-height: 600px;
  padding-top: 20px;
}
.faq-answer p {
  font-size: 1rem;
  line-height: 1.75;
  max-width: 780px;
}

/* ===== CONTACT FORM ===== */
.contact-section {
  padding: 120px 0;
  background: var(--ivory-soft);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 24px; }
.contact-info .lead { margin-bottom: 40px; }
.contact-details {
  list-style: none;
  margin-top: 32px;
}
.contact-details li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
}
.contact-details .label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-details a { color: var(--ink); font-weight: 500; }

.contact-form {
  background: var(--ivory);
  padding: 48px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 24px; }
.form-group.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--ivory);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.3s var(--ease);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--bordeaux);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-body);
}
.form-group.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.form-group.checkbox input { width: 18px; height: 18px; margin-top: 3px; }
.form-group.checkbox label {
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.5;
}
.form-group.checkbox label a { color: var(--bordeaux); text-decoration: underline; }

/* ===== CTA FINAL ===== */
.cta-final {
  background: var(--ink);
  padding: 120px 0;
  text-align: center;
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(201, 169, 97, 0.1) 0%, transparent 65%);
  pointer-events: none;
}
.cta-final-content { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.cta-final h2 {
  color: var(--ivory);
  font-style: italic;
  margin-bottom: 28px;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}
.cta-final p {
  color: rgba(250, 247, 242, 0.92);
  font-size: 1.15rem;
  max-width: 580px;
  margin: 0 auto 48px;
}
.cta-final-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--ink-deep);
  padding: 80px 0 32px;
  color: rgba(250, 247, 242, 0.85);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 64px;
}
.footer h4 {
  color: var(--ivory);
  font-size: 0.95rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.footer-brand .brand {
  font-size: 1.4rem;
  color: var(--ivory);
  margin-bottom: 16px;
  display: block;
}
.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 24px;
  color: rgba(250, 247, 242, 0.8);
  max-width: 360px;
}
.footer-list { list-style: none; }
.footer-list li { margin-bottom: 12px; }
.footer-list a {
  color: rgba(250, 247, 242, 0.85);
  transition: color 0.3s;
  font-size: 0.92rem;
}
.footer-list a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(250, 247, 242, 0.7);
}
.footer-bottom a { color: rgba(250, 247, 242, 0.7); }
.footer-bottom a:hover { color: var(--gold); }
.footer-disclaimer {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(250, 247, 242, 0.06);
  font-size: 11px;
  line-height: 1.7;
  color: rgba(250, 247, 242, 0.6);
}

/* ===== CREDIBILITY BAR ===== */
.credibility-bar {
  background: var(--ink);
  color: var(--ivory);
  padding: 28px 0;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}
.credibility-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
  text-align: center;
}
.credibility-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.credibility-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.credibility-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.92);
}

/* ===== CASE STUDY HERO ===== */
.case-study-hero {
  background: var(--ivory-soft);
  padding: 120px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.case-study-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.case-study-meta-side {
  position: sticky;
  top: 100px;
}
.case-study-meta-side .eyebrow {
  margin-bottom: 24px;
}
.case-study-meta-side h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 32px;
  line-height: 1.2;
}
.case-study-meta-side .quote {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--bordeaux);
  padding-left: 20px;
  border-left: 2px solid var(--gold);
  line-height: 1.5;
}
.case-study-content h3 {
  font-size: 1.4rem;
  margin: 0 0 24px;
  color: var(--ink);
  font-weight: 500;
}
.case-study-content p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
  color: var(--ink-soft);
}
.case-study-list {
  list-style: none;
  margin: 24px 0;
}
.case-study-list li {
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  font-size: 0.97rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.case-study-list li:before {
  content: '·';
  position: absolute;
  left: 8px;
  top: 8px;
  color: var(--gold-deep);
  font-size: 1.6rem;
  font-weight: 700;
}
.case-study-footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid var(--ink);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.case-study-footer .meta-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.case-study-footer .meta-value {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  font-style: italic;
}

/* ===== 2050 VISION ===== */
.vision-2050 {
  background: var(--ink);
  color: var(--ivory);
  padding: 140px 0;
  position: relative;
}
.vision-2050::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--gold);
}
.vision-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.vision-content .eyebrow {
  color: var(--gold);
}
.vision-content .eyebrow::before {
  background: var(--gold);
}
.vision-content h2 {
  color: var(--ivory);
  margin-bottom: 24px;
}
.vision-content .lead {
  color: rgba(250, 247, 242, 0.92);
  font-size: 1.1rem;
  max-width: 720px;
  margin: 0 auto 64px;
}
.vision-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}
.vision-milestone {
  padding: 40px 28px;
  border-top: 1px solid rgba(201, 169, 97, 0.3);
  text-align: left;
}
.vision-milestone .year {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
}
.vision-milestone .description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(250, 247, 242, 0.95);
}

/* ===== GUARANTEES ===== */
.guarantees-section {
  padding: 140px 0;
  background: var(--ivory);
}
.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.guarantee-item {
  padding: 48px 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
  transition: background 0.3s var(--ease);
}
.guarantee-item:hover {
  background: var(--ivory-soft);
}
.guarantee-roman {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  font-style: italic;
  color: var(--gold-deep);
  line-height: 1;
  margin-bottom: 20px;
  display: block;
}
.guarantee-item h4 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.guarantee-item p {
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

/* ===== ABOUT REDESIGNED ===== */
.about-redesigned {
  padding: 140px 0;
  background: var(--ivory);
}
.about-content-narrow {
  max-width: 820px;
  margin: 0 auto;
}
.about-photo {
  margin: 32px 0 48px;
  max-width: 340px;
}
.about-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
  border: 1px solid rgba(201, 169, 97, 0.4);
  box-shadow: 0 12px 40px rgba(28, 42, 78, 0.12);
}
.about-content-narrow .lead-personal {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
  margin: 0 0 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.about-content-narrow h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  margin: 56px 0 20px;
  padding-top: 32px;
  border-top: 1px solid var(--line-soft);
  letter-spacing: -0.01em;
}
.about-content-narrow h3:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 32px;
}
.about-content-narrow p {
  font-size: 1.04rem;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

@media (max-width: 1024px) {
  .credibility-grid { grid-template-columns: repeat(3, 1fr); gap: 32px 16px; }
  .case-study-grid { grid-template-columns: 1fr; gap: 56px; }
  .case-study-meta-side { position: static; }
  .vision-timeline { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .guarantees-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .credibility-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .credibility-number { font-size: 1.3rem; }
  .credibility-label { font-size: 9px; }
  .case-study-footer { grid-template-columns: 1fr; gap: 20px; }
  .guarantee-item { padding: 36px 28px; }
  .vision-milestone { padding: 28px 20px; }
  .vision-milestone .year { font-size: 2.6rem; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== SEARCH BAR ===== */
.search-bar-wrapper {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 100;
}
.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ivory);
  border: 1.5px solid var(--ink);
  padding: 14px 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
}
.search-bar:focus-within {
  border-color: var(--bordeaux);
  box-shadow: var(--shadow-md);
}
.search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  letter-spacing: 0.01em;
}
.search-bar input::placeholder {
  color: var(--text-light);
  font-style: italic;
}
.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--ivory);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  max-height: 480px;
  overflow-y: auto;
  z-index: 1000;
}
.search-result-item {
  padding: 16px 24px;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
  transition: background 0.2s ease;
  display: block;
  text-decoration: none;
  color: var(--ink);
}
.search-result-item:hover {
  background: var(--ivory-soft);
  color: var(--bordeaux);
}
.search-result-item:last-child {
  border-bottom: none;
}
.search-result-item .title {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}
.search-result-item .meta {
  font-size: 12px;
  color: var(--text-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.search-no-results {
  padding: 24px;
  text-align: center;
  color: var(--text-light);
  font-style: italic;
}
@media (max-width: 768px) {
  .search-bar {
    padding: 12px 16px;
  }
  .search-bar input {
    font-size: 14px;
  }
}
.fade-up { animation: fadeUp 0.9s var(--ease-out) backwards; }
.fade-up.delay-1 { animation-delay: 0.12s; }
.fade-up.delay-2 { animation-delay: 0.24s; }
.fade-up.delay-3 { animation-delay: 0.36s; }
.fade-up.delay-4 { animation-delay: 0.48s; }

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .hero { padding: 140px 0 80px; }
  .pathway-grid, .express-grid, .macro-grid, .international-features, .medium-grid, .aziende-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .section, .pathways, .contact-section, .cta-final, .international { padding: 80px 0; }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    background: var(--ivory);
    flex-direction: column;
    padding: 32px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    border-bottom: 1px solid var(--line);
    align-items: flex-start;
  }
  .nav-links.open { transform: translateX(0); }
  .lang-switch { border-left: none; padding-left: 0; }
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 24px;
    position: relative;
  }
  .menu-toggle span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: var(--ink);
    transition: all 0.3s var(--ease);
  }
  .menu-toggle span:nth-child(1) { top: 4px; }
  .menu-toggle span:nth-child(2) { top: 11px; }
  .menu-toggle span:nth-child(3) { top: 18px; }
  .menu-toggle.open span:nth-child(1) { transform: rotate(45deg); top: 11px; }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: rotate(-45deg); top: 11px; }
  .container, .container-narrow { padding: 0 20px; }
  .contact-form { padding: 32px 24px; }
  .form-group.row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .cta-final-ctas { flex-direction: column; align-items: stretch; }
  .pathway-card, .macro-card { padding: 40px 28px; }
  .express-card { padding: 32px 24px; }
  .express-card h4 { padding-right: 60px; font-size: 1.2rem; }
  .azienda-card, .medium-card { padding: 36px 28px; }
}

/* ===== LEAD MAGNET FORM ===== */
.lead-form {
  background: rgba(250, 247, 242, 0.06);
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: 4px;
  padding: 36px;
}
.lead-form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.lead-form-row input {
  flex: 1;
  min-width: 200px;
  padding: 14px 18px;
  border: 1px solid rgba(250, 247, 242, 0.3);
  background: rgba(250, 247, 242, 0.95);
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-deep);
}
.lead-form-row input::placeholder { color: #8089a0; }
.lead-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(250, 247, 242, 0.9);
  cursor: pointer;
}
.lead-consent input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
@media (max-width: 600px) {
  .lead-form { padding: 24px; }
  .lead-form-row input { min-width: 100%; }
}
