.elementor-4863 .elementor-element.elementor-element-6b3bca9{--display:flex;}.elementor-4863 .elementor-element.elementor-element-354d236{width:100%;max-width:100%;margin:30px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;}body.elementor-page-4863:not(.elementor-motion-effects-element-type-background), body.elementor-page-4863 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#F7F7F7;}:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-354d236 */@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Montserrat:wght@400;500;600&display=swap');

.trevisani-team-page {
  --black: #111111;
  --white: #F7F7F7;
  --grey: rgba(17, 17, 17, 0.58);
  --soft: #f3eee6;
  --line: rgba(17, 17, 17, 0.18);
  --accent: #9E1B07;

  background: #F7F7F7;
  color: var(--black);
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 72px 24px 96px;
  box-sizing: border-box;
}

.trevisani-hero,
.team-section {
  max-width: 1480px;
  margin: 0 auto;
}

.eyebrow {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 13px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  margin: 0 0 18px;
}

/* títulos */
.trevisani-hero h1,
.team-section h2,
.team-content h3,
.hero-claim {
  font-family: 'Libre Baskerville', Georgia, serif !important;
}

/* título inicial */
.trevisani-hero h1 {
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.02;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
  max-width: 5000px;
  color: var(--accent);
}

/* texto introductorio */
.hero-text {
  max-width: 850px;
  margin-top: 42px;
  margin-left: auto;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--black);
}

.hero-text p {
  margin: 0 0 18px;
}

.hero-claim {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.08;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #200501;
  margin: 22px 0 0 !important;
}

/* sección equipo */
.team-section {
  margin-top: 58px;
}

.team-section h2 {
  font-size: clamp(28px, 3.1vw, 46px);
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  white-space: nowrap;
  margin: 0 0 42px;
  max-width: none;
  color: var(--accent);
}

/* grid 3 + 4 */
.team-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 64px 24px;
  align-items: start;
}

.team-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* primera fila: 3 */
.team-card:nth-child(1),
.team-card:nth-child(2),
.team-card:nth-child(3) {
  grid-column: span 4;
}

/* segunda fila: 4 */
.team-card:nth-child(4),
.team-card:nth-child(5),
.team-card:nth-child(6),
.team-card:nth-child(7) {
  grid-column: span 3;
}

/* imagen cuadrada base */
.team-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
  margin-bottom: 20px;
  transition: border-radius 1s ease;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(0.96) contrast(0.98);
  transition:
    transform 0.55s ease,
    filter 0.55s ease;
}

/* versión pc intacta: animación solo con hover */
.team-card:hover .team-image {
  border-radius: 50%;
}

.team-card:hover .team-image img {
  transform: scale(1.06);
  filter: saturate(1.05) contrast(1.02);
}

/* contenido alineado */
.team-content {
  display: grid;
  grid-template-rows: auto minmax(44px, auto) minmax(44px, auto) 1fr;
  align-content: start;
  align-items: start;
}

/* nombres */
.team-content h3 {
  font-size: clamp(24px, 1.8vw, 32px);
  line-height: 1.06;
  font-weight: 700;
  margin: 0;
  color: var(--accent);
  letter-spacing: 0;
}

/* cargo */
.role {
  min-height: 44px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 400;
  color: var(--black);
  margin: 8px 0 14px;
}

/* habilidades en píldoras */
.tags {
  min-height: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 18px;
}

.tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  padding: 6px 12px 5px;
  border: 1px solid var(--black);
  border-radius: 999px;
  background: transparent;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 10.5px;
  line-height: 1;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--black);
  white-space: nowrap;
}

/* párrafos */
.team-content > p:last-child {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 400;
  margin: 0;
  color: var(--black);
}

/* tablet */
@media (max-width: 1180px) {
  .trevisani-team-page {
    padding: 68px 22px 86px;
  }

  .trevisani-hero h1 {
    font-size: clamp(34px, 5.4vw, 52px);
    max-width: 100%;
  }

  .hero-text {
    margin-left: 0;
  }

  .team-section {
    margin-top: 50px;
  }

  .team-section h2 {
    white-space: normal;
    font-size: clamp(28px, 5vw, 42px);
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 58px 24px;
  }

  .team-card:nth-child(1),
  .team-card:nth-child(2),
  .team-card:nth-child(3),
  .team-card:nth-child(4),
  .team-card:nth-child(5),
  .team-card:nth-child(6),
  .team-card:nth-child(7) {
    grid-column: auto;
  }

  .team-content {
    grid-template-rows: auto auto auto 1fr;
  }

  .role,
  .tags {
    min-height: auto;
  }
}

/* móvil */
@media (max-width: 767px) {
  .trevisani-team-page {
    padding: 58px 18px 76px;
  }

  .trevisani-hero h1 {
    font-size: clamp(32px, 9vw, 46px);
    line-height: 1.04;
    max-width: 100%;
  }

  .hero-text {
    margin-top: 30px;
    font-size: 15px;
    line-height: 1.5;
  }

  .hero-claim {
    font-size: clamp(22px, 7vw, 30px);
    margin-top: 18px !important;
  }

  .team-section {
    margin-top: 46px;
  }

  .team-section h2 {
    font-size: clamp(26px, 8vw, 38px);
    line-height: 1;
    margin-bottom: 34px;
    white-space: normal;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .team-content h3 {
    font-size: 27px;
  }

  .role {
    font-size: 15px;
  }

  .tags {
    gap: 6px;
  }

  .tags span {
    font-size: 10px;
    padding: 6px 10px 5px;
  }

  .team-content > p:last-child {
    font-size: 15px;
    line-height: 1.45;
  }

  /* transición móvil más suave */
  .team-image {
    transition: border-radius 1.05s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .team-image img {
    transition:
      transform 1.05s cubic-bezier(0.22, 1, 0.36, 1),
      filter 1.05s cubic-bezier(0.22, 1, 0.36, 1);
  }

  /* en móvil evitamos que el hover táctil se quede pegado */
  .team-card:hover .team-image {
    border-radius: 8px;
  }

  .team-card:hover .team-image img {
    transform: scale(1);
    filter: saturate(0.96) contrast(0.98);
  }

  /* en móvil la animación se activa al aparecer en pantalla */
  .team-card.mobile-visible .team-image {
    border-radius: 50%;
  }

  .team-card.mobile-visible .team-image img {
    transform: scale(1.06);
    filter: saturate(1.05) contrast(1.02);
  }
}/* End custom CSS */